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

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

Issue 5938002: Remove legacy non-client-based geolocation code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove non-client-based geolocation code. Created 9 years, 11 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
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_GEOLOCATION_DISPATCHER_H_ 5 #ifndef CHROME_RENDERER_GEOLOCATION_DISPATCHER_H_
6 #define CHROME_RENDERER_GEOLOCATION_DISPATCHER_H_ 6 #define CHROME_RENDERER_GEOLOCATION_DISPATCHER_H_
7 #pragma once 7 #pragma once
8 8
9 #if defined(ENABLE_CLIENT_BASED_GEOLOCATION)
10
11 #include "base/scoped_ptr.h" 9 #include "base/scoped_ptr.h"
12 #include "third_party/WebKit/WebKit/chromium/public/WebGeolocationClient.h" 10 #include "third_party/WebKit/WebKit/chromium/public/WebGeolocationClient.h"
13 #include "third_party/WebKit/WebKit/chromium/public/WebGeolocationController.h" 11 #include "third_party/WebKit/WebKit/chromium/public/WebGeolocationController.h"
14 12
15 class RenderView; 13 class RenderView;
16 struct Geoposition; 14 struct Geoposition;
17 15
18 namespace WebKit { 16 namespace WebKit {
19 class WebGeolocationController; 17 class WebGeolocationController;
20 class WebGeolocationPermissionRequest; 18 class WebGeolocationPermissionRequest;
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 // The controller_ is valid for the lifetime of the underlying 61 // The controller_ is valid for the lifetime of the underlying
64 // WebCore::GeolocationController. geolocationDestroyed() is 62 // WebCore::GeolocationController. geolocationDestroyed() is
65 // invoked when the underlying object is destroyed. 63 // invoked when the underlying object is destroyed.
66 scoped_ptr< WebKit::WebGeolocationController> controller_; 64 scoped_ptr< WebKit::WebGeolocationController> controller_;
67 65
68 scoped_ptr<WebKit::WebGeolocationPermissionRequestManager> 66 scoped_ptr<WebKit::WebGeolocationPermissionRequestManager>
69 pending_permissions_; 67 pending_permissions_;
70 bool enable_high_accuracy_; 68 bool enable_high_accuracy_;
71 bool updating_; 69 bool updating_;
72 }; 70 };
73 #endif // ENABLE_CLIENT_BASED_GEOLOCATION
74 71
75 #endif // CHROME_RENDERER_GEOLOCATION_DISPATCHER_H_ 72 #endif // CHROME_RENDERER_GEOLOCATION_DISPATCHER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698