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

Side by Side Diff: third_party/WebKit/public/web/WebFrameClient.h

Issue 2830753004: Pipe the devTools FrameId from blink into the browser for headless (Closed)
Patch Set: Rebased Created 3 years, 7 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 unified diff | Download patch
« no previous file with comments | « third_party/WebKit/Source/web/LocalFrameClientImpl.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011, 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2011, 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 const WebFrameOwnerProperties&) {} 263 const WebFrameOwnerProperties&) {}
264 264
265 // Called when a watched CSS selector matches or stops matching. 265 // Called when a watched CSS selector matches or stops matching.
266 virtual void DidMatchCSS( 266 virtual void DidMatchCSS(
267 const WebVector<WebString>& newly_matching_selectors, 267 const WebVector<WebString>& newly_matching_selectors,
268 const WebVector<WebString>& stopped_matching_selectors) {} 268 const WebVector<WebString>& stopped_matching_selectors) {}
269 269
270 // Called the first time this frame is the target of a user gesture. 270 // Called the first time this frame is the target of a user gesture.
271 virtual void SetHasReceivedUserGesture() {} 271 virtual void SetHasReceivedUserGesture() {}
272 272
273 // Notification of the devtools id for this frame.
274 virtual void SetDevToolsFrameId(const blink::WebString& devtools_frame_id) {}
275
273 // Console messages ---------------------------------------------------- 276 // Console messages ----------------------------------------------------
274 277
275 // Whether or not we should report a detailed message for the given source. 278 // Whether or not we should report a detailed message for the given source.
276 virtual bool ShouldReportDetailedMessageForSource(const WebString& source) { 279 virtual bool ShouldReportDetailedMessageForSource(const WebString& source) {
277 return false; 280 return false;
278 } 281 }
279 282
280 // A new message was added to the console. 283 // A new message was added to the console.
281 virtual void DidAddMessageToConsole(const WebConsoleMessage&, 284 virtual void DidAddMessageToConsole(const WebConsoleMessage&,
282 const WebString& source_name, 285 const WebString& source_name,
(...skipping 492 matching lines...) Expand 10 before | Expand all | Expand 10 after
775 // Overwrites the given URL to use an HTML5 embed if possible. 778 // Overwrites the given URL to use an HTML5 embed if possible.
776 // An empty URL is returned if the URL is not overriden. 779 // An empty URL is returned if the URL is not overriden.
777 virtual WebURL OverrideFlashEmbedWithHTML(const WebURL& url) { 780 virtual WebURL OverrideFlashEmbedWithHTML(const WebURL& url) {
778 return WebURL(); 781 return WebURL();
779 } 782 }
780 }; 783 };
781 784
782 } // namespace blink 785 } // namespace blink
783 786
784 #endif 787 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/LocalFrameClientImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698