| 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 739 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 750 // Returns the current visibility of the WebFrame. | 750 // Returns the current visibility of the WebFrame. |
| 751 virtual WebPageVisibilityState visibilityState() const { | 751 virtual WebPageVisibilityState visibilityState() const { |
| 752 return WebPageVisibilityStateVisible; | 752 return WebPageVisibilityStateVisible; |
| 753 } | 753 } |
| 754 | 754 |
| 755 // Overwrites the given URL to use an HTML5 embed if possible. | 755 // Overwrites the given URL to use an HTML5 embed if possible. |
| 756 // An empty URL is returned if the URL is not overriden. | 756 // An empty URL is returned if the URL is not overriden. |
| 757 virtual WebURL overrideFlashEmbedWithHTML(const WebURL& url) { | 757 virtual WebURL overrideFlashEmbedWithHTML(const WebURL& url) { |
| 758 return WebURL(); | 758 return WebURL(); |
| 759 } | 759 } |
| 760 |
| 761 // Called when a left mouse down or a gesture tap event has been handled in |
| 762 // |node| inside the frame. |node| is not null. |
| 763 virtual void didCompleteLeftMouseDownOrGestureTapInNode( |
| 764 const blink::WebNode& node) {} |
| 760 }; | 765 }; |
| 761 | 766 |
| 762 } // namespace blink | 767 } // namespace blink |
| 763 | 768 |
| 764 #endif | 769 #endif |
| OLD | NEW |