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

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

Issue 403013002: Rename WebCore to blink in Modules (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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 | Annotate | Revision Log
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 16 matching lines...) Expand all
27 27
28 #include "modules/geolocation/GeolocationController.h" 28 #include "modules/geolocation/GeolocationController.h"
29 29
30 #include "core/inspector/InspectorController.h" 30 #include "core/inspector/InspectorController.h"
31 #include "core/page/Page.h" 31 #include "core/page/Page.h"
32 #include "modules/geolocation/GeolocationClient.h" 32 #include "modules/geolocation/GeolocationClient.h"
33 #include "modules/geolocation/GeolocationError.h" 33 #include "modules/geolocation/GeolocationError.h"
34 #include "modules/geolocation/GeolocationInspectorAgent.h" 34 #include "modules/geolocation/GeolocationInspectorAgent.h"
35 #include "modules/geolocation/GeolocationPosition.h" 35 #include "modules/geolocation/GeolocationPosition.h"
36 36
37 namespace WebCore { 37 namespace blink {
38 38
39 GeolocationController::GeolocationController(LocalFrame& frame, GeolocationClien t* client) 39 GeolocationController::GeolocationController(LocalFrame& frame, GeolocationClien t* client)
40 : PageLifecycleObserver(frame.page()) 40 : PageLifecycleObserver(frame.page())
41 , m_client(client) 41 , m_client(client)
42 , m_hasClientForTest(false) 42 , m_hasClientForTest(false)
43 , m_isClientUpdating(false) 43 , m_isClientUpdating(false)
44 , m_inspectorAgent() 44 , m_inspectorAgent()
45 { 45 {
46 // FIXME: Once GeolocationInspectorAgent is per frame, there will be a 1:1 r elationship between 46 // FIXME: Once GeolocationInspectorAgent is per frame, there will be a 1:1 r elationship between
47 // it and this class. Until then, there's one GeolocationInspectorAgent per page that the main 47 // it and this class. Until then, there's one GeolocationInspectorAgent per page that the main
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
231 visitor->trace(m_observers); 231 visitor->trace(m_observers);
232 visitor->trace(m_highAccuracyObservers); 232 visitor->trace(m_highAccuracyObservers);
233 WillBeHeapSupplement<LocalFrame>::trace(visitor); 233 WillBeHeapSupplement<LocalFrame>::trace(visitor);
234 } 234 }
235 235
236 void provideGeolocationTo(LocalFrame& frame, GeolocationClient* client) 236 void provideGeolocationTo(LocalFrame& frame, GeolocationClient* client)
237 { 237 {
238 WillBeHeapSupplement<LocalFrame>::provideTo(frame, GeolocationController::su pplementName(), GeolocationController::create(frame, client)); 238 WillBeHeapSupplement<LocalFrame>::provideTo(frame, GeolocationController::su pplementName(), GeolocationController::create(frame, client));
239 } 239 }
240 240
241 } // namespace WebCore 241 } // namespace blink
OLDNEW
« no previous file with comments | « Source/modules/geolocation/GeolocationController.h ('k') | Source/modules/geolocation/GeolocationError.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698