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); |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 virtual void exceededDatabaseQuota(WebCore::Frame*, | 113 virtual void exceededDatabaseQuota(WebCore::Frame*, |
114 const WebCore::String& databaseName); | 114 const WebCore::String& databaseName); |
115 | 115 |
116 virtual void runOpenPanel(WebCore::Frame*, | 116 virtual void runOpenPanel(WebCore::Frame*, |
117 PassRefPtr<WebCore::FileChooser>); | 117 PassRefPtr<WebCore::FileChooser>); |
118 virtual void popupOpened(WebCore::FramelessScrollView* popup_view, | 118 virtual void popupOpened(WebCore::FramelessScrollView* popup_view, |
119 const WebCore::IntRect& bounds, | 119 const WebCore::IntRect& bounds, |
120 bool focus_on_show); | 120 bool focus_on_show); |
121 | 121 |
122 void SetCursor(const WebCursor& cursor); | 122 void SetCursor(const WebCursor& cursor); |
| 123 void SetCursorForPlugin(const WebCursor& cursor); |
123 | 124 |
124 virtual void enableSuddenTermination(); | 125 virtual void enableSuddenTermination(); |
125 virtual void disableSuddenTermination(); | 126 virtual void disableSuddenTermination(); |
126 | 127 |
127 virtual void formStateDidChange(const WebCore::Node*); | 128 virtual void formStateDidChange(const WebCore::Node*); |
128 | 129 |
129 private: | 130 private: |
130 WebViewImpl* webview_; // weak pointer | 131 WebViewImpl* webview_; // weak pointer |
131 bool toolbars_visible_; | 132 bool toolbars_visible_; |
132 bool statusbar_visible_; | 133 bool statusbar_visible_; |
133 bool scrollbars_visible_; | 134 bool scrollbars_visible_; |
134 bool menubar_visible_; | 135 bool menubar_visible_; |
135 bool resizable_; | 136 bool resizable_; |
| 137 // Set to true if the next SetCursor is to be ignored. |
| 138 bool ignore_next_set_cursor_; |
136 }; | 139 }; |
137 | 140 |
138 #endif // WEBKIT_GLUE_CHROME_CLIENT_IMPL_H__ | 141 #endif // WEBKIT_GLUE_CHROME_CLIENT_IMPL_H__ |
139 | 142 |
OLD | NEW |