| 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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 virtual void DidCommitProvisionalLoad(blink::WebLocalFrame* frame, | 49 virtual void DidCommitProvisionalLoad(blink::WebLocalFrame* frame, |
| 50 bool is_new_navigation) OVERRIDE; | 50 bool is_new_navigation) OVERRIDE; |
| 51 virtual void DidFailProvisionalLoad(blink::WebLocalFrame* frame, | 51 virtual 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 virtual void clearEditCommand() OVERRIDE; | 55 virtual void clearEditCommand() OVERRIDE; |
| 56 virtual void setEditCommand(const std::string& name, | 56 virtual void setEditCommand(const std::string& name, |
| 57 const std::string& value) OVERRIDE; | 57 const std::string& value) OVERRIDE; |
| 58 virtual void setGamepadProvider(RendererGamepadProvider*) OVERRIDE; | 58 virtual void setGamepadProvider(RendererGamepadProvider*) OVERRIDE; |
| 59 virtual void setDeviceLightData(const double data) OVERRIDE; |
| 59 virtual void setDeviceMotionData( | 60 virtual void setDeviceMotionData( |
| 60 const blink::WebDeviceMotionData& data) OVERRIDE; | 61 const blink::WebDeviceMotionData& data) OVERRIDE; |
| 61 virtual void setDeviceOrientationData( | 62 virtual void setDeviceOrientationData( |
| 62 const blink::WebDeviceOrientationData& data) OVERRIDE; | 63 const blink::WebDeviceOrientationData& data) OVERRIDE; |
| 63 virtual void setScreenOrientation( | 64 virtual void setScreenOrientation( |
| 64 const blink::WebScreenOrientationType& orientation) OVERRIDE; | 65 const blink::WebScreenOrientationType& orientation) OVERRIDE; |
| 65 virtual void resetScreenOrientation() OVERRIDE; | 66 virtual void resetScreenOrientation() OVERRIDE; |
| 66 virtual void didChangeBatteryStatus( | 67 virtual void didChangeBatteryStatus( |
| 67 const blink::WebBatteryStatus& status) OVERRIDE; | 68 const blink::WebBatteryStatus& status) OVERRIDE; |
| 68 virtual void printMessage(const std::string& message) OVERRIDE; | 69 virtual void printMessage(const std::string& message) OVERRIDE; |
| (...skipping 82 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 |