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