| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2009 Apple Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 #ifndef GeolocationController_h | 26 #ifndef GeolocationController_h |
| 27 #define GeolocationController_h | 27 #define GeolocationController_h |
| 28 | 28 |
| 29 #include "core/frame/LocalFrame.h" | 29 #include "core/frame/LocalFrame.h" |
| 30 #include "core/page/PageLifecycleObserver.h" | 30 #include "core/page/PageLifecycleObserver.h" |
| 31 #include "modules/geolocation/Geolocation.h" | 31 #include "modules/geolocation/Geolocation.h" |
| 32 #include "platform/heap/Handle.h" | 32 #include "platform/heap/Handle.h" |
| 33 #include "wtf/HashSet.h" | 33 #include "wtf/HashSet.h" |
| 34 #include "wtf/Noncopyable.h" | 34 #include "wtf/Noncopyable.h" |
| 35 | 35 |
| 36 namespace WebCore { | 36 namespace blink { |
| 37 | 37 |
| 38 class GeolocationInspectorAgent; | 38 class GeolocationInspectorAgent; |
| 39 class GeolocationClient; | 39 class GeolocationClient; |
| 40 class GeolocationError; | 40 class GeolocationError; |
| 41 class GeolocationPosition; | 41 class GeolocationPosition; |
| 42 | 42 |
| 43 class GeolocationController FINAL : public NoBaseWillBeGarbageCollectedFinalized
<GeolocationController>, public WillBeHeapSupplement<LocalFrame>, public PageLif
ecycleObserver { | 43 class GeolocationController FINAL : public NoBaseWillBeGarbageCollectedFinalized
<GeolocationController>, public WillBeHeapSupplement<LocalFrame>, public PageLif
ecycleObserver { |
| 44 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(GeolocationController); | 44 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(GeolocationController); |
| 45 WTF_MAKE_NONCOPYABLE(GeolocationController); | 45 WTF_MAKE_NONCOPYABLE(GeolocationController); |
| 46 public: | 46 public: |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 | 87 |
| 88 PersistentWillBeMember<GeolocationPosition> m_lastPosition; | 88 PersistentWillBeMember<GeolocationPosition> m_lastPosition; |
| 89 typedef PersistentHeapHashSetWillBeHeapHashSet<Member<Geolocation> > Observe
rsSet; | 89 typedef PersistentHeapHashSetWillBeHeapHashSet<Member<Geolocation> > Observe
rsSet; |
| 90 // All observers; both those requesting high accuracy and those not. | 90 // All observers; both those requesting high accuracy and those not. |
| 91 ObserversSet m_observers; | 91 ObserversSet m_observers; |
| 92 ObserversSet m_highAccuracyObservers; | 92 ObserversSet m_highAccuracyObservers; |
| 93 bool m_isClientUpdating; | 93 bool m_isClientUpdating; |
| 94 GeolocationInspectorAgent* m_inspectorAgent; | 94 GeolocationInspectorAgent* m_inspectorAgent; |
| 95 }; | 95 }; |
| 96 | 96 |
| 97 } // namespace WebCore | 97 } // namespace blink |
| 98 | 98 |
| 99 #endif // GeolocationController_h | 99 #endif // GeolocationController_h |
| OLD | NEW |