| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 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 15 matching lines...) Expand all Loading... |
| 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 29 */ | 29 */ |
| 30 | 30 |
| 31 #ifndef ChromeClientImpl_h | 31 #ifndef ChromeClientImpl_h |
| 32 #define ChromeClientImpl_h | 32 #define ChromeClientImpl_h |
| 33 | 33 |
| 34 #include "ChromeClientChromium.h" | 34 #include "ChromeClientChromium.h" |
| 35 | 35 |
| 36 class WebViewImpl; | |
| 37 | |
| 38 namespace WebCore { | 36 namespace WebCore { |
| 39 class HTMLParserQuirks; | 37 class HTMLParserQuirks; |
| 40 class PopupContainer; | 38 class PopupContainer; |
| 41 class SecurityOrigin; | 39 class SecurityOrigin; |
| 42 struct WindowFeatures; | 40 struct WindowFeatures; |
| 43 } | 41 } |
| 44 | 42 |
| 45 namespace WebKit { | 43 namespace WebKit { |
| 44 class WebViewImpl; |
| 46 struct WebCursorInfo; | 45 struct WebCursorInfo; |
| 47 struct WebPopupMenuInfo; | 46 struct WebPopupMenuInfo; |
| 48 | 47 |
| 49 // Handles window-level notifications from WebCore on behalf of a WebView. | 48 // Handles window-level notifications from WebCore on behalf of a WebView. |
| 50 class ChromeClientImpl : public WebCore::ChromeClientChromium { | 49 class ChromeClientImpl : public WebCore::ChromeClientChromium { |
| 51 public: | 50 public: |
| 52 explicit ChromeClientImpl(WebViewImpl* webView); | 51 explicit ChromeClientImpl(WebViewImpl* webView); |
| 53 virtual ~ChromeClientImpl(); | 52 virtual ~ChromeClientImpl(); |
| 54 | 53 |
| 55 WebViewImpl* webview() const { return m_webView; } | 54 WebViewImpl* webview() const { return m_webView; } |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 146 bool m_scrollbarsVisible; | 145 bool m_scrollbarsVisible; |
| 147 bool m_menubarVisible; | 146 bool m_menubarVisible; |
| 148 bool m_resizable; | 147 bool m_resizable; |
| 149 // Set to true if the next SetCursor is to be ignored. | 148 // Set to true if the next SetCursor is to be ignored. |
| 150 bool m_ignoreNextSetCursor; | 149 bool m_ignoreNextSetCursor; |
| 151 }; | 150 }; |
| 152 | 151 |
| 153 } // namespace WebKit | 152 } // namespace WebKit |
| 154 | 153 |
| 155 #endif | 154 #endif |
| OLD | NEW |