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

Side by Side Diff: content/renderer/geolocation_dispatcher.cc

Issue 63253002: Rename WebKit namespace to blink (part 3) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/renderer/geolocation_dispatcher.h" 5 #include "content/renderer/geolocation_dispatcher.h"
6 6
7 #include "content/common/geolocation_messages.h" 7 #include "content/common/geolocation_messages.h"
8 #include "content/renderer/render_view_impl.h" 8 #include "content/renderer/render_view_impl.h"
9 #include "third_party/WebKit/public/platform/WebString.h" 9 #include "third_party/WebKit/public/platform/WebString.h"
10 #include "third_party/WebKit/public/web/WebGeolocationPermissionRequest.h" 10 #include "third_party/WebKit/public/web/WebGeolocationPermissionRequest.h"
11 #include "third_party/WebKit/public/web/WebGeolocationPermissionRequestManager.h " 11 #include "third_party/WebKit/public/web/WebGeolocationPermissionRequestManager.h "
12 #include "third_party/WebKit/public/web/WebGeolocationClient.h" 12 #include "third_party/WebKit/public/web/WebGeolocationClient.h"
13 #include "third_party/WebKit/public/web/WebGeolocationPosition.h" 13 #include "third_party/WebKit/public/web/WebGeolocationPosition.h"
14 #include "third_party/WebKit/public/web/WebGeolocationError.h" 14 #include "third_party/WebKit/public/web/WebGeolocationError.h"
15 15
16 using WebKit::WebGeolocationController; 16 using blink::WebGeolocationController;
17 using WebKit::WebGeolocationError; 17 using blink::WebGeolocationError;
18 using WebKit::WebGeolocationPermissionRequest; 18 using blink::WebGeolocationPermissionRequest;
19 using WebKit::WebGeolocationPermissionRequestManager; 19 using blink::WebGeolocationPermissionRequestManager;
20 using WebKit::WebGeolocationPosition; 20 using blink::WebGeolocationPosition;
21 21
22 namespace content { 22 namespace content {
23 23
24 GeolocationDispatcher::GeolocationDispatcher(RenderViewImpl* render_view) 24 GeolocationDispatcher::GeolocationDispatcher(RenderViewImpl* render_view)
25 : RenderViewObserver(render_view), 25 : RenderViewObserver(render_view),
26 pending_permissions_(new WebGeolocationPermissionRequestManager()), 26 pending_permissions_(new WebGeolocationPermissionRequestManager()),
27 enable_high_accuracy_(false), 27 enable_high_accuracy_(false),
28 updating_(false) { 28 updating_(false) {
29 } 29 }
30 30
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 break; 143 break;
144 case Geoposition::ERROR_CODE_POSITION_UNAVAILABLE: 144 case Geoposition::ERROR_CODE_POSITION_UNAVAILABLE:
145 code = WebGeolocationError::ErrorPositionUnavailable; 145 code = WebGeolocationError::ErrorPositionUnavailable;
146 break; 146 break;
147 default: 147 default:
148 NOTREACHED() << geoposition.error_code; 148 NOTREACHED() << geoposition.error_code;
149 return; 149 return;
150 } 150 }
151 controller_->errorOccurred( 151 controller_->errorOccurred(
152 WebGeolocationError( 152 WebGeolocationError(
153 code, WebKit::WebString::fromUTF8(geoposition.error_message))); 153 code, blink::WebString::fromUTF8(geoposition.error_message)));
154 } 154 }
155 } 155 }
156 156
157 } // namespace content 157 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/geolocation_dispatcher.h ('k') | content/renderer/gpu/gpu_benchmarking_extension.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698