| 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 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 258 const WebFrameOwnerProperties&) {} | 258 const WebFrameOwnerProperties&) {} |
| 259 | 259 |
| 260 // Called when a watched CSS selector matches or stops matching. | 260 // Called when a watched CSS selector matches or stops matching. |
| 261 virtual void DidMatchCSS( | 261 virtual void DidMatchCSS( |
| 262 const WebVector<WebString>& newly_matching_selectors, | 262 const WebVector<WebString>& newly_matching_selectors, |
| 263 const WebVector<WebString>& stopped_matching_selectors) {} | 263 const WebVector<WebString>& stopped_matching_selectors) {} |
| 264 | 264 |
| 265 // Called the first time this frame is the target of a user gesture. | 265 // Called the first time this frame is the target of a user gesture. |
| 266 virtual void SetHasReceivedUserGesture() {} | 266 virtual void SetHasReceivedUserGesture() {} |
| 267 | 267 |
| 268 // Notification of the devtools id for this frame. |
| 269 virtual void SetDevToolsFrameId(const blink::WebString& devtools_frame_id) {} |
| 270 |
| 268 // Console messages ---------------------------------------------------- | 271 // Console messages ---------------------------------------------------- |
| 269 | 272 |
| 270 // Whether or not we should report a detailed message for the given source. | 273 // Whether or not we should report a detailed message for the given source. |
| 271 virtual bool ShouldReportDetailedMessageForSource(const WebString& source) { | 274 virtual bool ShouldReportDetailedMessageForSource(const WebString& source) { |
| 272 return false; | 275 return false; |
| 273 } | 276 } |
| 274 | 277 |
| 275 // A new message was added to the console. | 278 // A new message was added to the console. |
| 276 virtual void DidAddMessageToConsole(const WebConsoleMessage&, | 279 virtual void DidAddMessageToConsole(const WebConsoleMessage&, |
| 277 const WebString& source_name, | 280 const WebString& source_name, |
| (...skipping 494 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 772 // Overwrites the given URL to use an HTML5 embed if possible. | 775 // Overwrites the given URL to use an HTML5 embed if possible. |
| 773 // An empty URL is returned if the URL is not overriden. | 776 // An empty URL is returned if the URL is not overriden. |
| 774 virtual WebURL OverrideFlashEmbedWithHTML(const WebURL& url) { | 777 virtual WebURL OverrideFlashEmbedWithHTML(const WebURL& url) { |
| 775 return WebURL(); | 778 return WebURL(); |
| 776 } | 779 } |
| 777 }; | 780 }; |
| 778 | 781 |
| 779 } // namespace blink | 782 } // namespace blink |
| 780 | 783 |
| 781 #endif | 784 #endif |
| OLD | NEW |