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

Side by Side Diff: WebKit/chromium/public/WebGeolocationServiceBridge.h

Issue 3311022: Merge 66837 - 2010-09-06 Jonathan Dixon <joth@chromium.org>... (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/517/
Patch Set: Created 10 years, 3 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
« no previous file with comments | « no previous file | WebKit/chromium/src/WebGeolocationServiceBridgeImpl.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 are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * 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 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 29 matching lines...) Expand all
40 40
41 class WebString; 41 class WebString;
42 class WebURL; 42 class WebURL;
43 43
44 // Provides a WebKit API called by the embedder. 44 // Provides a WebKit API called by the embedder.
45 class WebGeolocationServiceBridge { 45 class WebGeolocationServiceBridge {
46 public: 46 public:
47 virtual void setIsAllowed(bool allowed) = 0; 47 virtual void setIsAllowed(bool allowed) = 0;
48 virtual void setLastPosition(double latitude, double longitude, bool provide sAltitude, double altitude, double accuracy, bool providesAltitudeAccuracy, doub le altitudeAccuracy, bool providesHeading, double heading, bool providesSpeed, d ouble speed, long long timestamp) = 0; 48 virtual void setLastPosition(double latitude, double longitude, bool provide sAltitude, double altitude, double accuracy, bool providesAltitudeAccuracy, doub le altitudeAccuracy, bool providesHeading, double heading, bool providesSpeed, d ouble speed, long long timestamp) = 0;
49 virtual void setLastError(int errorCode, const WebString& message) = 0; 49 virtual void setLastError(int errorCode, const WebString& message) = 0;
50 virtual void onWebGeolocationServiceDestroyed() = 0;
51
52 protected:
53 virtual ~WebGeolocationServiceBridge() {}
50 }; 54 };
51 55
52 } // namespace WebKit 56 } // namespace WebKit
53 57
54 #endif // WebGeolocationServiceBridge_h 58 #endif // WebGeolocationServiceBridge_h
OLDNEW
« no previous file with comments | « no previous file | WebKit/chromium/src/WebGeolocationServiceBridgeImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698