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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 virtual void setToolTip(const WebCore::String& tooltip_text); | 104 virtual void setToolTip(const WebCore::String& tooltip_text); |
105 | 105 |
106 virtual void print(WebCore::Frame*); | 106 virtual void print(WebCore::Frame*); |
107 | 107 |
108 virtual void exceededDatabaseQuota(WebCore::Frame*, | 108 virtual void exceededDatabaseQuota(WebCore::Frame*, |
109 const WebCore::String& databaseName); | 109 const WebCore::String& databaseName); |
110 | 110 |
111 virtual void runFileChooser(const WebCore::String&, | 111 virtual void runFileChooser(const WebCore::String&, |
112 PassRefPtr<WebCore::FileChooser>); | 112 PassRefPtr<WebCore::FileChooser>); |
113 virtual void popupOpened(WebCore::FramelessScrollView* popup_view, | 113 virtual void popupOpened(WebCore::FramelessScrollView* popup_view, |
114 const WebCore::IntRect& bounds); | 114 const WebCore::IntRect& bounds, |
| 115 bool focus_on_show); |
115 virtual void setCursor(const WebCore::Cursor&); | 116 virtual void setCursor(const WebCore::Cursor&); |
116 | 117 |
117 private: | 118 private: |
118 WebViewImpl* webview_; // weak pointer | 119 WebViewImpl* webview_; // weak pointer |
119 bool toolbars_visible_; | 120 bool toolbars_visible_; |
120 bool statusbar_visible_; | 121 bool statusbar_visible_; |
121 bool scrollbars_visible_; | 122 bool scrollbars_visible_; |
122 bool menubar_visible_; | 123 bool menubar_visible_; |
123 bool resizable_; | 124 bool resizable_; |
124 }; | 125 }; |
125 | 126 |
126 #endif // WEBKIT_GLUE_CHROME_CLIENT_IMPL_H__ | 127 #endif // WEBKIT_GLUE_CHROME_CLIENT_IMPL_H__ |
127 | 128 |
OLD | NEW |