OLD | NEW |
---|---|
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_PUBLIC_TEST_LAYOUTTEST_SUPPORT_H_ | 5 #ifndef CONTENT_PUBLIC_TEST_LAYOUTTEST_SUPPORT_H_ |
6 #define CONTENT_PUBLIC_TEST_LAYOUTTEST_SUPPORT_H_ | 6 #define CONTENT_PUBLIC_TEST_LAYOUTTEST_SUPPORT_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
172 void DisableAutoResizeMode(RenderView* render_view, | 172 void DisableAutoResizeMode(RenderView* render_view, |
173 const blink::WebSize& new_size); | 173 const blink::WebSize& new_size); |
174 | 174 |
175 // Provides a text dump of the contents of the given page state. | 175 // Provides a text dump of the contents of the given page state. |
176 std::string DumpBackForwardList(std::vector<PageState>& page_state, | 176 std::string DumpBackForwardList(std::vector<PageState>& page_state, |
177 size_t current_index); | 177 size_t current_index); |
178 | 178 |
179 // Run all pending idle tasks immediately, and then invoke callback. | 179 // Run all pending idle tasks immediately, and then invoke callback. |
180 void SchedulerRunIdleTasks(const base::Closure& callback); | 180 void SchedulerRunIdleTasks(const base::Closure& callback); |
181 | 181 |
182 // Causes the RenderWidget corresponding to |render_frame| update its | |
Charlie Reis
2016/11/02 20:57:38
nit: to update
EhsanK
2016/11/02 22:16:34
Done.
| |
183 // TextInputState. | |
184 void ForceTextInputStateUpdateForRenderFrame(RenderFrame* render_frame); | |
185 | |
182 } // namespace content | 186 } // namespace content |
183 | 187 |
184 #endif // CONTENT_PUBLIC_TEST_LAYOUTTEST_SUPPORT_H_ | 188 #endif // CONTENT_PUBLIC_TEST_LAYOUTTEST_SUPPORT_H_ |
OLD | NEW |