OLD | NEW |
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 Loading... |
42 #include "platform/Timer.h" | 42 #include "platform/Timer.h" |
43 #include "platform/heap/Handle.h" | 43 #include "platform/heap/Handle.h" |
44 | 44 |
45 #include "third_party/WebKit/public/platform/modules/permissions/permission.mojo
m-blink.h" | 45 #include "third_party/WebKit/public/platform/modules/permissions/permission.mojo
m-blink.h" |
46 #include "third_party/WebKit/public/platform/modules/permissions/permission_stat
us.mojom-blink.h" | 46 #include "third_party/WebKit/public/platform/modules/permissions/permission_stat
us.mojom-blink.h" |
47 | 47 |
48 namespace blink { | 48 namespace blink { |
49 | 49 |
50 class Document; | 50 class Document; |
51 class LocalFrame; | 51 class LocalFrame; |
52 class GeolocationError; | |
53 class ExecutionContext; | 52 class ExecutionContext; |
54 | 53 |
55 class MODULES_EXPORT Geolocation final | 54 class MODULES_EXPORT Geolocation final |
56 : public GarbageCollectedFinalized<Geolocation>, | 55 : public GarbageCollectedFinalized<Geolocation>, |
57 public ScriptWrappable, | 56 public ScriptWrappable, |
58 public ContextLifecycleObserver, | 57 public ContextLifecycleObserver, |
59 public PageVisibilityObserver { | 58 public PageVisibilityObserver { |
60 DEFINE_WRAPPERTYPEINFO(); | 59 DEFINE_WRAPPERTYPEINFO(); |
61 USING_GARBAGE_COLLECTED_MIXIN(Geolocation); | 60 USING_GARBAGE_COLLECTED_MIXIN(Geolocation); |
62 | 61 |
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
210 | 209 |
211 // Set to true when m_geolocationService is disconnected. This is used to | 210 // Set to true when m_geolocationService is disconnected. This is used to |
212 // detect when m_geolocationService is disconnected and reconnected while | 211 // detect when m_geolocationService is disconnected and reconnected while |
213 // running callbacks in response to a call to onPositionUpdated(). | 212 // running callbacks in response to a call to onPositionUpdated(). |
214 bool m_disconnectedGeolocationService = false; | 213 bool m_disconnectedGeolocationService = false; |
215 }; | 214 }; |
216 | 215 |
217 } // namespace blink | 216 } // namespace blink |
218 | 217 |
219 #endif // Geolocation_h | 218 #endif // Geolocation_h |
OLD | NEW |