OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 GeoNotifier_h | 5 #ifndef GeoNotifier_h |
6 #define GeoNotifier_h | 6 #define GeoNotifier_h |
7 | 7 |
8 #include "platform/Timer.h" | 8 #include "platform/Timer.h" |
9 #include "platform/heap/Handle.h" | 9 #include "platform/heap/Handle.h" |
10 | 10 |
11 namespace WebCore { | 11 namespace blink { |
12 | 12 |
13 class Geolocation; | 13 class Geolocation; |
14 class Geoposition; | 14 class Geoposition; |
15 class PositionCallback; | 15 class PositionCallback; |
16 class PositionError; | 16 class PositionError; |
17 class PositionErrorCallback; | 17 class PositionErrorCallback; |
18 class PositionOptions; | 18 class PositionOptions; |
19 | 19 |
20 class GeoNotifier : public GarbageCollectedFinalized<GeoNotifier> { | 20 class GeoNotifier : public GarbageCollectedFinalized<GeoNotifier> { |
21 public: | 21 public: |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 | 53 |
54 Member<Geolocation> m_geolocation; | 54 Member<Geolocation> m_geolocation; |
55 OwnPtr<PositionCallback> m_successCallback; | 55 OwnPtr<PositionCallback> m_successCallback; |
56 OwnPtr<PositionErrorCallback> m_errorCallback; | 56 OwnPtr<PositionErrorCallback> m_errorCallback; |
57 Member<PositionOptions> m_options; | 57 Member<PositionOptions> m_options; |
58 Timer<GeoNotifier> m_timer; | 58 Timer<GeoNotifier> m_timer; |
59 Member<PositionError> m_fatalError; | 59 Member<PositionError> m_fatalError; |
60 bool m_useCachedPosition; | 60 bool m_useCachedPosition; |
61 }; | 61 }; |
62 | 62 |
63 } // namespace WebCore | 63 } // namespace blink |
64 | 64 |
65 #endif // GeoNotifier_h | 65 #endif // GeoNotifier_h |
OLD | NEW |