| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef WEBKIT_GLUE_CHROME_CLIENT_IMPL_H__ | 5 #ifndef WEBKIT_GLUE_CHROME_CLIENT_IMPL_H__ |
| 6 #define WEBKIT_GLUE_CHROME_CLIENT_IMPL_H__ | 6 #define WEBKIT_GLUE_CHROME_CLIENT_IMPL_H__ |
| 7 | 7 |
| 8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 | 9 |
| 10 MSVC_PUSH_WARNING_LEVEL(0); | 10 MSVC_PUSH_WARNING_LEVEL(0); |
| 11 #include "ChromeClientChromium.h" | 11 #include "ChromeClientChromium.h" |
| 12 MSVC_POP_WARNING(); | 12 MSVC_POP_WARNING(); |
| 13 | 13 |
| 14 class WebCursor; | 14 class WebCursor; |
| 15 class WebViewImpl; | 15 class WebViewImpl; |
| 16 | 16 |
| 17 namespace WebCore { | 17 namespace WebCore { |
| 18 class SecurityOrigin; | 18 class SecurityOrigin; |
| 19 struct WindowFeatures; | 19 struct WindowFeatures; |
| 20 } | 20 } |
| 21 | 21 |
| 22 // Handles window-level notifications from WebCore on behalf of a WebView. | 22 // Handles window-level notifications from WebCore on behalf of a WebView. |
| 23 class ChromeClientImpl : public WebCore::ChromeClientChromium { | 23 class ChromeClientImpl : public WebCore::ChromeClientChromium { |
| 24 public: | 24 public: |
| 25 ChromeClientImpl(WebViewImpl* webview); | 25 ChromeClientImpl(WebViewImpl* webview); |
| 26 virtual ~ChromeClientImpl(); | 26 virtual ~ChromeClientImpl(); |
| 27 | 27 |
| 28 WebViewImpl* webview() { return webview_; } | 28 WebViewImpl* webview() const { return webview_; } |
| 29 | 29 |
| 30 virtual void chromeDestroyed(); | 30 virtual void chromeDestroyed(); |
| 31 | 31 |
| 32 virtual void setWindowRect(const WebCore::FloatRect&); | 32 virtual void setWindowRect(const WebCore::FloatRect&); |
| 33 virtual WebCore::FloatRect windowRect(); | 33 virtual WebCore::FloatRect windowRect(); |
| 34 | 34 |
| 35 virtual WebCore::FloatRect pageRect(); | 35 virtual WebCore::FloatRect pageRect(); |
| 36 | 36 |
| 37 virtual float scaleFactor(); | 37 virtual float scaleFactor(); |
| 38 | 38 |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 133 bool statusbar_visible_; | 133 bool statusbar_visible_; |
| 134 bool scrollbars_visible_; | 134 bool scrollbars_visible_; |
| 135 bool menubar_visible_; | 135 bool menubar_visible_; |
| 136 bool resizable_; | 136 bool resizable_; |
| 137 // Set to true if the next SetCursor is to be ignored. | 137 // Set to true if the next SetCursor is to be ignored. |
| 138 bool ignore_next_set_cursor_; | 138 bool ignore_next_set_cursor_; |
| 139 }; | 139 }; |
| 140 | 140 |
| 141 #endif // WEBKIT_GLUE_CHROME_CLIENT_IMPL_H__ | 141 #endif // WEBKIT_GLUE_CHROME_CLIENT_IMPL_H__ |
| 142 | 142 |
| OLD | NEW |