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

Side by Side Diff: public/web/WebGeolocationClient.h

Issue 521223003: Remove geolocationDestroyed() client notification. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | public/web/WebGeolocationController.h » ('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 21 matching lines...) Expand all
32 class WebGeolocationPermissionRequest; 32 class WebGeolocationPermissionRequest;
33 class WebGeolocationPosition; 33 class WebGeolocationPosition;
34 34
35 class WebGeolocationClient { 35 class WebGeolocationClient {
36 public: 36 public:
37 virtual ~WebGeolocationClient() { } 37 virtual ~WebGeolocationClient() { }
38 38
39 virtual void startUpdating() = 0; 39 virtual void startUpdating() = 0;
40 virtual void stopUpdating() = 0; 40 virtual void stopUpdating() = 0;
41 virtual void setEnableHighAccuracy(bool) = 0; 41 virtual void setEnableHighAccuracy(bool) = 0;
42 virtual void geolocationDestroyed() { }
43 virtual bool lastPosition(WebGeolocationPosition&) = 0; 42 virtual bool lastPosition(WebGeolocationPosition&) = 0;
44 43
45 virtual void requestPermission(const WebGeolocationPermissionRequest&) = 0; 44 virtual void requestPermission(const WebGeolocationPermissionRequest&) = 0;
46 virtual void cancelPermissionRequest(const WebGeolocationPermissionRequest&) = 0; 45 virtual void cancelPermissionRequest(const WebGeolocationPermissionRequest&) = 0;
47 46
48 // The controller is valid until geolocationDestroyed() is invoked.
49 // Ownership of the WebGeolocationController is transferred to the client. 47 // Ownership of the WebGeolocationController is transferred to the client.
50 virtual void setController(WebGeolocationController*) = 0; 48 virtual void setController(WebGeolocationController*) = 0;
51 }; 49 };
52 50
53 } // namespace blink 51 } // namespace blink
54 52
55 #endif // WebGeolocationClient_h 53 #endif // WebGeolocationClient_h
OLDNEW
« no previous file with comments | « no previous file | public/web/WebGeolocationController.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698