| 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> |
| 11 | 11 |
| 12 #include "base/callback_forward.h" | 12 #include "base/callback_forward.h" |
| 13 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
| 14 #include "third_party/WebKit/public/platform/WebString.h" | 14 #include "third_party/WebKit/public/platform/WebString.h" |
| 15 #include "third_party/WebKit/public/platform/WebURL.h" | 15 #include "third_party/WebKit/public/platform/WebURL.h" |
| 16 #include "third_party/WebKit/public/platform/WebVector.h" | 16 #include "third_party/WebKit/public/platform/WebVector.h" |
| 17 #include "third_party/WebKit/public/platform/modules/screen_orientation/WebScree
nOrientationType.h" | 17 #include "third_party/WebKit/public/platform/modules/screen_orientation/WebScree
nOrientationType.h" |
| 18 | 18 |
| 19 #define WEBTESTRUNNER_NEW_HISTORY_CAPTURE | 19 #define WEBTESTRUNNER_NEW_HISTORY_CAPTURE |
| 20 | 20 |
| 21 namespace base { | 21 namespace base { |
| 22 class DictionaryValue; | 22 class DictionaryValue; |
| 23 } | 23 } |
| 24 | 24 |
| 25 namespace blink { | 25 namespace blink { |
| 26 class WebDeviceMotionData; | 26 class WebDeviceMotionData; |
| 27 class WebDeviceOrientationData; | 27 class WebDeviceOrientationData; |
| 28 class WebLocalFrame; | 28 class WebFrame; |
| 29 class WebGamepad; | 29 class WebGamepad; |
| 30 class WebGamepads; | 30 class WebGamepads; |
| 31 class WebHistoryItem; | 31 class WebHistoryItem; |
| 32 class WebInputEvent; | 32 class WebInputEvent; |
| 33 class WebLayer; | 33 class WebLayer; |
| 34 class WebLocalFrame; | 34 class WebLocalFrame; |
| 35 class WebMediaStream; | 35 class WebMediaStream; |
| 36 class WebPlugin; | 36 class WebPlugin; |
| 37 struct WebPluginParams; | 37 struct WebPluginParams; |
| 38 struct WebPoint; | 38 struct WebPoint; |
| (...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 290 const std::string& platform) = 0; | 290 const std::string& platform) = 0; |
| 291 | 291 |
| 292 virtual blink::WebPlugin* CreatePluginPlaceholder( | 292 virtual blink::WebPlugin* CreatePluginPlaceholder( |
| 293 blink::WebLocalFrame* frame, | 293 blink::WebLocalFrame* frame, |
| 294 const blink::WebPluginParams& params) = 0; | 294 const blink::WebPluginParams& params) = 0; |
| 295 | 295 |
| 296 virtual float GetDeviceScaleFactor() const = 0; | 296 virtual float GetDeviceScaleFactor() const = 0; |
| 297 | 297 |
| 298 // Run all pending idle tasks, and then run callback. | 298 // Run all pending idle tasks, and then run callback. |
| 299 virtual void RunIdleTasks(const base::Closure& callback) = 0; | 299 virtual void RunIdleTasks(const base::Closure& callback) = 0; |
| 300 |
| 301 // Forces a text input state update for the client of WebFrameWidget |
| 302 // associated with |frame|. |
| 303 virtual void ForceTextInputStateUpdate(blink::WebFrame* frame) = 0; |
| 300 }; | 304 }; |
| 301 | 305 |
| 302 } // namespace test_runner | 306 } // namespace test_runner |
| 303 | 307 |
| 304 #endif // COMPONENTS_TEST_RUNNER_WEB_TEST_DELEGATE_H_ | 308 #endif // COMPONENTS_TEST_RUNNER_WEB_TEST_DELEGATE_H_ |
| OLD | NEW |