OLD | NEW |
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 #ifndef CONTENT_SHELL_WEBKIT_TEST_RUNNER_H_ | 5 #ifndef CONTENT_SHELL_WEBKIT_TEST_RUNNER_H_ |
6 #define CONTENT_SHELL_WEBKIT_TEST_RUNNER_H_ | 6 #define CONTENT_SHELL_WEBKIT_TEST_RUNNER_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 const std::string& value) override; | 57 const std::string& value) override; |
58 void SetGamepadProvider(scoped_ptr<RendererGamepadProvider>) override; | 58 void SetGamepadProvider(scoped_ptr<RendererGamepadProvider>) override; |
59 void SetDeviceLightData(const double data) override; | 59 void SetDeviceLightData(const double data) override; |
60 void SetDeviceMotionData(const blink::WebDeviceMotionData& data) override; | 60 void SetDeviceMotionData(const blink::WebDeviceMotionData& data) override; |
61 void SetDeviceOrientationData( | 61 void SetDeviceOrientationData( |
62 const blink::WebDeviceOrientationData& data) override; | 62 const blink::WebDeviceOrientationData& data) override; |
63 void SetScreenOrientation( | 63 void SetScreenOrientation( |
64 const blink::WebScreenOrientationType& orientation) override; | 64 const blink::WebScreenOrientationType& orientation) override; |
65 void ResetScreenOrientation() override; | 65 void ResetScreenOrientation() override; |
66 void DidChangeBatteryStatus(const blink::WebBatteryStatus& status) override; | 66 void DidChangeBatteryStatus(const blink::WebBatteryStatus& status) override; |
| 67 void SetScreenAvailability(bool available) override; |
67 void PrintMessage(const std::string& message) override; | 68 void PrintMessage(const std::string& message) override; |
68 void PostTask(WebTask* task) override; | 69 void PostTask(WebTask* task) override; |
69 void PostDelayedTask(WebTask* task, long long ms) override; | 70 void PostDelayedTask(WebTask* task, long long ms) override; |
70 blink::WebString RegisterIsolatedFileSystem( | 71 blink::WebString RegisterIsolatedFileSystem( |
71 const blink::WebVector<blink::WebString>& absolute_filenames) override; | 72 const blink::WebVector<blink::WebString>& absolute_filenames) override; |
72 long long GetCurrentTimeInMillisecond() override; | 73 long long GetCurrentTimeInMillisecond() override; |
73 blink::WebString GetAbsoluteWebStringFromUTF8Path( | 74 blink::WebString GetAbsoluteWebStringFromUTF8Path( |
74 const std::string& utf8_path) override; | 75 const std::string& utf8_path) override; |
75 blink::WebURL LocalFileToDataURL(const blink::WebURL& file_url) override; | 76 blink::WebURL LocalFileToDataURL(const blink::WebURL& file_url) override; |
76 blink::WebURL RewriteLayoutTestsURL(const std::string& utf8_url) override; | 77 blink::WebURL RewriteLayoutTestsURL(const std::string& utf8_url) override; |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
157 | 158 |
158 scoped_ptr<LeakDetector> leak_detector_; | 159 scoped_ptr<LeakDetector> leak_detector_; |
159 bool needs_leak_detector_; | 160 bool needs_leak_detector_; |
160 | 161 |
161 DISALLOW_COPY_AND_ASSIGN(WebKitTestRunner); | 162 DISALLOW_COPY_AND_ASSIGN(WebKitTestRunner); |
162 }; | 163 }; |
163 | 164 |
164 } // namespace content | 165 } // namespace content |
165 | 166 |
166 #endif // CONTENT_SHELL_WEBKIT_TEST_RUNNER_H_ | 167 #endif // CONTENT_SHELL_WEBKIT_TEST_RUNNER_H_ |
OLD | NEW |