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

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: 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 unified diff | Download patch
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 239 matching lines...) Expand 10 before | Expand all | Expand 10 after
250 const WebFrameOwnerProperties&) {} 250 const WebFrameOwnerProperties&) {}
251 251
252 // Called when a watched CSS selector matches or stops matching. 252 // Called when a watched CSS selector matches or stops matching.
253 virtual void DidMatchCSS( 253 virtual void DidMatchCSS(
254 const WebVector<WebString>& newly_matching_selectors, 254 const WebVector<WebString>& newly_matching_selectors,
255 const WebVector<WebString>& stopped_matching_selectors) {} 255 const WebVector<WebString>& stopped_matching_selectors) {}
256 256
257 // Called the first time this frame is the target of a user gesture. 257 // Called the first time this frame is the target of a user gesture.
258 virtual void SetHasReceivedUserGesture() {} 258 virtual void SetHasReceivedUserGesture() {}
259 259
260 // Notification of the devtools id for this frame.
261 virtual void SetDevToolsFrameId(const blink::WebString& devtools_frame_id) {}
262
260 // Console messages ---------------------------------------------------- 263 // Console messages ----------------------------------------------------
261 264
262 // Whether or not we should report a detailed message for the given source. 265 // Whether or not we should report a detailed message for the given source.
263 virtual bool ShouldReportDetailedMessageForSource(const WebString& source) { 266 virtual bool ShouldReportDetailedMessageForSource(const WebString& source) {
264 return false; 267 return false;
265 } 268 }
266 269
267 // A new message was added to the console. 270 // A new message was added to the console.
268 virtual void DidAddMessageToConsole(const WebConsoleMessage&, 271 virtual void DidAddMessageToConsole(const WebConsoleMessage&,
269 const WebString& source_name, 272 const WebString& source_name,
(...skipping 489 matching lines...) Expand 10 before | Expand all | Expand 10 after
759 // Overwrites the given URL to use an HTML5 embed if possible. 762 // Overwrites the given URL to use an HTML5 embed if possible.
760 // An empty URL is returned if the URL is not overriden. 763 // An empty URL is returned if the URL is not overriden.
761 virtual WebURL OverrideFlashEmbedWithHTML(const WebURL& url) { 764 virtual WebURL OverrideFlashEmbedWithHTML(const WebURL& url) {
762 return WebURL(); 765 return WebURL();
763 } 766 }
764 }; 767 };
765 768
766 } // namespace blink 769 } // namespace blink
767 770
768 #endif 771 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698