Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(107)

Side by Side Diff: content/public/test/layouttest_support.h

Issue 1122393003: CC: Plumb LayerSettings parameter for cc::Layer construction. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698