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 489 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
754 // Overwrites the given URL to use an HTML5 embed if possible. | 757 // Overwrites the given URL to use an HTML5 embed if possible. |
755 // An empty URL is returned if the URL is not overriden. | 758 // An empty URL is returned if the URL is not overriden. |
756 virtual WebURL overrideFlashEmbedWithHTML(const WebURL& url) { | 759 virtual WebURL overrideFlashEmbedWithHTML(const WebURL& url) { |
757 return WebURL(); | 760 return WebURL(); |
758 } | 761 } |
759 }; | 762 }; |
760 | 763 |
761 } // namespace blink | 764 } // namespace blink |
762 | 765 |
763 #endif | 766 #endif |
OLD | NEW |