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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 virtual void didConnectGamepad(int index, | 59 virtual void didConnectGamepad(int index, |
60 const blink::WebGamepad& gamepad) OVERRIDE; | 60 const blink::WebGamepad& gamepad) OVERRIDE; |
61 virtual void didDisconnectGamepad(int index, | 61 virtual void didDisconnectGamepad(int index, |
62 const blink::WebGamepad& gamepad) OVERRIDE; | 62 const blink::WebGamepad& gamepad) OVERRIDE; |
63 virtual void setDeviceMotionData( | 63 virtual void setDeviceMotionData( |
64 const blink::WebDeviceMotionData& data) OVERRIDE; | 64 const blink::WebDeviceMotionData& data) OVERRIDE; |
65 virtual void setDeviceOrientationData( | 65 virtual void setDeviceOrientationData( |
66 const blink::WebDeviceOrientationData& data) OVERRIDE; | 66 const blink::WebDeviceOrientationData& data) OVERRIDE; |
67 virtual void setScreenOrientation( | 67 virtual void setScreenOrientation( |
68 const blink::WebScreenOrientationType& orientation) OVERRIDE; | 68 const blink::WebScreenOrientationType& orientation) OVERRIDE; |
| 69 virtual void resetScreenOrientation() OVERRIDE; |
69 virtual void printMessage(const std::string& message) OVERRIDE; | 70 virtual void printMessage(const std::string& message) OVERRIDE; |
70 virtual void postTask(WebTask* task) OVERRIDE; | 71 virtual void postTask(WebTask* task) OVERRIDE; |
71 virtual void postDelayedTask(WebTask* task, long long ms) OVERRIDE; | 72 virtual void postDelayedTask(WebTask* task, long long ms) OVERRIDE; |
72 virtual blink::WebString registerIsolatedFileSystem( | 73 virtual blink::WebString registerIsolatedFileSystem( |
73 const blink::WebVector<blink::WebString>& absolute_filenames) OVERRIDE; | 74 const blink::WebVector<blink::WebString>& absolute_filenames) OVERRIDE; |
74 virtual long long getCurrentTimeInMillisecond() OVERRIDE; | 75 virtual long long getCurrentTimeInMillisecond() OVERRIDE; |
75 virtual blink::WebString getAbsoluteWebStringFromUTF8Path( | 76 virtual blink::WebString getAbsoluteWebStringFromUTF8Path( |
76 const std::string& utf8_path) OVERRIDE; | 77 const std::string& utf8_path) OVERRIDE; |
77 virtual blink::WebURL localFileToDataURL( | 78 virtual blink::WebURL localFileToDataURL( |
78 const blink::WebURL& file_url) OVERRIDE; | 79 const blink::WebURL& file_url) OVERRIDE; |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
151 | 152 |
152 scoped_ptr<LeakDetector> leak_detector_; | 153 scoped_ptr<LeakDetector> leak_detector_; |
153 bool needs_leak_detector_; | 154 bool needs_leak_detector_; |
154 | 155 |
155 DISALLOW_COPY_AND_ASSIGN(WebKitTestRunner); | 156 DISALLOW_COPY_AND_ASSIGN(WebKitTestRunner); |
156 }; | 157 }; |
157 | 158 |
158 } // namespace content | 159 } // namespace content |
159 | 160 |
160 #endif // CONTENT_SHELL_WEBKIT_TEST_RUNNER_H_ | 161 #endif // CONTENT_SHELL_WEBKIT_TEST_RUNNER_H_ |
OLD | NEW |