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

Unified Diff: webkit/chaos/ChaosCoordinates.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/Chaos.idl ('k') | webkit/chaos/ChaosCoordinates.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/chaos/ChaosCoordinates.h
===================================================================
--- webkit/chaos/ChaosCoordinates.h (revision 0)
+++ webkit/chaos/ChaosCoordinates.h (revision 0)
@@ -0,0 +1,27 @@
+#ifndef ChaosCoordinates_h
+#define ChaosCoordinates_h
+
+#include <wtf/RefCounted.h>
+
+namespace WebCore {
+
+class ChaosCoordinates : public RefCounted<ChaosCoordinates> {
+ public:
+ ChaosCoordinates(double latitude, double longitude, double accoracy);
+ double latitude() const;
+ double longitude() const;
+ double altitude() const;
+ double accuracy() const;
+ double altitudeAccuracy() const;
+ double heading() const;
+ double speed() const;
+
+ private:
+ double latitude_;
+ double longitude_;
+ double accuracy_;
+};
+
+} // namespace WebCore
+
+#endif // ndef ChaosCoordinates_h
Property changes on: webkit/chaos/ChaosCoordinates.h
___________________________________________________________________
Added: svn:eol-style
+ LF
« no previous file with comments | « webkit/chaos/Chaos.idl ('k') | webkit/chaos/ChaosCoordinates.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698