| 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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 118 void EnableAutoResizeMode(RenderView* render_view, | 118 void EnableAutoResizeMode(RenderView* render_view, |
| 119 const blink::WebSize& min_size, | 119 const blink::WebSize& min_size, |
| 120 const blink::WebSize& max_size); | 120 const blink::WebSize& max_size); |
| 121 void DisableAutoResizeMode(RenderView* render_view, | 121 void DisableAutoResizeMode(RenderView* render_view, |
| 122 const blink::WebSize& new_size); | 122 const blink::WebSize& new_size); |
| 123 | 123 |
| 124 // Provides a text dump of the contents of the given page state. | 124 // Provides a text dump of the contents of the given page state. |
| 125 std::string DumpBackForwardList(std::vector<PageState>& page_state, | 125 std::string DumpBackForwardList(std::vector<PageState>& page_state, |
| 126 size_t current_index); | 126 size_t current_index); |
| 127 | 127 |
| 128 // Creates cc::TextureLayer for TestPlugin. |
| 129 scoped_refptr<cc::TextureLayer> CreateTextureLayerForMailbox( |
| 130 cc::TextureLayerClient* client); |
| 131 |
| 128 // Instantiates WebLayerImpl for TestPlugin. | 132 // Instantiates WebLayerImpl for TestPlugin. |
| 129 blink::WebLayer* InstantiateWebLayer(scoped_refptr<cc::TextureLayer> layer); | 133 blink::WebLayer* InstantiateWebLayer(scoped_refptr<cc::TextureLayer> layer); |
| 130 | 134 |
| 131 } // namespace content | 135 } // namespace content |
| 132 | 136 |
| 133 #endif // CONTENT_PUBLIC_TEST_LAYOUTTEST_SUPPORT_H_ | 137 #endif // CONTENT_PUBLIC_TEST_LAYOUTTEST_SUPPORT_H_ |
| OLD | NEW |