| 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 <memory> | 8 #include <memory> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 namespace blink { | 25 namespace blink { |
| 26 class WebDeviceMotionData; | 26 class WebDeviceMotionData; |
| 27 class WebDeviceOrientationData; | 27 class WebDeviceOrientationData; |
| 28 class WebFrame; | 28 class WebFrame; |
| 29 class WebInputEvent; | 29 class WebInputEvent; |
| 30 class WebLocalFrame; | 30 class WebLocalFrame; |
| 31 class WebMediaStream; | 31 class WebMediaStream; |
| 32 class WebPlugin; | 32 class WebPlugin; |
| 33 struct WebPluginParams; | 33 struct WebPluginParams; |
| 34 struct WebSize; | 34 struct WebSize; |
| 35 class WebURLRequest; |
| 35 class WebURLResponse; | 36 class WebURLResponse; |
| 36 class WebView; | 37 class WebView; |
| 37 } | 38 } |
| 38 | 39 |
| 39 namespace cc { | 40 namespace cc { |
| 40 class SharedBitmapManager; | 41 class SharedBitmapManager; |
| 41 } | 42 } |
| 42 | 43 |
| 43 namespace test_runner { | 44 namespace test_runner { |
| 44 | 45 |
| (...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 284 const blink::WebPluginParams& params) = 0; | 285 const blink::WebPluginParams& params) = 0; |
| 285 | 286 |
| 286 virtual float GetDeviceScaleFactor() const = 0; | 287 virtual float GetDeviceScaleFactor() const = 0; |
| 287 | 288 |
| 288 // Run all pending idle tasks, and then run callback. | 289 // Run all pending idle tasks, and then run callback. |
| 289 virtual void RunIdleTasks(const base::Closure& callback) = 0; | 290 virtual void RunIdleTasks(const base::Closure& callback) = 0; |
| 290 | 291 |
| 291 // Forces a text input state update for the client of WebFrameWidget | 292 // Forces a text input state update for the client of WebFrameWidget |
| 292 // associated with |frame|. | 293 // associated with |frame|. |
| 293 virtual void ForceTextInputStateUpdate(blink::WebFrame* frame) = 0; | 294 virtual void ForceTextInputStateUpdate(blink::WebFrame* frame) = 0; |
| 295 |
| 296 // PlzNavigate |
| 297 // Indicates if the navigation was initiated by the browser or renderer. |
| 298 virtual bool IsNavigationInitiatedByRenderer( |
| 299 const blink::WebURLRequest& request) = 0; |
| 294 }; | 300 }; |
| 295 | 301 |
| 296 } // namespace test_runner | 302 } // namespace test_runner |
| 297 | 303 |
| 298 #endif // COMPONENTS_TEST_RUNNER_WEB_TEST_DELEGATE_H_ | 304 #endif // COMPONENTS_TEST_RUNNER_WEB_TEST_DELEGATE_H_ |
| OLD | NEW |