Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(242)

Side by Side Diff: content/shell/renderer/layout_test/blink_test_runner.h

Issue 2333813002: Introduce WebInputMethodController to blink (Closed)
Patch Set: Explicitly asking for TextInputState updates Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 <memory> 9 #include <memory>
10 #include <vector> 10 #include <vector>
(...skipping 13 matching lines...) Expand all
24 class SkBitmap; 24 class SkBitmap;
25 class SkCanvas; 25 class SkCanvas;
26 26
27 namespace base { 27 namespace base {
28 class DictionaryValue; 28 class DictionaryValue;
29 } 29 }
30 30
31 namespace blink { 31 namespace blink {
32 class WebDeviceMotionData; 32 class WebDeviceMotionData;
33 class WebDeviceOrientationData; 33 class WebDeviceOrientationData;
34 class WebFrame;
34 class WebView; 35 class WebView;
35 struct WebRect; 36 struct WebRect;
36 } 37 }
37 38
38 namespace test_runner { 39 namespace test_runner {
39 class AppBannerService; 40 class AppBannerService;
40 class WebViewTestProxyBase; 41 class WebViewTestProxyBase;
41 } 42 }
42 43
43 namespace content { 44 namespace content {
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 void DispatchBeforeInstallPromptEvent( 157 void DispatchBeforeInstallPromptEvent(
157 const std::vector<std::string>& event_platforms, 158 const std::vector<std::string>& event_platforms,
158 const base::Callback<void(bool)>& callback) override; 159 const base::Callback<void(bool)>& callback) override;
159 void ResolveBeforeInstallPromptPromise( 160 void ResolveBeforeInstallPromptPromise(
160 const std::string& platform) override; 161 const std::string& platform) override;
161 blink::WebPlugin* CreatePluginPlaceholder( 162 blink::WebPlugin* CreatePluginPlaceholder(
162 blink::WebLocalFrame* frame, 163 blink::WebLocalFrame* frame,
163 const blink::WebPluginParams& params) override; 164 const blink::WebPluginParams& params) override;
164 float GetDeviceScaleFactor() const override; 165 float GetDeviceScaleFactor() const override;
165 void RunIdleTasks(const base::Closure& callback) override; 166 void RunIdleTasks(const base::Closure& callback) override;
167 void ForceTextInputStateUpdate(blink::WebFrame* frame) override;
166 168
167 // Resets a RenderView to a known state for layout tests. It is used both when 169 // Resets a RenderView to a known state for layout tests. It is used both when
168 // a RenderView is created and when reusing an existing RenderView for the 170 // a RenderView is created and when reusing an existing RenderView for the
169 // next test case. 171 // next test case.
170 // When reusing an existing RenderView, |for_new_test| should be true, which 172 // When reusing an existing RenderView, |for_new_test| should be true, which
171 // also resets additional state, like the main frame's name and opener. 173 // also resets additional state, like the main frame's name and opener.
172 void Reset(bool for_new_test); 174 void Reset(bool for_new_test);
173 175
174 void ReportLeakDetectionResult(const LeakDetectionResult& result); 176 void ReportLeakDetectionResult(const LeakDetectionResult& result);
175 177
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 std::unique_ptr<test_runner::AppBannerService> app_banner_service_; 226 std::unique_ptr<test_runner::AppBannerService> app_banner_service_;
225 227
226 std::unique_ptr<LeakDetector> leak_detector_; 228 std::unique_ptr<LeakDetector> leak_detector_;
227 229
228 DISALLOW_COPY_AND_ASSIGN(BlinkTestRunner); 230 DISALLOW_COPY_AND_ASSIGN(BlinkTestRunner);
229 }; 231 };
230 232
231 } // namespace content 233 } // namespace content
232 234
233 #endif // CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_ 235 #endif // CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698