| 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 <deque> | 8 #include <deque> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 152 void DispatchBeforeInstallPromptEvent( | 152 void DispatchBeforeInstallPromptEvent( |
| 153 int request_id, | 153 int request_id, |
| 154 const std::vector<std::string>& event_platforms, | 154 const std::vector<std::string>& event_platforms, |
| 155 const base::Callback<void(bool)>& callback) override; | 155 const base::Callback<void(bool)>& callback) override; |
| 156 void ResolveBeforeInstallPromptPromise( | 156 void ResolveBeforeInstallPromptPromise( |
| 157 int request_id, | 157 int request_id, |
| 158 const std::string& platform) override; | 158 const std::string& platform) override; |
| 159 blink::WebPlugin* CreatePluginPlaceholder( | 159 blink::WebPlugin* CreatePluginPlaceholder( |
| 160 blink::WebLocalFrame* frame, | 160 blink::WebLocalFrame* frame, |
| 161 const blink::WebPluginParams& params) override; | 161 const blink::WebPluginParams& params) override; |
| 162 void OnWebTestProxyBaseDestroy(test_runner::WebTestProxyBase* proxy) override; | |
| 163 blink::WebPoint ConvertDIPToNative( | 162 blink::WebPoint ConvertDIPToNative( |
| 164 const blink::WebPoint& point_in_dip) const override; | 163 const blink::WebPoint& point_in_dip) const override; |
| 165 | 164 |
| 166 // Resets a RenderView to a known state for layout tests. It is used both when | 165 // Resets a RenderView to a known state for layout tests. It is used both when |
| 167 // a RenderView is created and when reusing an existing RenderView for the | 166 // a RenderView is created and when reusing an existing RenderView for the |
| 168 // next test case. | 167 // next test case. |
| 169 // When reusing an existing RenderView, |for_new_test| should be true, which | 168 // When reusing an existing RenderView, |for_new_test| should be true, which |
| 170 // also resets additional state, like the main frame's name and opener. | 169 // also resets additional state, like the main frame's name and opener. |
| 171 void Reset(bool for_new_test); | 170 void Reset(bool for_new_test); |
| 172 | 171 |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 219 bool focus_on_next_commit_; | 218 bool focus_on_next_commit_; |
| 220 | 219 |
| 221 scoped_ptr<LeakDetector> leak_detector_; | 220 scoped_ptr<LeakDetector> leak_detector_; |
| 222 | 221 |
| 223 DISALLOW_COPY_AND_ASSIGN(BlinkTestRunner); | 222 DISALLOW_COPY_AND_ASSIGN(BlinkTestRunner); |
| 224 }; | 223 }; |
| 225 | 224 |
| 226 } // namespace content | 225 } // namespace content |
| 227 | 226 |
| 228 #endif // CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_ | 227 #endif // CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_ |
| OLD | NEW |