Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(193)

Side by Side Diff: Source/modules/geolocation/GeolocationController.h

Issue 620343002: DevTools: Remove geolocation override from renderer (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Source/devtools/protocol.json ('k') | Source/modules/geolocation/GeolocationController.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 17 matching lines...) Expand all
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 blink { 36 namespace blink {
37 37
38 class GeolocationInspectorAgent;
39 class GeolocationClient; 38 class GeolocationClient;
40 class GeolocationError; 39 class GeolocationError;
41 class GeolocationPosition; 40 class GeolocationPosition;
42 41
43 class GeolocationController final : public NoBaseWillBeGarbageCollectedFinalized <GeolocationController>, public WillBeHeapSupplement<LocalFrame>, public PageLif ecycleObserver { 42 class GeolocationController final : public NoBaseWillBeGarbageCollectedFinalized <GeolocationController>, public WillBeHeapSupplement<LocalFrame>, public PageLif ecycleObserver {
44 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(GeolocationController); 43 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(GeolocationController);
45 WTF_MAKE_NONCOPYABLE(GeolocationController); 44 WTF_MAKE_NONCOPYABLE(GeolocationController);
46 public: 45 public:
47 virtual ~GeolocationController(); 46 virtual ~GeolocationController();
48 47
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 79
81 RawPtrWillBeMember<GeolocationClient> m_client; 80 RawPtrWillBeMember<GeolocationClient> m_client;
82 bool m_hasClientForTest; 81 bool m_hasClientForTest;
83 82
84 PersistentWillBeMember<GeolocationPosition> m_lastPosition; 83 PersistentWillBeMember<GeolocationPosition> m_lastPosition;
85 typedef PersistentHeapHashSetWillBeHeapHashSet<Member<Geolocation> > Observe rsSet; 84 typedef PersistentHeapHashSetWillBeHeapHashSet<Member<Geolocation> > Observe rsSet;
86 // All observers; both those requesting high accuracy and those not. 85 // All observers; both those requesting high accuracy and those not.
87 ObserversSet m_observers; 86 ObserversSet m_observers;
88 ObserversSet m_highAccuracyObservers; 87 ObserversSet m_highAccuracyObservers;
89 bool m_isClientUpdating; 88 bool m_isClientUpdating;
90 RawPtrWillBeMember<GeolocationInspectorAgent> m_inspectorAgent;
91 }; 89 };
92 90
93 } // namespace blink 91 } // namespace blink
94 92
95 #endif // GeolocationController_h 93 #endif // GeolocationController_h
OLDNEW
« no previous file with comments | « Source/devtools/protocol.json ('k') | Source/modules/geolocation/GeolocationController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698