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

Side by Side Diff: content/browser/screen_orientation/screen_orientation_provider.h

Issue 410173002: Make ScreenOrientationProvider (Java) a bag of static methods. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 5 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #ifndef CONTENT_BROWSER_SCREEN_ORIENTATION_SCREEN_ORIENTATION_PROVIDER_H_ 5 #ifndef CONTENT_BROWSER_SCREEN_ORIENTATION_SCREEN_ORIENTATION_PROVIDER_H_
6 #define CONTENT_BROWSER_SCREEN_ORIENTATION_SCREEN_ORIENTATION_PROVIDER_H_ 6 #define CONTENT_BROWSER_SCREEN_ORIENTATION_SCREEN_ORIENTATION_PROVIDER_H_
7 7
8 #include "base/macros.h"
8 #include "third_party/WebKit/public/platform/WebScreenOrientationLockType.h" 9 #include "third_party/WebKit/public/platform/WebScreenOrientationLockType.h"
9 10
10 namespace content { 11 namespace content {
11 12
12 class ScreenOrientationDispatcherHost; 13 class ScreenOrientationDispatcherHost;
13 class WebContents; 14 class WebContents;
14 15
15 // Interface that needs to be implemented by any backend that wants to handle 16 // Interface that needs to be implemented by any backend that wants to handle
16 // screen orientation lock/unlock. 17 // screen orientation lock/unlock.
17 class ScreenOrientationProvider { 18 class ScreenOrientationProvider {
(...skipping 29 matching lines...) Expand all
47 ScreenOrientationProvider* ScreenOrientationProvider::Create( 48 ScreenOrientationProvider* ScreenOrientationProvider::Create(
48 ScreenOrientationDispatcherHost* dispatcher_host, 49 ScreenOrientationDispatcherHost* dispatcher_host,
49 WebContents* web_contents) { 50 WebContents* web_contents) {
50 return NULL; 51 return NULL;
51 } 52 }
52 #endif // !defined(OS_ANDROID) 53 #endif // !defined(OS_ANDROID)
53 54
54 } // namespace content 55 } // namespace content
55 56
56 #endif // CONTENT_BROWSER_SCREEN_ORIENTATION_SCREEN_ORIENTATION_PROVIDER_H_ 57 #endif // CONTENT_BROWSER_SCREEN_ORIENTATION_SCREEN_ORIENTATION_PROVIDER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698