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

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: Add include for msvc 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 f6eec0f92a08f1a27951715857e5a59f366b51fb..44c51c4c8377b088442bc4042d596d38249d7684 100644
--- a/third_party/WebKit/Source/web/LocalFrameClientImpl.cpp
+++ b/third_party/WebKit/Source/web/LocalFrameClientImpl.cpp
@@ -985,6 +985,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