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

Unified Diff: third_party/WebKit/Source/web/LocalFrameClientImpl.cpp

Issue 2830753004: Pipe the devTools FrameId from blink into the browser for headless (Closed)
Patch Set: Changes for dgozman@ 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/Source/web/LocalFrameClientImpl.cpp
diff --git a/third_party/WebKit/Source/web/LocalFrameClientImpl.cpp b/third_party/WebKit/Source/web/LocalFrameClientImpl.cpp
index 764f537317afaa6be941fc4ad30c19d32fad473e..b0aa651fbae6774510cd984094691a70ff10f69b 100644
--- a/third_party/WebKit/Source/web/LocalFrameClientImpl.cpp
+++ b/third_party/WebKit/Source/web/LocalFrameClientImpl.cpp
@@ -992,6 +992,11 @@ void LocalFrameClientImpl::SetHasReceivedUserGesture(bool received_previously) {
autofill_client->UserGestureObserved();
}
+void LocalFrameClientImpl::SetDevToolsFrameId(const String& devtools_frame_id) {
+ if (web_frame_->Client())
+ web_frame_->Client()->SetDevToolsFrameId(devtools_frame_id);
+}
+
void LocalFrameClientImpl::AbortClientNavigation() {
if (web_frame_->Client())
web_frame_->Client()->AbortClientNavigation();

Powered by Google App Engine
This is Rietveld 408576698