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 #pragma warning(push, 0) | 8 #pragma warning(push, 0) |
9 #include "ChromeClientWin.h" | 9 #include "ChromeClientChromium.h" |
10 #pragma warning(pop) | 10 #pragma warning(pop) |
11 | 11 |
12 class WebViewImpl; | 12 class WebViewImpl; |
13 namespace WebCore { | 13 namespace WebCore { |
14 class SecurityOrigin; | 14 class SecurityOrigin; |
15 struct WindowFeatures; | 15 struct WindowFeatures; |
16 } | 16 } |
17 | 17 |
18 // Handles window-level notifications from WebCore on behalf of a WebView. | 18 // Handles window-level notifications from WebCore on behalf of a WebView. |
19 class ChromeClientImpl : public WebCore::ChromeClientWin { | 19 class ChromeClientImpl : public WebCore::ChromeClientChromium { |
20 public: | 20 public: |
21 ChromeClientImpl(WebViewImpl* webview); | 21 ChromeClientImpl(WebViewImpl* webview); |
22 virtual ~ChromeClientImpl(); | 22 virtual ~ChromeClientImpl(); |
23 | 23 |
24 virtual void chromeDestroyed(); | 24 virtual void chromeDestroyed(); |
25 | 25 |
26 virtual void setWindowRect(const WebCore::FloatRect&); | 26 virtual void setWindowRect(const WebCore::FloatRect&); |
27 virtual WebCore::FloatRect windowRect(); | 27 virtual WebCore::FloatRect windowRect(); |
28 | 28 |
29 virtual WebCore::FloatRect pageRect(); | 29 virtual WebCore::FloatRect pageRect(); |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 WebViewImpl* webview_; // weak pointer | 104 WebViewImpl* webview_; // weak pointer |
105 bool toolbars_visible_; | 105 bool toolbars_visible_; |
106 bool statusbar_visible_; | 106 bool statusbar_visible_; |
107 bool scrollbars_visible_; | 107 bool scrollbars_visible_; |
108 bool menubar_visible_; | 108 bool menubar_visible_; |
109 bool resizable_; | 109 bool resizable_; |
110 }; | 110 }; |
111 | 111 |
112 #endif // WEBKIT_GLUE_CHROME_CLIENT_IMPL_H__ | 112 #endif // WEBKIT_GLUE_CHROME_CLIENT_IMPL_H__ |
113 | 113 |
OLD | NEW |