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 WebFrame; | 28 class WebFrame; |
29 class WebGamepad; | |
30 class WebGamepads; | |
31 class WebHistoryItem; | |
32 class WebInputEvent; | 29 class WebInputEvent; |
33 class WebLayer; | |
34 class WebLocalFrame; | 30 class WebLocalFrame; |
35 class WebMediaStream; | 31 class WebMediaStream; |
36 class WebPlugin; | 32 class WebPlugin; |
37 struct WebPluginParams; | 33 struct WebPluginParams; |
38 struct WebPoint; | |
39 struct WebRect; | |
40 struct WebSize; | 34 struct WebSize; |
41 struct WebURLError; | |
42 class WebURLResponse; | 35 class WebURLResponse; |
43 class WebView; | 36 class WebView; |
44 } | 37 } |
45 | 38 |
46 namespace cc { | 39 namespace cc { |
47 class TextureLayer; | |
48 class TextureLayerClient; | |
49 class SharedBitmapManager; | 40 class SharedBitmapManager; |
50 } | 41 } |
51 | 42 |
52 namespace test_runner { | 43 namespace test_runner { |
53 | 44 |
54 class DeviceLightData; | |
55 class GamepadController; | 45 class GamepadController; |
56 class WebTask; | 46 class WebTask; |
57 class WebWidgetTestProxyBase; | 47 class WebWidgetTestProxyBase; |
58 struct TestPreferences; | 48 struct TestPreferences; |
59 | 49 |
60 class WebTestDelegate { | 50 class WebTestDelegate { |
61 public: | 51 public: |
62 // Set and clear the edit command to execute on the next call to | 52 // Set and clear the edit command to execute on the next call to |
63 // WebViewClient::handleCurrentKeyboardEvent(). | 53 // WebViewClient::handleCurrentKeyboardEvent(). |
64 virtual void ClearEditCommand() = 0; | 54 virtual void ClearEditCommand() = 0; |
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
299 virtual void RunIdleTasks(const base::Closure& callback) = 0; | 289 virtual void RunIdleTasks(const base::Closure& callback) = 0; |
300 | 290 |
301 // Forces a text input state update for the client of WebFrameWidget | 291 // Forces a text input state update for the client of WebFrameWidget |
302 // associated with |frame|. | 292 // associated with |frame|. |
303 virtual void ForceTextInputStateUpdate(blink::WebFrame* frame) = 0; | 293 virtual void ForceTextInputStateUpdate(blink::WebFrame* frame) = 0; |
304 }; | 294 }; |
305 | 295 |
306 } // namespace test_runner | 296 } // namespace test_runner |
307 | 297 |
308 #endif // COMPONENTS_TEST_RUNNER_WEB_TEST_DELEGATE_H_ | 298 #endif // COMPONENTS_TEST_RUNNER_WEB_TEST_DELEGATE_H_ |
OLD | NEW |