| 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 <string> | 10 #include <string> |
| (...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 void EnableAutoResizeMode(RenderView* render_view, | 125 void EnableAutoResizeMode(RenderView* render_view, |
| 126 const blink::WebSize& min_size, | 126 const blink::WebSize& min_size, |
| 127 const blink::WebSize& max_size); | 127 const blink::WebSize& max_size); |
| 128 void DisableAutoResizeMode(RenderView* render_view, | 128 void DisableAutoResizeMode(RenderView* render_view, |
| 129 const blink::WebSize& new_size); | 129 const blink::WebSize& new_size); |
| 130 | 130 |
| 131 // Provides a text dump of the contents of the given page state. | 131 // Provides a text dump of the contents of the given page state. |
| 132 std::string DumpBackForwardList(std::vector<PageState>& page_state, | 132 std::string DumpBackForwardList(std::vector<PageState>& page_state, |
| 133 size_t current_index); | 133 size_t current_index); |
| 134 | 134 |
| 135 // Run all pending idle tasks immediately, and then invoke callback. |
| 136 void SchedulerRunIdleTasks(const base::Closure& callback); |
| 137 |
| 135 } // namespace content | 138 } // namespace content |
| 136 | 139 |
| 137 #endif // CONTENT_PUBLIC_TEST_LAYOUTTEST_SUPPORT_H_ | 140 #endif // CONTENT_PUBLIC_TEST_LAYOUTTEST_SUPPORT_H_ |
| OLD | NEW |