tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

nsLayoutDebuggingTools.h (815B)


      1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
      2 // vim:cindent:tabstop=4:expandtab:shiftwidth=4:
      3 /* This Source Code Form is subject to the terms of the Mozilla Public
      4 * License, v. 2.0. If a copy of the MPL was not distributed with this
      5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
      6 
      7 #ifndef nsLayoutDebuggingTools_h
      8 #define nsLayoutDebuggingTools_h
      9 
     10 #include "nsCOMPtr.h"
     11 #include "nsIDocShell.h"
     12 #include "nsILayoutDebuggingTools.h"
     13 
     14 class nsLayoutDebuggingTools : public nsILayoutDebuggingTools {
     15 public:
     16  nsLayoutDebuggingTools();
     17 
     18  NS_DECL_ISUPPORTS
     19 
     20  NS_DECL_NSILAYOUTDEBUGGINGTOOLS
     21 
     22 protected:
     23  virtual ~nsLayoutDebuggingTools();
     24 
     25  nsresult SetBoolPrefAndRefresh(const char* aPrefName, bool aNewValue);
     26 
     27  nsCOMPtr<nsIDocShell> mDocShell;
     28 };
     29 
     30 #endif