Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(704)

Side by Side Diff: webkit/glue/chrome_client_impl.h

Issue 19535: Cleanup in webkit/glue/ (Closed)
Patch Set: Created 11 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « webkit/glue/back_forward_list_client_impl.cc ('k') | webkit/glue/cpp_bound_class.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « webkit/glue/back_forward_list_client_impl.cc ('k') | webkit/glue/cpp_bound_class.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698