| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 COMPONENTS_TEST_RUNNER_WEB_TEST_DELEGATE_H_ | 5 #ifndef COMPONENTS_TEST_RUNNER_WEB_TEST_DELEGATE_H_ |
| 6 #define COMPONENTS_TEST_RUNNER_WEB_TEST_DELEGATE_H_ | 6 #define COMPONENTS_TEST_RUNNER_WEB_TEST_DELEGATE_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 class WebDeviceOrientationData; | 23 class WebDeviceOrientationData; |
| 24 class WebFrame; | 24 class WebFrame; |
| 25 class WebGamepad; | 25 class WebGamepad; |
| 26 class WebGamepads; | 26 class WebGamepads; |
| 27 class WebHistoryItem; | 27 class WebHistoryItem; |
| 28 class WebLayer; | 28 class WebLayer; |
| 29 class WebLocalFrame; | 29 class WebLocalFrame; |
| 30 class WebMediaStream; | 30 class WebMediaStream; |
| 31 class WebPlugin; | 31 class WebPlugin; |
| 32 struct WebPluginParams; | 32 struct WebPluginParams; |
| 33 struct WebPoint; | |
| 34 struct WebRect; | 33 struct WebRect; |
| 35 struct WebSize; | 34 struct WebSize; |
| 36 struct WebURLError; | 35 struct WebURLError; |
| 37 class WebURLResponse; | 36 class WebURLResponse; |
| 38 class WebView; | 37 class WebView; |
| 39 } | 38 } |
| 40 | 39 |
| 41 namespace cc { | 40 namespace cc { |
| 42 class TextureLayer; | 41 class TextureLayer; |
| 43 class TextureLayerClient; | 42 class TextureLayerClient; |
| (...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 277 // 'accepted', otherwise it will be 'dismissed'. | 276 // 'accepted', otherwise it will be 'dismissed'. |
| 278 virtual void ResolveBeforeInstallPromptPromise( | 277 virtual void ResolveBeforeInstallPromptPromise( |
| 279 int request_id, | 278 int request_id, |
| 280 const std::string& platform) = 0; | 279 const std::string& platform) = 0; |
| 281 | 280 |
| 282 virtual blink::WebPlugin* CreatePluginPlaceholder( | 281 virtual blink::WebPlugin* CreatePluginPlaceholder( |
| 283 blink::WebLocalFrame* frame, | 282 blink::WebLocalFrame* frame, |
| 284 const blink::WebPluginParams& params) = 0; | 283 const blink::WebPluginParams& params) = 0; |
| 285 | 284 |
| 286 virtual void OnWebTestProxyBaseDestroy(WebTestProxyBase* proxy) = 0; | 285 virtual void OnWebTestProxyBaseDestroy(WebTestProxyBase* proxy) = 0; |
| 287 | |
| 288 // Convert the position in DIP to native coordinates. | |
| 289 virtual blink::WebPoint ConvertDIPToNative( | |
| 290 const blink::WebPoint& point_in_dip) const = 0; | |
| 291 }; | 286 }; |
| 292 | 287 |
| 293 } // namespace test_runner | 288 } // namespace test_runner |
| 294 | 289 |
| 295 #endif // COMPONENTS_TEST_RUNNER_WEB_TEST_DELEGATE_H_ | 290 #endif // COMPONENTS_TEST_RUNNER_WEB_TEST_DELEGATE_H_ |
| OLD | NEW |