| 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; | |
| 68 void ResetPresentationService() override; | |
| 69 void PrintMessage(const std::string& message) override; | 67 void PrintMessage(const std::string& message) override; |
| 70 void PostTask(WebTask* task) override; | 68 void PostTask(WebTask* task) override; |
| 71 void PostDelayedTask(WebTask* task, long long ms) override; | 69 void PostDelayedTask(WebTask* task, long long ms) override; |
| 72 blink::WebString RegisterIsolatedFileSystem( | 70 blink::WebString RegisterIsolatedFileSystem( |
| 73 const blink::WebVector<blink::WebString>& absolute_filenames) override; | 71 const blink::WebVector<blink::WebString>& absolute_filenames) override; |
| 74 long long GetCurrentTimeInMillisecond() override; | 72 long long GetCurrentTimeInMillisecond() override; |
| 75 blink::WebString GetAbsoluteWebStringFromUTF8Path( | 73 blink::WebString GetAbsoluteWebStringFromUTF8Path( |
| 76 const std::string& utf8_path) override; | 74 const std::string& utf8_path) override; |
| 77 blink::WebURL LocalFileToDataURL(const blink::WebURL& file_url) override; | 75 blink::WebURL LocalFileToDataURL(const blink::WebURL& file_url) override; |
| 78 blink::WebURL RewriteLayoutTestsURL(const std::string& utf8_url) override; | 76 blink::WebURL RewriteLayoutTestsURL(const std::string& utf8_url) override; |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 159 | 157 |
| 160 scoped_ptr<LeakDetector> leak_detector_; | 158 scoped_ptr<LeakDetector> leak_detector_; |
| 161 bool needs_leak_detector_; | 159 bool needs_leak_detector_; |
| 162 | 160 |
| 163 DISALLOW_COPY_AND_ASSIGN(WebKitTestRunner); | 161 DISALLOW_COPY_AND_ASSIGN(WebKitTestRunner); |
| 164 }; | 162 }; |
| 165 | 163 |
| 166 } // namespace content | 164 } // namespace content |
| 167 | 165 |
| 168 #endif // CONTENT_SHELL_WEBKIT_TEST_RUNNER_H_ | 166 #endif // CONTENT_SHELL_WEBKIT_TEST_RUNNER_H_ |
| OLD | NEW |