Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes
nsLayoutDebuggingTools Class Reference

#include <nsLayoutDebuggingTools.h>

Inheritance diagram for nsLayoutDebuggingTools:
Inheritance graph
[legend]
Collaboration diagram for nsLayoutDebuggingTools:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 nsLayoutDebuggingTools ()
virtual ~nsLayoutDebuggingTools ()
void init (in nsIDOMWindow win)
void newURILoaded ()
void dumpWebShells ()
void dumpContent ()
void dumpFrames ()
void dumpViews ()
void dumpStyleSheets ()
void dumpStyleContexts ()
void dumpReflowStats ()

Public Attributes

attribute boolean visualDebugging
attribute boolean visualEventDebugging
attribute boolean paintFlashing
attribute boolean paintDumping
attribute boolean invalidateDumping
attribute boolean eventDumping
attribute boolean motionEventDumping
attribute boolean crossingEventDumping
attribute boolean reflowCounts

Protected Member Functions

void ForceRefresh ()
nsresult GetBoolPref (const char *aPrefName, PRBool *aValue)
nsresult SetBoolPrefAndRefresh (const char *aPrefName, PRBool aNewValue)

Protected Attributes

nsCOMPtr< nsIDocShellmDocShell
nsCOMPtr< nsIPrefmPrefs
PRBool mEditorMode
PRBool mVisualDebugging
PRBool mVisualEventDebugging
PRBool mPaintFlashing
PRBool mPaintDumping
PRBool mInvalidateDumping
PRBool mEventDumping
PRBool mMotionEventDumping
PRBool mCrossingEventDumping
PRBool mReflowCounts

Detailed Description

Definition at line 44 of file nsLayoutDebuggingTools.h.


Constructor & Destructor Documentation

Definition at line 143 of file nsLayoutDebuggingTools.cpp.

{
}

Member Function Documentation

Definition at line 557 of file nsLayoutDebuggingTools.cpp.

{
    nsCOMPtr<nsIViewManager> vm(view_manager(mDocShell));
    if (!vm)
        return;
    nsIView* root = nsnull;
    vm->GetRootView(root);
    if (root) {
        vm->UpdateView(root, NS_VMREFRESH_IMMEDIATE);
    }
}

Here is the call graph for this function:

Here is the caller graph for this function:

nsresult nsLayoutDebuggingTools::GetBoolPref ( const char *  aPrefName,
PRBool aValue 
) [protected]

Definition at line 584 of file nsLayoutDebuggingTools.cpp.

{
    NS_ENSURE_TRUE(mPrefs && aPrefName, NS_OK);

    mPrefs->GetBoolPref(aPrefName, aValue);

    return NS_OK;
}
nsresult nsLayoutDebuggingTools::SetBoolPrefAndRefresh ( const char *  aPrefName,
PRBool  aNewValue 
) [protected]

Definition at line 570 of file nsLayoutDebuggingTools.cpp.

{
    NS_ENSURE_TRUE(mPrefs && aPrefName, NS_OK);

    mPrefs->SetBoolPref(aPrefName, aNewVal);
    mPrefs->SavePrefFile(nsnull);

    ForceRefresh();

    return NS_OK;
}

Here is the call graph for this function:


Member Data Documentation

Definition at line 71 of file nsILayoutDebuggingTools.idl.

Definition at line 69 of file nsILayoutDebuggingTools.idl.

Definition at line 68 of file nsILayoutDebuggingTools.idl.

Definition at line 70 of file nsLayoutDebuggingTools.h.

Definition at line 59 of file nsLayoutDebuggingTools.h.

Definition at line 62 of file nsLayoutDebuggingTools.h.

Definition at line 68 of file nsLayoutDebuggingTools.h.

Definition at line 67 of file nsLayoutDebuggingTools.h.

Definition at line 69 of file nsLayoutDebuggingTools.h.

Definition at line 70 of file nsILayoutDebuggingTools.idl.

Definition at line 66 of file nsLayoutDebuggingTools.h.

Definition at line 65 of file nsLayoutDebuggingTools.h.

Definition at line 60 of file nsLayoutDebuggingTools.h.

Definition at line 71 of file nsLayoutDebuggingTools.h.

Definition at line 63 of file nsLayoutDebuggingTools.h.

Definition at line 64 of file nsLayoutDebuggingTools.h.

Definition at line 67 of file nsILayoutDebuggingTools.idl.

Definition at line 66 of file nsILayoutDebuggingTools.idl.

Definition at line 72 of file nsILayoutDebuggingTools.idl.

Definition at line 64 of file nsILayoutDebuggingTools.idl.

Definition at line 65 of file nsILayoutDebuggingTools.idl.


The documentation for this class was generated from the following files: