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

Side by Side Diff: Source/modules/geolocation/Geolocation.h

Issue 635233004: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/modules (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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 /* 1 /*
2 * Copyright (C) 2008, 2009, 2010, 2011 Apple Inc. All Rights Reserved. 2 * Copyright (C) 2008, 2009, 2010, 2011 Apple Inc. All Rights Reserved.
3 * Copyright 2010, The Android Open Source Project 3 * Copyright 2010, The Android Open Source Project
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 namespace blink { 42 namespace blink {
43 43
44 class Dictionary; 44 class Dictionary;
45 class Document; 45 class Document;
46 class LocalFrame; 46 class LocalFrame;
47 class GeolocationController; 47 class GeolocationController;
48 class GeolocationError; 48 class GeolocationError;
49 class GeolocationPosition; 49 class GeolocationPosition;
50 class ExecutionContext; 50 class ExecutionContext;
51 51
52 class Geolocation FINAL 52 class Geolocation final
53 : public GarbageCollectedFinalized<Geolocation> 53 : public GarbageCollectedFinalized<Geolocation>
54 , public ScriptWrappable 54 , public ScriptWrappable
55 , public ActiveDOMObject { 55 , public ActiveDOMObject {
56 DEFINE_WRAPPERTYPEINFO(); 56 DEFINE_WRAPPERTYPEINFO();
57 public: 57 public:
58 static Geolocation* create(ExecutionContext*); 58 static Geolocation* create(ExecutionContext*);
59 virtual ~Geolocation(); 59 virtual ~Geolocation();
60 void trace(Visitor*); 60 void trace(Visitor*);
61 61
62 virtual void stop() OVERRIDE; 62 virtual void stop() override;
63 Document* document() const; 63 Document* document() const;
64 LocalFrame* frame() const; 64 LocalFrame* frame() const;
65 65
66 // Creates a oneshot and attempts to obtain a position that meets the 66 // Creates a oneshot and attempts to obtain a position that meets the
67 // constraints of the options. 67 // constraints of the options.
68 void getCurrentPosition(PositionCallback*, PositionErrorCallback*, const Dic tionary&); 68 void getCurrentPosition(PositionCallback*, PositionErrorCallback*, const Dic tionary&);
69 69
70 // Creates a watcher that will be notified whenever a new position is 70 // Creates a watcher that will be notified whenever a new position is
71 // available that meets the constraints of the options. 71 // available that meets the constraints of the options.
72 int watchPosition(PositionCallback*, PositionErrorCallback*, const Dictionar y&); 72 int watchPosition(PositionCallback*, PositionErrorCallback*, const Dictionar y&);
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 }; 185 };
186 186
187 Permission m_geolocationPermission; 187 Permission m_geolocationPermission;
188 188
189 GeoNotifierSet m_requestsAwaitingCachedPosition; 189 GeoNotifierSet m_requestsAwaitingCachedPosition;
190 }; 190 };
191 191
192 } // namespace blink 192 } // namespace blink
193 193
194 #endif // Geolocation_h 194 #endif // Geolocation_h
OLDNEW
« no previous file with comments | « Source/modules/geofencing/WorkerNavigatorGeofencing.h ('k') | Source/modules/geolocation/GeolocationController.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698