| 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) {} |
| 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 Loading... |
| 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 |
| OLD | NEW |