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 252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 Loading... |
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 |
OLD | NEW |