Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1330)

Unified Diff: third_party/WebKit/public/web/WebFrameClient.h

Issue 2830753004: Pipe the devTools FrameId from blink into the browser for headless (Closed)
Patch Set: Changes for Sami and creis@ Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/public/web/WebFrameClient.h
diff --git a/third_party/WebKit/public/web/WebFrameClient.h b/third_party/WebKit/public/web/WebFrameClient.h
index 7e9100daa5d77423088282c0b5f79b9fd746f9c6..66a70cd0e4ba69e012c233ae43ee9dbbd390773d 100644
--- a/third_party/WebKit/public/web/WebFrameClient.h
+++ b/third_party/WebKit/public/web/WebFrameClient.h
@@ -257,6 +257,9 @@ class BLINK_EXPORT WebFrameClient {
// Called the first time this frame is the target of a user gesture.
virtual void SetHasReceivedUserGesture() {}
+ // Notification of the devtools id for this frame.
+ virtual void SetDevToolsFrameId(const blink::WebString& devtools_frame_id) {}
dgozman 2017/04/25 22:04:48 I'd prefer content to ask for devtools frame id an
Charlie Reis 2017/04/26 19:52:55 I agree that it's better for content to ask, to ma
dgozman 2017/04/27 17:12:06 From my understanding, at the time of BindToWebFra
Charlie Reis 2017/04/27 18:58:02 I don't understand. BindToWebFrame is passed a Lo
Charlie Reis 2017/04/27 20:07:34 Wow, that's some complex initialization! So we ha
+
// Console messages ----------------------------------------------------
// Whether or not we should report a detailed message for the given source.

Powered by Google App Engine
This is Rietveld 408576698