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

Side by Side Diff: content/public/browser/content_browser_client.cc

Issue 150153004: [WIP] Add Chromium-side support for the Screen Orientation API (Closed) Base URL: https://git.chromium.org/chromium/src.git@master
Patch Set: Updated by review comments. Created 6 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
« no previous file with comments | « content/public/browser/content_browser_client.h ('k') | content/renderer/render_view_impl.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 // 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/public/browser/content_browser_client.h" 5 #include "content/public/browser/content_browser_client.h"
6 6
7 #include "base/files/file_path.h" 7 #include "base/files/file_path.h"
8 #include "ui/gfx/image/image_skia.h" 8 #include "ui/gfx/image/image_skia.h"
9 #include "url/gurl.h" 9 #include "url/gurl.h"
10 10
(...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after
285 } 285 }
286 286
287 LocationProvider* ContentBrowserClient::OverrideSystemLocationProvider() { 287 LocationProvider* ContentBrowserClient::OverrideSystemLocationProvider() {
288 return NULL; 288 return NULL;
289 } 289 }
290 290
291 VibrationProvider* ContentBrowserClient::OverrideVibrationProvider() { 291 VibrationProvider* ContentBrowserClient::OverrideVibrationProvider() {
292 return NULL; 292 return NULL;
293 } 293 }
294 294
295 ScreenOrientationProvider*
296 ContentBrowserClient::OverrideScreenOrientationProvider() {
297 return NULL;
298 }
299
295 #if defined(OS_WIN) 300 #if defined(OS_WIN)
296 const wchar_t* ContentBrowserClient::GetResourceDllName() { 301 const wchar_t* ContentBrowserClient::GetResourceDllName() {
297 return NULL; 302 return NULL;
298 } 303 }
299 #endif 304 #endif
300 305
301 bool ContentBrowserClient::IsPluginAllowedToCallRequestOSFileHandle( 306 bool ContentBrowserClient::IsPluginAllowedToCallRequestOSFileHandle(
302 content::BrowserContext* browser_context, 307 content::BrowserContext* browser_context,
303 const GURL& url) { 308 const GURL& url) {
304 return false; 309 return false;
305 } 310 }
306 311
307 bool ContentBrowserClient::IsPluginAllowedToUseDevChannelAPIs() { 312 bool ContentBrowserClient::IsPluginAllowedToUseDevChannelAPIs() {
308 return false; 313 return false;
309 } 314 }
310 315
311 } // namespace content 316 } // namespace content
OLDNEW
« no previous file with comments | « content/public/browser/content_browser_client.h ('k') | content/renderer/render_view_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698