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

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

Issue 160084: Chaos geolocation demo, non-WebKit part. Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 11 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « webkit/chaos/V8CustomChaosPositionCallback.cpp ('k') | webkit/glue/chrome_client_impl.cc » ('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 #include "base/logging.h" 9 #include "base/logging.h"
10 10
11 MSVC_PUSH_WARNING_LEVEL(0); 11 MSVC_PUSH_WARNING_LEVEL(0);
12 #include "ChromeClientChromium.h" 12 #include "ChromeClientChromium.h"
13 MSVC_POP_WARNING(); 13 MSVC_POP_WARNING();
14 14
15 class WebViewImpl; 15 class WebViewImpl;
16 class ChooseGeolocationProviderCallback;
16 17
17 namespace WebCore { 18 namespace WebCore {
18 class HTMLParserQuirks; 19 class HTMLParserQuirks;
20 class KURL;
19 class PopupContainer; 21 class PopupContainer;
20 class SecurityOrigin; 22 class SecurityOrigin;
21 struct WindowFeatures; 23 struct WindowFeatures;
22 } 24 }
23 25
24 namespace WebKit { 26 namespace WebKit {
25 struct WebCursorInfo; 27 struct WebCursorInfo;
26 struct WebPopupMenuInfo; 28 struct WebPopupMenuInfo;
27 } 29 }
28 30
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 bool activatable, 142 bool activatable,
141 bool handle_externally); 143 bool handle_externally);
142 144
143 void SetCursor(const WebKit::WebCursorInfo& cursor); 145 void SetCursor(const WebKit::WebCursorInfo& cursor);
144 void SetCursorForPlugin(const WebKit::WebCursorInfo& cursor); 146 void SetCursorForPlugin(const WebKit::WebCursorInfo& cursor);
145 147
146 virtual void formStateDidChange(const WebCore::Node*); 148 virtual void formStateDidChange(const WebCore::Node*);
147 149
148 virtual PassOwnPtr<WebCore::HTMLParserQuirks> createHTMLParserQuirks() { retur n 0; } 150 virtual PassOwnPtr<WebCore::HTMLParserQuirks> createHTMLParserQuirks() { retur n 0; }
149 151
152 virtual void chooseGeolocationProvider(
153 ChooseGeolocationProviderCallback *geolocation_provider_callback,
154 const WebCore::KURL &url);
155
150 private: 156 private:
151 void GetPopupMenuInfo(WebCore::PopupContainer* popup_container, 157 void GetPopupMenuInfo(WebCore::PopupContainer* popup_container,
152 WebKit::WebPopupMenuInfo* info); 158 WebKit::WebPopupMenuInfo* info);
153 159
154 WebViewImpl* webview_; // weak pointer 160 WebViewImpl* webview_; // weak pointer
155 bool toolbars_visible_; 161 bool toolbars_visible_;
156 bool statusbar_visible_; 162 bool statusbar_visible_;
157 bool scrollbars_visible_; 163 bool scrollbars_visible_;
158 bool menubar_visible_; 164 bool menubar_visible_;
159 bool resizable_; 165 bool resizable_;
160 // Set to true if the next SetCursor is to be ignored. 166 // Set to true if the next SetCursor is to be ignored.
161 bool ignore_next_set_cursor_; 167 bool ignore_next_set_cursor_;
162 }; 168 };
163 169
164 #endif // WEBKIT_GLUE_CHROME_CLIENT_IMPL_H_ 170 #endif // WEBKIT_GLUE_CHROME_CLIENT_IMPL_H_
OLDNEW
« no previous file with comments | « webkit/chaos/V8CustomChaosPositionCallback.cpp ('k') | webkit/glue/chrome_client_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698