| 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 <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 95 // See http://crbug.com/309760 for details. | 95 // See http://crbug.com/309760 for details. |
| 96 void UseSynchronousResizeMode(RenderView* render_view, bool enable); | 96 void UseSynchronousResizeMode(RenderView* render_view, bool enable); |
| 97 | 97 |
| 98 // Control auto resize mode. | 98 // Control auto resize mode. |
| 99 void EnableAutoResizeMode(RenderView* render_view, | 99 void EnableAutoResizeMode(RenderView* render_view, |
| 100 const blink::WebSize& min_size, | 100 const blink::WebSize& min_size, |
| 101 const blink::WebSize& max_size); | 101 const blink::WebSize& max_size); |
| 102 void DisableAutoResizeMode(RenderView* render_view, | 102 void DisableAutoResizeMode(RenderView* render_view, |
| 103 const blink::WebSize& new_size); | 103 const blink::WebSize& new_size); |
| 104 | 104 |
| 105 // Forces the |render_frame| to use mock media streams. | |
| 106 void UseMockMediaStreams(RenderFrame* render_frame); | |
| 107 | |
| 108 // Provides a text dump of the contents of the given page state. | 105 // Provides a text dump of the contents of the given page state. |
| 109 std::string DumpBackForwardList(std::vector<PageState>& page_state, | 106 std::string DumpBackForwardList(std::vector<PageState>& page_state, |
| 110 size_t current_index); | 107 size_t current_index); |
| 111 | 108 |
| 112 } // namespace content | 109 } // namespace content |
| 113 | 110 |
| 114 #endif // CONTENT_PUBLIC_TEST_LAYOUTTEST_SUPPORT_H_ | 111 #endif // CONTENT_PUBLIC_TEST_LAYOUTTEST_SUPPORT_H_ |
| OLD | NEW |