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

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 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/Source/web/LocalFrameClientImpl.cpp
diff --git a/third_party/WebKit/Source/web/LocalFrameClientImpl.cpp b/third_party/WebKit/Source/web/LocalFrameClientImpl.cpp
index 698387f6aa7d6434a44ed3ac9d5f4eb288947e32..9b474702bbaae5d087485571ac91a86cdc44915f 100644
--- a/third_party/WebKit/Source/web/LocalFrameClientImpl.cpp
+++ b/third_party/WebKit/Source/web/LocalFrameClientImpl.cpp
@@ -993,6 +993,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