OLD | NEW |
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 Loading... |
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_ |
OLD | NEW |