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

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

Issue 2333813002: Introduce WebInputMethodController to blink (Closed)
Patch Set: Rebased 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 12 matching lines...) Expand all
23 23
24 class SkBitmap; 24 class SkBitmap;
25 25
26 namespace base { 26 namespace base {
27 class DictionaryValue; 27 class DictionaryValue;
28 } 28 }
29 29
30 namespace blink { 30 namespace blink {
31 class WebDeviceMotionData; 31 class WebDeviceMotionData;
32 class WebDeviceOrientationData; 32 class WebDeviceOrientationData;
33 class WebFrame;
33 class WebView; 34 class WebView;
34 } 35 }
35 36
36 namespace test_runner { 37 namespace test_runner {
37 class AppBannerService; 38 class AppBannerService;
38 } 39 }
39 40
40 namespace content { 41 namespace content {
41 42
42 class LeakDetector; 43 class LeakDetector;
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 void DispatchBeforeInstallPromptEvent( 154 void DispatchBeforeInstallPromptEvent(
154 const std::vector<std::string>& event_platforms, 155 const std::vector<std::string>& event_platforms,
155 const base::Callback<void(bool)>& callback) override; 156 const base::Callback<void(bool)>& callback) override;
156 void ResolveBeforeInstallPromptPromise( 157 void ResolveBeforeInstallPromptPromise(
157 const std::string& platform) override; 158 const std::string& platform) override;
158 blink::WebPlugin* CreatePluginPlaceholder( 159 blink::WebPlugin* CreatePluginPlaceholder(
159 blink::WebLocalFrame* frame, 160 blink::WebLocalFrame* frame,
160 const blink::WebPluginParams& params) override; 161 const blink::WebPluginParams& params) override;
161 float GetDeviceScaleFactor() const override; 162 float GetDeviceScaleFactor() const override;
162 void RunIdleTasks(const base::Closure& callback) override; 163 void RunIdleTasks(const base::Closure& callback) override;
164 void ForceTextInputStateUpdate(blink::WebFrame* frame) override;
163 165
164 // Resets a RenderView to a known state for layout tests. It is used both when 166 // Resets a RenderView to a known state for layout tests. It is used both when
165 // a RenderView is created and when reusing an existing RenderView for the 167 // a RenderView is created and when reusing an existing RenderView for the
166 // next test case. 168 // next test case.
167 // When reusing an existing RenderView, |for_new_test| should be true, which 169 // When reusing an existing RenderView, |for_new_test| should be true, which
168 // also resets additional state, like the main frame's name and opener. 170 // also resets additional state, like the main frame's name and opener.
169 void Reset(bool for_new_test); 171 void Reset(bool for_new_test);
170 172
171 void ReportLeakDetectionResult(const LeakDetectionResult& result); 173 void ReportLeakDetectionResult(const LeakDetectionResult& result);
172 174
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 std::unique_ptr<test_runner::AppBannerService> app_banner_service_; 223 std::unique_ptr<test_runner::AppBannerService> app_banner_service_;
222 224
223 std::unique_ptr<LeakDetector> leak_detector_; 225 std::unique_ptr<LeakDetector> leak_detector_;
224 226
225 DISALLOW_COPY_AND_ASSIGN(BlinkTestRunner); 227 DISALLOW_COPY_AND_ASSIGN(BlinkTestRunner);
226 }; 228 };
227 229
228 } // namespace content 230 } // namespace content
229 231
230 #endif // CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_ 232 #endif // CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_
OLDNEW
« no previous file with comments | « content/renderer/render_widget_browsertest.cc ('k') | content/shell/renderer/layout_test/blink_test_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698