Chrome Remote Interface v0.0.5 ChromeRemoteInterface.RPC.Overlay View Source
This domain provides various functionality related to drawing atop the inspected page.
Link to this section Summary
Functions
Disables domain notifications
Enables domain notifications
For testing
Hides any highlight
Highlights owner element of the frame with given id
Highlights DOM node with given id or with the given JavaScript object wrapper. Either nodeId or objectId must be specified
Highlights given quad. Coordinates are absolute with respect to the main frame viewport
Highlights given rectangle. Coordinates are absolute with respect to the main frame viewport
Enters the ‘inspect’ mode. In this mode, elements that user is hovering over are highlighted. Backend then generates ‘inspectNodeRequested’ event upon element selection
Requests that backend shows debug borders on layers
Requests that backend shows the FPS counter
Requests that backend shows paint rectangles
Requests that backend shows scroll bottleneck rects
Paints viewport size upon main frame resize
Link to this section Functions
Disables domain notifications.
Parameters:
Enables domain notifications.
Parameters:
For testing.
Parameters:
nodeId -
Hides any highlight.
Parameters:
Highlights owner element of the frame with given id.
Parameters:
frameId -
Highlights DOM node with given id or with the given JavaScript object wrapper. Either nodeId or objectId must be specified.
Parameters:
highlightConfig -
Highlights given quad. Coordinates are absolute with respect to the main frame viewport.
Parameters:
quad -
Highlights given rectangle. Coordinates are absolute with respect to the main frame viewport.
Parameters:
x -
Enters the ‘inspect’ mode. In this mode, elements that user is hovering over are highlighted. Backend then generates ‘inspectNodeRequested’ event upon element selection.
Parameters:
mode - enabled == false
.
Parameters:
message -
Requests that backend shows debug borders on layers
Parameters:
show -
Requests that backend shows the FPS counter
Parameters:
show -
Requests that backend shows paint rectangles
Parameters:
result -
Requests that backend shows scroll bottleneck rects
Parameters:
show -
Paints viewport size upon main frame resize.
Parameters:
show -
Parameters:
suspended -