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

Side by Side Diff: chrome/renderer/render_view.h

Issue 5612005: Client-based geolocation support. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase on trunk Created 10 years 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
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 CHROME_RENDERER_RENDER_VIEW_H_ 5 #ifndef CHROME_RENDERER_RENDER_VIEW_H_
6 #define CHROME_RENDERER_RENDER_VIEW_H_ 6 #define CHROME_RENDERER_RENDER_VIEW_H_
7 #pragma once 7 #pragma once
8 8
9 #include <deque> 9 #include <deque>
10 #include <map> 10 #include <map>
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 class AutoFillHelper; 57 class AutoFillHelper;
58 class CustomMenuListener; 58 class CustomMenuListener;
59 class DictionaryValue; 59 class DictionaryValue;
60 class DeviceOrientationDispatcher; 60 class DeviceOrientationDispatcher;
61 class DevToolsAgent; 61 class DevToolsAgent;
62 class DevToolsClient; 62 class DevToolsClient;
63 class DomAutomationController; 63 class DomAutomationController;
64 class DOMUIBindings; 64 class DOMUIBindings;
65 class ExternalHostBindings; 65 class ExternalHostBindings;
66 class FilePath; 66 class FilePath;
67 class GeolocationDispatcher;
67 class GeolocationDispatcherOld; 68 class GeolocationDispatcherOld;
68 class GURL; 69 class GURL;
69 class ListValue; 70 class ListValue;
70 class NavigationState; 71 class NavigationState;
71 class NotificationProvider; 72 class NotificationProvider;
72 class PageClickTracker; 73 class PageClickTracker;
73 class PasswordAutocompleteManager; 74 class PasswordAutocompleteManager;
74 class PepperDeviceTest; 75 class PepperDeviceTest;
75 class PluginGroup; 76 class PluginGroup;
76 class PrintWebViewHelper; 77 class PrintWebViewHelper;
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 114
114 namespace WebKit { 115 namespace WebKit {
115 class WebAccessibilityCache; 116 class WebAccessibilityCache;
116 class WebAccessibilityObject; 117 class WebAccessibilityObject;
117 class WebApplicationCacheHost; 118 class WebApplicationCacheHost;
118 class WebApplicationCacheHostClient; 119 class WebApplicationCacheHostClient;
119 class WebDataSource; 120 class WebDataSource;
120 class WebDocument; 121 class WebDocument;
121 class WebDragData; 122 class WebDragData;
122 class WebFrame; 123 class WebFrame;
124 class WebGeolocationClient;
123 class WebGeolocationServiceInterface; 125 class WebGeolocationServiceInterface;
124 class WebImage; 126 class WebImage;
125 class WebInputElement; 127 class WebInputElement;
126 class WebKeyboardEvent; 128 class WebKeyboardEvent;
127 class WebMediaPlayer; 129 class WebMediaPlayer;
128 class WebMediaPlayerClient; 130 class WebMediaPlayerClient;
129 class WebMouseEvent; 131 class WebMouseEvent;
130 class WebNode; 132 class WebNode;
131 class WebPlugin; 133 class WebPlugin;
132 class WebSpeechInputController; 134 class WebSpeechInputController;
(...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after
475 const WebKit::WebString& label, 477 const WebKit::WebString& label,
476 int unique_id, 478 int unique_id,
477 unsigned index); 479 unsigned index);
478 virtual void didSelectAutoFillSuggestion(const WebKit::WebNode& node, 480 virtual void didSelectAutoFillSuggestion(const WebKit::WebNode& node,
479 const WebKit::WebString& value, 481 const WebKit::WebString& value,
480 const WebKit::WebString& label, 482 const WebKit::WebString& label,
481 int unique_id); 483 int unique_id);
482 virtual void didClearAutoFillSelection(const WebKit::WebNode& node); 484 virtual void didClearAutoFillSelection(const WebKit::WebNode& node);
483 virtual void didAcceptAutocompleteSuggestion( 485 virtual void didAcceptAutocompleteSuggestion(
484 const WebKit::WebInputElement& element); 486 const WebKit::WebInputElement& element);
487 #if defined(ENABLE_CLIENT_BASED_GEOLOCATION)
488 virtual WebKit::WebGeolocationClient* geolocationClient();
489 #else
485 virtual WebKit::WebGeolocationService* geolocationService(); 490 virtual WebKit::WebGeolocationService* geolocationService();
491 #endif
486 virtual WebKit::WebSpeechInputController* speechInputController( 492 virtual WebKit::WebSpeechInputController* speechInputController(
487 WebKit::WebSpeechInputListener* listener); 493 WebKit::WebSpeechInputListener* listener);
488 virtual WebKit::WebDeviceOrientationClient* deviceOrientationClient(); 494 virtual WebKit::WebDeviceOrientationClient* deviceOrientationClient();
489 virtual void zoomLimitsChanged(double minimum_level, double maximum_level); 495 virtual void zoomLimitsChanged(double minimum_level, double maximum_level);
490 virtual void zoomLevelChanged(); 496 virtual void zoomLevelChanged();
491 497
492 // WebKit::WebFrameClient implementation ------------------------------------- 498 // WebKit::WebFrameClient implementation -------------------------------------
493 499
494 virtual WebKit::WebPlugin* createPlugin( 500 virtual WebKit::WebPlugin* createPlugin(
495 WebKit::WebFrame* frame, 501 WebKit::WebFrame* frame,
(...skipping 871 matching lines...) Expand 10 before | Expand all | Expand 10 after
1367 // Holds a reference to the service which provides desktop notifications. 1373 // Holds a reference to the service which provides desktop notifications.
1368 scoped_ptr<NotificationProvider> notification_provider_; 1374 scoped_ptr<NotificationProvider> notification_provider_;
1369 1375
1370 // PrintWebViewHelper handles printing. Note that this object is constructed 1376 // PrintWebViewHelper handles printing. Note that this object is constructed
1371 // when printing for the first time but only destroyed with the RenderView. 1377 // when printing for the first time but only destroyed with the RenderView.
1372 scoped_ptr<PrintWebViewHelper> print_helper_; 1378 scoped_ptr<PrintWebViewHelper> print_helper_;
1373 1379
1374 scoped_refptr<AudioMessageFilter> audio_message_filter_; 1380 scoped_refptr<AudioMessageFilter> audio_message_filter_;
1375 1381
1376 // The geolocation dispatcher attached to this view, lazily initialized. 1382 // The geolocation dispatcher attached to this view, lazily initialized.
1383 #if ENABLE_CLIENT_BASED_GEOLOCATION
1384 scoped_ptr<GeolocationDispatcher> geolocation_dispatcher_;
1385 #else
1377 scoped_ptr<GeolocationDispatcherOld> geolocation_dispatcher_; 1386 scoped_ptr<GeolocationDispatcherOld> geolocation_dispatcher_;
1387 #endif
1378 1388
1379 // Handles accessibility requests into the renderer side, as well as 1389 // Handles accessibility requests into the renderer side, as well as
1380 // maintains the cache and other features of the accessibility tree. 1390 // maintains the cache and other features of the accessibility tree.
1381 scoped_ptr<WebKit::WebAccessibilityCache> accessibility_; 1391 scoped_ptr<WebKit::WebAccessibilityCache> accessibility_;
1382 1392
1383 // Collect renderer accessibility notifications until they are ready to be 1393 // Collect renderer accessibility notifications until they are ready to be
1384 // sent to the browser. 1394 // sent to the browser.
1385 std::vector<RendererAccessibilityNotification> 1395 std::vector<RendererAccessibilityNotification>
1386 pending_accessibility_notifications_; 1396 pending_accessibility_notifications_;
1387 1397
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
1480 // ADDING NEW DATA? Please see if it fits appropriately in one of the above 1490 // ADDING NEW DATA? Please see if it fits appropriately in one of the above
1481 // sections rather than throwing it randomly at the end. If you're adding a 1491 // sections rather than throwing it randomly at the end. If you're adding a
1482 // bunch of stuff, you should probably create a helper class and put your 1492 // bunch of stuff, you should probably create a helper class and put your
1483 // data and methods on that to avoid bloating RenderView more. 1493 // data and methods on that to avoid bloating RenderView more.
1484 // --------------------------------------------------------------------------- 1494 // ---------------------------------------------------------------------------
1485 1495
1486 DISALLOW_COPY_AND_ASSIGN(RenderView); 1496 DISALLOW_COPY_AND_ASSIGN(RenderView);
1487 }; 1497 };
1488 1498
1489 #endif // CHROME_RENDERER_RENDER_VIEW_H_ 1499 #endif // CHROME_RENDERER_RENDER_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698