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_SHELL_RENDERER_TEST_RUNNER_MOCK_SCREEN_ORIENTATION_CLIENT_H_ | 5 #ifndef COMPONENTS_TEST_RUNNER_MOCK_SCREEN_ORIENTATION_CLIENT_H_ |
6 #define CONTENT_SHELL_RENDERER_TEST_RUNNER_MOCK_SCREEN_ORIENTATION_CLIENT_H_ | 6 #define COMPONENTS_TEST_RUNNER_MOCK_SCREEN_ORIENTATION_CLIENT_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "third_party/WebKit/public/platform/WebLockOrientationCallback.h" | 9 #include "third_party/WebKit/public/platform/WebLockOrientationCallback.h" |
10 #include "third_party/WebKit/public/platform/WebScreenOrientationClient.h" | 10 #include "third_party/WebKit/public/platform/WebScreenOrientationClient.h" |
11 #include "third_party/WebKit/public/platform/WebScreenOrientationLockType.h" | 11 #include "third_party/WebKit/public/platform/WebScreenOrientationLockType.h" |
12 #include "third_party/WebKit/public/platform/WebScreenOrientationType.h" | 12 #include "third_party/WebKit/public/platform/WebScreenOrientationType.h" |
13 | 13 |
14 namespace blink { | 14 namespace blink { |
15 class WebLocalFrame; | 15 class WebLocalFrame; |
16 } | 16 } |
(...skipping 30 matching lines...) Expand all Loading... |
47 blink::WebLocalFrame* main_frame_; | 47 blink::WebLocalFrame* main_frame_; |
48 blink::WebScreenOrientationLockType current_lock_; | 48 blink::WebScreenOrientationLockType current_lock_; |
49 blink::WebScreenOrientationType device_orientation_; | 49 blink::WebScreenOrientationType device_orientation_; |
50 blink::WebScreenOrientationType current_orientation_; | 50 blink::WebScreenOrientationType current_orientation_; |
51 | 51 |
52 DISALLOW_COPY_AND_ASSIGN(MockScreenOrientationClient); | 52 DISALLOW_COPY_AND_ASSIGN(MockScreenOrientationClient); |
53 }; | 53 }; |
54 | 54 |
55 } // namespace content | 55 } // namespace content |
56 | 56 |
57 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_MOCK_SCREEN_ORIENTATION_CLIENT_H_ | 57 #endif // COMPONENTS_TEST_RUNNER_MOCK_SCREEN_ORIENTATION_CLIENT_H_ |
OLD | NEW |