Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 Loading... | |
| 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) {} | |
|
dgozman
2017/04/25 22:04:48
I'd prefer content to ask for devtools frame id an
Charlie Reis
2017/04/26 19:52:55
I agree that it's better for content to ask, to ma
dgozman
2017/04/27 17:12:06
From my understanding, at the time of BindToWebFra
Charlie Reis
2017/04/27 18:58:02
I don't understand. BindToWebFrame is passed a Lo
Charlie Reis
2017/04/27 20:07:34
Wow, that's some complex initialization! So we ha
| |
| 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 496 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 766 // Overwrites the given URL to use an HTML5 embed if possible. | 769 // Overwrites the given URL to use an HTML5 embed if possible. |
| 767 // An empty URL is returned if the URL is not overriden. | 770 // An empty URL is returned if the URL is not overriden. |
| 768 virtual WebURL OverrideFlashEmbedWithHTML(const WebURL& url) { | 771 virtual WebURL OverrideFlashEmbedWithHTML(const WebURL& url) { |
| 769 return WebURL(); | 772 return WebURL(); |
| 770 } | 773 } |
| 771 }; | 774 }; |
| 772 | 775 |
| 773 } // namespace blink | 776 } // namespace blink |
| 774 | 777 |
| 775 #endif | 778 #endif |
| OLD | NEW |