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 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
144 int request_id, | 144 int request_id, |
145 const std::vector<std::string>& event_platforms, | 145 const std::vector<std::string>& event_platforms, |
146 const base::Callback<void(bool)>& callback) override; | 146 const base::Callback<void(bool)>& callback) override; |
147 void ResolveBeforeInstallPromptPromise( | 147 void ResolveBeforeInstallPromptPromise( |
148 int request_id, | 148 int request_id, |
149 const std::string& platform) override; | 149 const std::string& platform) override; |
150 blink::WebPlugin* CreatePluginPlaceholder( | 150 blink::WebPlugin* CreatePluginPlaceholder( |
151 blink::WebLocalFrame* frame, | 151 blink::WebLocalFrame* frame, |
152 const blink::WebPluginParams& params) override; | 152 const blink::WebPluginParams& params) override; |
153 void OnWebTestProxyBaseDestroy(test_runner::WebTestProxyBase* proxy) override; | 153 void OnWebTestProxyBaseDestroy(test_runner::WebTestProxyBase* proxy) override; |
| 154 blink::WebPoint ConvertDIPToNative( |
| 155 const blink::WebPoint& point_in_dip) const override; |
154 | 156 |
155 void Reset(); | 157 void Reset(); |
156 | 158 |
157 void set_proxy(test_runner::WebTestProxyBase* proxy) { proxy_ = proxy; } | 159 void set_proxy(test_runner::WebTestProxyBase* proxy) { proxy_ = proxy; } |
158 test_runner::WebTestProxyBase* proxy() const { return proxy_; } | 160 test_runner::WebTestProxyBase* proxy() const { return proxy_; } |
159 | 161 |
160 void ReportLeakDetectionResult(const LeakDetectionResult& result); | 162 void ReportLeakDetectionResult(const LeakDetectionResult& result); |
161 | 163 |
162 private: | 164 private: |
163 // Message handlers. | 165 // Message handlers. |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
199 | 201 |
200 scoped_ptr<LeakDetector> leak_detector_; | 202 scoped_ptr<LeakDetector> leak_detector_; |
201 bool needs_leak_detector_; | 203 bool needs_leak_detector_; |
202 | 204 |
203 DISALLOW_COPY_AND_ASSIGN(BlinkTestRunner); | 205 DISALLOW_COPY_AND_ASSIGN(BlinkTestRunner); |
204 }; | 206 }; |
205 | 207 |
206 } // namespace content | 208 } // namespace content |
207 | 209 |
208 #endif // CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_ | 210 #endif // CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_ |
OLD | NEW |