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

Side by Side Diff: Source/web/GeolocationClientProxy.h

Issue 61773005: Rename WebKit namespace to blink (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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
« no previous file with comments | « Source/web/FullscreenController.cpp ('k') | Source/web/GeolocationClientProxy.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) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 Google 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 * 7 *
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 16 matching lines...) Expand all
27 #define GeolocationClientProxy_h 27 #define GeolocationClientProxy_h
28 28
29 #include "WebGeolocationController.h" 29 #include "WebGeolocationController.h"
30 #include "modules/geolocation/GeolocationClient.h" 30 #include "modules/geolocation/GeolocationClient.h"
31 #include "wtf/RefPtr.h" 31 #include "wtf/RefPtr.h"
32 32
33 namespace WebCore { 33 namespace WebCore {
34 class GeolocationPosition; 34 class GeolocationPosition;
35 } 35 }
36 36
37 namespace WebKit { 37 namespace blink {
38 class WebGeolocationClient; 38 class WebGeolocationClient;
39 39
40 class GeolocationClientProxy : public WebCore::GeolocationClient { 40 class GeolocationClientProxy : public WebCore::GeolocationClient {
41 public: 41 public:
42 GeolocationClientProxy(WebGeolocationClient* client); 42 GeolocationClientProxy(WebGeolocationClient* client);
43 ~GeolocationClientProxy(); 43 ~GeolocationClientProxy();
44 void setController(WebCore::GeolocationController *controller); 44 void setController(WebCore::GeolocationController *controller);
45 virtual void geolocationDestroyed(); 45 virtual void geolocationDestroyed();
46 virtual void startUpdating(); 46 virtual void startUpdating();
47 virtual void stopUpdating(); 47 virtual void stopUpdating();
48 virtual void setEnableHighAccuracy(bool); 48 virtual void setEnableHighAccuracy(bool);
49 virtual WebCore::GeolocationPosition* lastPosition(); 49 virtual WebCore::GeolocationPosition* lastPosition();
50 50
51 virtual void requestPermission(WebCore::Geolocation*); 51 virtual void requestPermission(WebCore::Geolocation*);
52 virtual void cancelPermissionRequest(WebCore::Geolocation*); 52 virtual void cancelPermissionRequest(WebCore::Geolocation*);
53 53
54 private: 54 private:
55 WebGeolocationClient* m_client; 55 WebGeolocationClient* m_client;
56 RefPtr<WebCore::GeolocationPosition> m_lastPosition; 56 RefPtr<WebCore::GeolocationPosition> m_lastPosition;
57 }; 57 };
58 58
59 } // namespace WebKit 59 } // namespace blink
60 60
61 #endif // GeolocationClientProxy_h 61 #endif // GeolocationClientProxy_h
OLDNEW
« no previous file with comments | « Source/web/FullscreenController.cpp ('k') | Source/web/GeolocationClientProxy.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698