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 26 matching lines...) Expand all Loading... |
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" | 39 #include "platform/Timer.h" |
40 #include "platform/heap/Handle.h" | 40 #include "platform/heap/Handle.h" |
41 | 41 |
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; | |
48 class GeolocationError; | 47 class GeolocationError; |
49 class GeolocationPosition; | |
50 class ExecutionContext; | 48 class ExecutionContext; |
51 | 49 |
52 class Geolocation final | 50 class Geolocation final |
53 : public GarbageCollectedFinalized<Geolocation> | 51 : public GarbageCollectedFinalized<Geolocation> |
54 , public ScriptWrappable | 52 , public ScriptWrappable |
55 , public ActiveDOMObject { | 53 , public ActiveDOMObject { |
56 DEFINE_WRAPPERTYPEINFO(); | 54 DEFINE_WRAPPERTYPEINFO(); |
57 public: | 55 public: |
58 static Geolocation* create(ExecutionContext*); | 56 static Geolocation* create(ExecutionContext*); |
59 virtual ~Geolocation(); | 57 virtual ~Geolocation(); |
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
185 }; | 183 }; |
186 | 184 |
187 Permission m_geolocationPermission; | 185 Permission m_geolocationPermission; |
188 | 186 |
189 GeoNotifierSet m_requestsAwaitingCachedPosition; | 187 GeoNotifierSet m_requestsAwaitingCachedPosition; |
190 }; | 188 }; |
191 | 189 |
192 } // namespace blink | 190 } // namespace blink |
193 | 191 |
194 #endif // Geolocation_h | 192 #endif // Geolocation_h |
OLD | NEW |