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_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_ | 5 #ifndef CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_ |
6 #define CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_ | 6 #define CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 void Navigate(const GURL& url) override; | 48 void Navigate(const GURL& url) override; |
49 void DidCommitProvisionalLoad(blink::WebLocalFrame* frame, | 49 void DidCommitProvisionalLoad(blink::WebLocalFrame* frame, |
50 bool is_new_navigation) override; | 50 bool is_new_navigation) override; |
51 void DidFailProvisionalLoad(blink::WebLocalFrame* frame, | 51 void DidFailProvisionalLoad(blink::WebLocalFrame* frame, |
52 const blink::WebURLError& error) override; | 52 const blink::WebURLError& error) override; |
53 | 53 |
54 // WebTestDelegate implementation. | 54 // WebTestDelegate implementation. |
55 void ClearEditCommand() override; | 55 void ClearEditCommand() override; |
56 void SetEditCommand(const std::string& name, | 56 void SetEditCommand(const std::string& name, |
57 const std::string& value) override; | 57 const std::string& value) override; |
58 void SetGamepadProvider(scoped_ptr<RendererGamepadProvider>) override; | 58 void SetGamepadProvider(GamepadController* controller) 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 PrintMessage(const std::string& message) override; | 67 void PrintMessage(const std::string& message) override; |
68 void PostTask(WebTask* task) override; | 68 void PostTask(WebTask* task) override; |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
157 | 157 |
158 scoped_ptr<LeakDetector> leak_detector_; | 158 scoped_ptr<LeakDetector> leak_detector_; |
159 bool needs_leak_detector_; | 159 bool needs_leak_detector_; |
160 | 160 |
161 DISALLOW_COPY_AND_ASSIGN(BlinkTestRunner); | 161 DISALLOW_COPY_AND_ASSIGN(BlinkTestRunner); |
162 }; | 162 }; |
163 | 163 |
164 } // namespace content | 164 } // namespace content |
165 | 165 |
166 #endif // CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_ | 166 #endif // CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_ |
OLD | NEW |