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

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

Issue 8587009: Add OVERRIDE to content/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 9 years, 1 month 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 | « content/renderer/devtools_agent_filter.h ('k') | content/renderer/gpu/command_buffer_proxy.h » ('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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 CONTENT_RENDERER_GEOLOCATION_DISPATCHER_H_ 5 #ifndef CONTENT_RENDERER_GEOLOCATION_DISPATCHER_H_
6 #define CONTENT_RENDERER_GEOLOCATION_DISPATCHER_H_ 6 #define CONTENT_RENDERER_GEOLOCATION_DISPATCHER_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "content/public/renderer/render_view_observer.h" 10 #include "content/public/renderer/render_view_observer.h"
(...skipping 14 matching lines...) Expand all
25 // WebKit. 25 // WebKit.
26 // It's the complement of GeolocationDispatcherHost (owned by RenderViewHost). 26 // It's the complement of GeolocationDispatcherHost (owned by RenderViewHost).
27 class GeolocationDispatcher : public content::RenderViewObserver, 27 class GeolocationDispatcher : public content::RenderViewObserver,
28 public WebKit::WebGeolocationClient { 28 public WebKit::WebGeolocationClient {
29 public: 29 public:
30 explicit GeolocationDispatcher(RenderViewImpl* render_view); 30 explicit GeolocationDispatcher(RenderViewImpl* render_view);
31 virtual ~GeolocationDispatcher(); 31 virtual ~GeolocationDispatcher();
32 32
33 private: 33 private:
34 // RenderView::Observer implementation. 34 // RenderView::Observer implementation.
35 virtual bool OnMessageReceived(const IPC::Message& message); 35 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
36 36
37 // WebGeolocationClient 37 // WebGeolocationClient
38 virtual void geolocationDestroyed(); 38 virtual void geolocationDestroyed();
39 virtual void startUpdating(); 39 virtual void startUpdating();
40 virtual void stopUpdating(); 40 virtual void stopUpdating();
41 virtual void setEnableHighAccuracy(bool enable_high_accuracy); 41 virtual void setEnableHighAccuracy(bool enable_high_accuracy);
42 virtual void setController(WebKit::WebGeolocationController* controller); 42 virtual void setController(WebKit::WebGeolocationController* controller);
43 virtual bool lastPosition(WebKit::WebGeolocationPosition& position); 43 virtual bool lastPosition(WebKit::WebGeolocationPosition& position);
44 virtual void requestPermission( 44 virtual void requestPermission(
45 const WebKit::WebGeolocationPermissionRequest& permissionRequest); 45 const WebKit::WebGeolocationPermissionRequest& permissionRequest);
(...skipping 11 matching lines...) Expand all
57 // invoked when the underlying object is destroyed. 57 // invoked when the underlying object is destroyed.
58 scoped_ptr< WebKit::WebGeolocationController> controller_; 58 scoped_ptr< WebKit::WebGeolocationController> controller_;
59 59
60 scoped_ptr<WebKit::WebGeolocationPermissionRequestManager> 60 scoped_ptr<WebKit::WebGeolocationPermissionRequestManager>
61 pending_permissions_; 61 pending_permissions_;
62 bool enable_high_accuracy_; 62 bool enable_high_accuracy_;
63 bool updating_; 63 bool updating_;
64 }; 64 };
65 65
66 #endif // CONTENT_RENDERER_GEOLOCATION_DISPATCHER_H_ 66 #endif // CONTENT_RENDERER_GEOLOCATION_DISPATCHER_H_
OLDNEW
« no previous file with comments | « content/renderer/devtools_agent_filter.h ('k') | content/renderer/gpu/command_buffer_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698