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

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 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
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_
OLDNEW
« no previous file with comments | « content/public/common/content_switches.cc ('k') | content/renderer/child_frame_compositing_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698