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 "base/macros.h" |
9 #include "third_party/WebKit/public/platform/WebScreenOrientationLockType.h" | 9 #include "third_party/WebKit/public/platform/WebScreenOrientationLockType.h" |
10 | 10 |
(...skipping 25 matching lines...) Expand all Loading... |
36 | 36 |
37 static ScreenOrientationProvider* Create( | 37 static ScreenOrientationProvider* Create( |
38 ScreenOrientationDispatcherHost* dispatcher_host, | 38 ScreenOrientationDispatcherHost* dispatcher_host, |
39 WebContents* web_contents); | 39 WebContents* web_contents); |
40 | 40 |
41 ScreenOrientationProvider() {} | 41 ScreenOrientationProvider() {} |
42 | 42 |
43 DISALLOW_COPY_AND_ASSIGN(ScreenOrientationProvider); | 43 DISALLOW_COPY_AND_ASSIGN(ScreenOrientationProvider); |
44 }; | 44 }; |
45 | 45 |
46 #if !defined(OS_ANDROID) | |
47 // static | |
48 ScreenOrientationProvider* ScreenOrientationProvider::Create( | |
49 ScreenOrientationDispatcherHost* dispatcher_host, | |
50 WebContents* web_contents) { | |
51 return NULL; | |
52 } | |
53 #endif // !defined(OS_ANDROID) | |
54 | |
55 } // namespace content | 46 } // namespace content |
56 | 47 |
57 #endif // CONTENT_BROWSER_SCREEN_ORIENTATION_SCREEN_ORIENTATION_PROVIDER_H_ | 48 #endif // CONTENT_BROWSER_SCREEN_ORIENTATION_SCREEN_ORIENTATION_PROVIDER_H_ |
OLD | NEW |