Dactyloidae/layout/tools/layout-debug/src/nsILayoutDebuggingTools.idl
Moonchild 2f117eecaa Issue #1656 - Remove more vim control lines.
Vim control lines were re-introduced or not entirely cleaned up.
This nukes them again.
Removing from embedding, extensions, gfx, hal, ipc, layout, mailnews,
media and memory. More to come.
2023-05-05 22:57:19 +08:00

51 lines
1.4 KiB
Text

/* -*- Mode: IDL; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "nsISupports.idl"
interface mozIDOMWindow;
/**
* A series of hooks into non-IDL-ized layout code to allow all the
* layout debugging functions to be used from chrome.
*/
[scriptable, uuid(f336d8d3-9721-4ad3-85d0-a7018c0a3383)]
interface nsILayoutDebuggingTools : nsISupports
{
/*
* Initialize debugger object to act on a docshell.
*/
void init(in mozIDOMWindow win);
/*
* Notify the debugger that the docshell has been told to load a new
* URI.
*/
void newURILoaded();
/* Toggle various debugging states */
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;
/* Run various tests. */
void dumpWebShells();
void dumpContent();
void dumpFrames();
void dumpViews();
void dumpStyleSheets();
void dumpStyleContexts();
void dumpReflowStats();
};