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

Side by Side Diff: third_party/WebKit/Source/modules/geolocation/Geolocation.h

Issue 1367853002: Move GeolocationDispatcher into blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
OLDNEW
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
37 #include "modules/geolocation/PositionError.h" 37 #include "modules/geolocation/PositionError.h"
38 #include "modules/geolocation/PositionErrorCallback.h" 38 #include "modules/geolocation/PositionErrorCallback.h"
39 #include "modules/geolocation/PositionOptions.h" 39 #include "modules/geolocation/PositionOptions.h"
40 #include "platform/Timer.h" 40 #include "platform/Timer.h"
41 #include "platform/heap/Handle.h" 41 #include "platform/heap/Handle.h"
42 42
43 namespace blink { 43 namespace blink {
44 44
45 class Document; 45 class Document;
46 class LocalFrame; 46 class LocalFrame;
47 class GeolocationController;
47 class GeolocationError; 48 class GeolocationError;
48 class ExecutionContext; 49 class ExecutionContext;
49 50
50 class MODULES_EXPORT Geolocation final 51 class MODULES_EXPORT Geolocation final
51 : public GarbageCollectedFinalized<Geolocation> 52 : public GarbageCollectedFinalized<Geolocation>
52 , public ScriptWrappable 53 , public ScriptWrappable
53 , public ActiveDOMObject { 54 , public ActiveDOMObject {
54 DEFINE_WRAPPERTYPEINFO(); 55 DEFINE_WRAPPERTYPEINFO();
55 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(Geolocation); 56 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(Geolocation);
56 public: 57 public:
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 enum Permission { 180 enum Permission {
180 PermissionUnknown, 181 PermissionUnknown,
181 PermissionRequested, 182 PermissionRequested,
182 PermissionAllowed, 183 PermissionAllowed,
183 PermissionDenied 184 PermissionDenied
184 }; 185 };
185 186
186 Permission m_geolocationPermission; 187 Permission m_geolocationPermission;
187 188
188 GeoNotifierSet m_requestsAwaitingCachedPosition; 189 GeoNotifierSet m_requestsAwaitingCachedPosition;
190
191 Member<GeolocationController> m_controller;
189 }; 192 };
190 193
191 } // namespace blink 194 } // namespace blink
192 195
193 #endif // Geolocation_h 196 #endif // Geolocation_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698