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

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

Issue 897563002: Unify the three places that patch font loading for PDFium on Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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
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/child/child_thread.h"
8 #include "content/public/common/geoposition.h" 7 #include "content/public/common/geoposition.h"
9 #include "content/renderer/render_view_impl.h" 8 #include "content/renderer/render_view_impl.h"
10 #include "third_party/WebKit/public/platform/WebString.h" 9 #include "third_party/WebKit/public/platform/WebString.h"
11 #include "third_party/WebKit/public/web/WebGeolocationPermissionRequest.h" 10 #include "third_party/WebKit/public/web/WebGeolocationPermissionRequest.h"
12 #include "third_party/WebKit/public/web/WebGeolocationPermissionRequestManager.h " 11 #include "third_party/WebKit/public/web/WebGeolocationPermissionRequestManager.h "
13 #include "third_party/WebKit/public/web/WebGeolocationClient.h" 12 #include "third_party/WebKit/public/web/WebGeolocationClient.h"
14 #include "third_party/WebKit/public/web/WebGeolocationPosition.h" 13 #include "third_party/WebKit/public/web/WebGeolocationPosition.h"
15 #include "third_party/WebKit/public/web/WebGeolocationError.h" 14 #include "third_party/WebKit/public/web/WebGeolocationError.h"
16 #include "third_party/WebKit/public/web/WebUserGestureIndicator.h" 15 #include "third_party/WebKit/public/web/WebUserGestureIndicator.h"
17 16
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 default: 143 default:
145 NOTREACHED() << geoposition->error_code; 144 NOTREACHED() << geoposition->error_code;
146 return; 145 return;
147 } 146 }
148 controller_->errorOccurred(WebGeolocationError( 147 controller_->errorOccurred(WebGeolocationError(
149 code, blink::WebString::fromUTF8(geoposition->error_message))); 148 code, blink::WebString::fromUTF8(geoposition->error_message)));
150 } 149 }
151 } 150 }
152 151
153 } // namespace content 152 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698