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

Unified Diff: webkit/chaos/ChaosGeoposition.h

Issue 160084: Chaos geolocation demo, non-WebKit part. Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 11 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/chaos/ChaosGeolocation.idl ('k') | webkit/chaos/ChaosGeoposition.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/chaos/ChaosGeoposition.h
===================================================================
--- webkit/chaos/ChaosGeoposition.h (revision 0)
+++ webkit/chaos/ChaosGeoposition.h (revision 0)
@@ -0,0 +1,24 @@
+#ifndef ChaosGeoposition_h
+#define ChaosGeoposition_h
+
+#include <wtf/RefCounted.h>
+#include <wtf/RefPtr.h>
+
+namespace WebCore {
+
+class ChaosCoordinates;
+
+class ChaosGeoposition : public RefCounted<ChaosGeoposition> {
+ public:
+ explicit ChaosGeoposition(ChaosCoordinates *coords) : coords_(coords) {
+ }
+ ChaosCoordinates *coords() const {
+ return coords_.get();
+ }
+ private:
+ RefPtr<ChaosCoordinates> coords_;
+};
+
+} // namespace WebCore
+
+#endif // ndef ChaosGeoposition_h
Property changes on: webkit/chaos/ChaosGeoposition.h
___________________________________________________________________
Added: svn:eol-style
+ LF
« no previous file with comments | « webkit/chaos/ChaosGeolocation.idl ('k') | webkit/chaos/ChaosGeoposition.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698