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 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
245 // marginheight. | 245 // marginheight. |
246 virtual void didChangeFrameOwnerProperties(WebFrame* childFrame, | 246 virtual void didChangeFrameOwnerProperties(WebFrame* childFrame, |
247 const WebFrameOwnerProperties&) {} | 247 const WebFrameOwnerProperties&) {} |
248 | 248 |
249 // Called when a watched CSS selector matches or stops matching. | 249 // Called when a watched CSS selector matches or stops matching. |
250 virtual void didMatchCSS( | 250 virtual void didMatchCSS( |
251 WebLocalFrame*, | 251 WebLocalFrame*, |
252 const WebVector<WebString>& newlyMatchingSelectors, | 252 const WebVector<WebString>& newlyMatchingSelectors, |
253 const WebVector<WebString>& stoppedMatchingSelectors) {} | 253 const WebVector<WebString>& stoppedMatchingSelectors) {} |
254 | 254 |
| 255 // Called the first time this frame is the target of a user gesture. |
| 256 virtual void setHasReceivedUserGesture() {} |
| 257 |
255 // Console messages ---------------------------------------------------- | 258 // Console messages ---------------------------------------------------- |
256 | 259 |
257 // Whether or not we should report a detailed message for the given source. | 260 // Whether or not we should report a detailed message for the given source. |
258 virtual bool shouldReportDetailedMessageForSource(const WebString& source) { | 261 virtual bool shouldReportDetailedMessageForSource(const WebString& source) { |
259 return false; | 262 return false; |
260 } | 263 } |
261 | 264 |
262 // A new message was added to the console. | 265 // A new message was added to the console. |
263 virtual void didAddMessageToConsole(const WebConsoleMessage&, | 266 virtual void didAddMessageToConsole(const WebConsoleMessage&, |
264 const WebString& sourceName, | 267 const WebString& sourceName, |
(...skipping 490 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
755 // Overwrites the given URL to use an HTML5 embed if possible. | 758 // Overwrites the given URL to use an HTML5 embed if possible. |
756 // An empty URL is returned if the URL is not overriden. | 759 // An empty URL is returned if the URL is not overriden. |
757 virtual WebURL overrideFlashEmbedWithHTML(const WebURL& url) { | 760 virtual WebURL overrideFlashEmbedWithHTML(const WebURL& url) { |
758 return WebURL(); | 761 return WebURL(); |
759 } | 762 } |
760 }; | 763 }; |
761 | 764 |
762 } // namespace blink | 765 } // namespace blink |
763 | 766 |
764 #endif | 767 #endif |
OLD | NEW |