| 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 18 matching lines...) Expand all Loading... |
| 29 | 29 |
| 30 #include "bindings/core/v8/ScriptWrappable.h" | 30 #include "bindings/core/v8/ScriptWrappable.h" |
| 31 #include "core/dom/ActiveDOMObject.h" | 31 #include "core/dom/ActiveDOMObject.h" |
| 32 #include "modules/geolocation/GeoNotifier.h" | 32 #include "modules/geolocation/GeoNotifier.h" |
| 33 #include "modules/geolocation/GeolocationWatchers.h" | 33 #include "modules/geolocation/GeolocationWatchers.h" |
| 34 #include "modules/geolocation/Geoposition.h" | 34 #include "modules/geolocation/Geoposition.h" |
| 35 #include "modules/geolocation/PositionCallback.h" | 35 #include "modules/geolocation/PositionCallback.h" |
| 36 #include "modules/geolocation/PositionError.h" | 36 #include "modules/geolocation/PositionError.h" |
| 37 #include "modules/geolocation/PositionErrorCallback.h" | 37 #include "modules/geolocation/PositionErrorCallback.h" |
| 38 #include "modules/geolocation/PositionOptions.h" | 38 #include "modules/geolocation/PositionOptions.h" |
| 39 #include "platform/Timer.h" | |
| 40 #include "platform/heap/Handle.h" | |
| 41 | 39 |
| 42 namespace blink { | 40 namespace blink { |
| 43 | 41 |
| 44 class Dictionary; | 42 class Dictionary; |
| 45 class Document; | 43 class Document; |
| 46 class LocalFrame; | 44 class LocalFrame; |
| 47 class GeolocationController; | |
| 48 class GeolocationError; | 45 class GeolocationError; |
| 49 class GeolocationPosition; | |
| 50 class ExecutionContext; | 46 class ExecutionContext; |
| 51 | 47 |
| 52 class Geolocation final | 48 class Geolocation final |
| 53 : public GarbageCollectedFinalized<Geolocation> | 49 : public GarbageCollectedFinalized<Geolocation> |
| 54 , public ScriptWrappable | 50 , public ScriptWrappable |
| 55 , public ActiveDOMObject { | 51 , public ActiveDOMObject { |
| 56 DEFINE_WRAPPERTYPEINFO(); | 52 DEFINE_WRAPPERTYPEINFO(); |
| 57 public: | 53 public: |
| 58 static Geolocation* create(ExecutionContext*); | 54 static Geolocation* create(ExecutionContext*); |
| 59 virtual ~Geolocation(); | 55 virtual ~Geolocation(); |
| (...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 185 }; | 181 }; |
| 186 | 182 |
| 187 Permission m_geolocationPermission; | 183 Permission m_geolocationPermission; |
| 188 | 184 |
| 189 GeoNotifierSet m_requestsAwaitingCachedPosition; | 185 GeoNotifierSet m_requestsAwaitingCachedPosition; |
| 190 }; | 186 }; |
| 191 | 187 |
| 192 } // namespace blink | 188 } // namespace blink |
| 193 | 189 |
| 194 #endif // Geolocation_h | 190 #endif // Geolocation_h |
| OLD | NEW |