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

Side by Side Diff: content/browser/geolocation/geolocation_dispatcher_host.h

Issue 631053003: Replacing the OVERRIDE with override and FINAL with final in content/browser/geolocation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Resolved mac issue Created 6 years, 2 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_BROWSER_GEOLOCATION_GEOLOCATION_DISPATCHER_HOST_H_ 5 #ifndef CONTENT_BROWSER_GEOLOCATION_GEOLOCATION_DISPATCHER_HOST_H_
6 #define CONTENT_BROWSER_GEOLOCATION_GEOLOCATION_DISPATCHER_HOST_H_ 6 #define CONTENT_BROWSER_GEOLOCATION_GEOLOCATION_DISPATCHER_HOST_H_
7 7
8 #include <map> 8 #include <map>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 14 matching lines...) Expand all
25 virtual ~GeolocationDispatcherHost(); 25 virtual ~GeolocationDispatcherHost();
26 26
27 // Pause or resumes geolocation. Resuming when nothing is paused is a no-op. 27 // Pause or resumes geolocation. Resuming when nothing is paused is a no-op.
28 // If the web contents is paused while not currently using geolocation but 28 // If the web contents is paused while not currently using geolocation but
29 // then goes on to do so before being resumed, then it will not get 29 // then goes on to do so before being resumed, then it will not get
30 // geolocation updates until it is resumed. 30 // geolocation updates until it is resumed.
31 void PauseOrResume(bool should_pause); 31 void PauseOrResume(bool should_pause);
32 32
33 private: 33 private:
34 // WebContentsObserver 34 // WebContentsObserver
35 virtual void RenderFrameDeleted(RenderFrameHost* render_frame_host) OVERRIDE; 35 virtual void RenderFrameDeleted(RenderFrameHost* render_frame_host) override;
36 virtual void RenderViewHostChanged(RenderViewHost* old_host, 36 virtual void RenderViewHostChanged(RenderViewHost* old_host,
37 RenderViewHost* new_host) OVERRIDE; 37 RenderViewHost* new_host) override;
38 virtual bool OnMessageReceived( 38 virtual bool OnMessageReceived(
39 const IPC::Message& msg, RenderFrameHost* render_frame_host) OVERRIDE; 39 const IPC::Message& msg, RenderFrameHost* render_frame_host) override;
40 40
41 // Message handlers: 41 // Message handlers:
42 void OnRequestPermission(RenderFrameHost* render_frame_host, 42 void OnRequestPermission(RenderFrameHost* render_frame_host,
43 int bridge_id, 43 int bridge_id,
44 const GURL& requesting_frame, 44 const GURL& requesting_frame,
45 bool user_gesture); 45 bool user_gesture);
46 void OnCancelPermissionRequest(RenderFrameHost* render_frame_host, 46 void OnCancelPermissionRequest(RenderFrameHost* render_frame_host,
47 int bridge_id, 47 int bridge_id,
48 const GURL& requesting_frame); 48 const GURL& requesting_frame);
49 void OnStartUpdating(RenderFrameHost* render_frame_host, 49 void OnStartUpdating(RenderFrameHost* render_frame_host,
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 scoped_ptr<GeolocationProvider::Subscription> geolocation_subscription_; 81 scoped_ptr<GeolocationProvider::Subscription> geolocation_subscription_;
82 82
83 base::WeakPtrFactory<GeolocationDispatcherHost> weak_factory_; 83 base::WeakPtrFactory<GeolocationDispatcherHost> weak_factory_;
84 84
85 DISALLOW_COPY_AND_ASSIGN(GeolocationDispatcherHost); 85 DISALLOW_COPY_AND_ASSIGN(GeolocationDispatcherHost);
86 }; 86 };
87 87
88 } // namespace content 88 } // namespace content
89 89
90 #endif // CONTENT_BROWSER_GEOLOCATION_GEOLOCATION_DISPATCHER_HOST_H_ 90 #endif // CONTENT_BROWSER_GEOLOCATION_GEOLOCATION_DISPATCHER_HOST_H_
OLDNEW
« no previous file with comments | « content/browser/geolocation/empty_wifi_data_provider.h ('k') | content/browser/geolocation/geolocation_provider_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698