Index: third_party/WebKit/Source/core/inspector/browser_protocol.json |
diff --git a/third_party/WebKit/Source/core/inspector/browser_protocol.json b/third_party/WebKit/Source/core/inspector/browser_protocol.json |
index 55929837c250c94c8a0a0cf6ad2bd2c6683aa10a..5a18a1c17ba50fe5eb7dd0ab3e6cf95aa5d0889f 100644 |
--- a/third_party/WebKit/Source/core/inspector/browser_protocol.json |
+++ b/third_party/WebKit/Source/core/inspector/browser_protocol.json |
@@ -829,6 +829,32 @@ |
{ "name": "budget", "type": "integer", "optional": true, "description": "If set, after this many virtual milliseconds have elapsed virtual time will be paused and a virtualTimeBudgetExpired event is sent." } |
], |
"experimental": true |
+ }, |
+ { |
+ "name": "enableBeginFrameControl", |
+ "description": "Enables a mode in which the browser's BeginFrameSource is disconnected from the window of the page and control over BeginFrames is given to the DevToolsClient. Only supported on Aura and assumes that the page does not share its window with other pages/tabs.", |
+ "experimental": true, |
+ "handlers": ["browser"] |
+ }, |
+ { |
+ "name": "disableBeginFrameControl", |
+ "description": "Gives back control over BeginFrames to the browser's BeginFrameSource.", |
+ "experimental": true, |
+ "handlers": ["browser"] |
+ }, |
+ { |
+ "name": "sendBeginFrame", |
+ "description": "Sends a BeginFrame to the page and forces it to draw a fresh frame. A frameCommitted event with the returned frameId be sent when the frame has reached the screen. Requires EnableBeginFrameControl.", |
+ "experimental": true, |
+ "parameters": [ |
+ { "name": "interval", "type": "number" }, |
+ { "name": "frameTime", "type": "number", "optional": true, "description": "If not set, the current time will be used." }, |
+ { "name": "deadline", "type": "number", "optional": true, "description": "If not set, the deadline will be calculated from the specified interval." } |
+ ], |
+ "returns": [ |
+ { "name": "frameId", "type": "string", "description": "A unique identifier for the frame that will be produced as a result of the BeginFrame message." } |
+ ], |
+ "handlers": ["browser"] |
} |
], |
"events": [ |
@@ -836,6 +862,24 @@ |
"name": "virtualTimeBudgetExpired", |
"experimental": true, |
"description": "Notification sent after the virual time budget for the current VirtualTimePolicy has run out." |
+ }, |
+ { |
+ "name": "setNeedsBeginFrame", |
+ "description": "Indicates whether the page is asking for another BeginFrame message.", |
+ "experimental": true, |
+ "parameters": [ |
+ { "name": "needsBeginFrame", "type": "boolean" } |
+ ], |
+ "handlers": ["browser"] |
+ }, |
+ { |
+ "name": "frameCommitted", |
+ "description": "Notification sent after the frame corresponding to a SendBeginFrame command has been committed to the screen.", |
+ "experimental": true, |
+ "parameters": [ |
+ { "name": "frameId", "type": "string" } |
+ ], |
+ "handlers": ["browser"] |
} |
] |
}, |