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

Side by Side Diff: components/test_runner/test_plugin.h

Issue 2270533002: cc: Remove the software compositing bool from PrepareTextureMailbox (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@softwarerendering
Patch Set: remove-prepare-mailbox-param: bad-merge Created 4 years, 4 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
« no previous file with comments | « cc/trees/layer_tree_host.cc ('k') | components/test_runner/test_plugin.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 COMPONENTS_TEST_RUNNER_TEST_PLUGIN_H_ 5 #ifndef COMPONENTS_TEST_RUNNER_TEST_PLUGIN_H_
6 #define COMPONENTS_TEST_RUNNER_TEST_PLUGIN_H_ 6 #define COMPONENTS_TEST_RUNNER_TEST_PLUGIN_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 10
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 const blink::WebPoint& screen_position) override; 88 const blink::WebPoint& screen_position) override;
89 void didReceiveResponse(const blink::WebURLResponse& response) override {} 89 void didReceiveResponse(const blink::WebURLResponse& response) override {}
90 void didReceiveData(const char* data, int data_length) override {} 90 void didReceiveData(const char* data, int data_length) override {}
91 void didFinishLoading() override {} 91 void didFinishLoading() override {}
92 void didFailLoading(const blink::WebURLError& error) override {} 92 void didFailLoading(const blink::WebURLError& error) override {}
93 bool isPlaceholder() override; 93 bool isPlaceholder() override;
94 94
95 // cc::TextureLayerClient methods: 95 // cc::TextureLayerClient methods:
96 bool PrepareTextureMailbox( 96 bool PrepareTextureMailbox(
97 cc::TextureMailbox* mailbox, 97 cc::TextureMailbox* mailbox,
98 std::unique_ptr<cc::SingleReleaseCallback>* release_callback, 98 std::unique_ptr<cc::SingleReleaseCallback>* release_callback) override;
99 bool use_shared_memory) override;
100 99
101 private: 100 private:
102 TestPlugin(blink::WebFrame* frame, 101 TestPlugin(blink::WebFrame* frame,
103 const blink::WebPluginParams& params, 102 const blink::WebPluginParams& params,
104 WebTestDelegate* delegate); 103 WebTestDelegate* delegate);
105 104
106 enum Primitive { PrimitiveNone, PrimitiveTriangle }; 105 enum Primitive { PrimitiveNone, PrimitiveTriangle };
107 106
108 struct Scene { 107 struct Scene {
109 Primitive primitive; 108 Primitive primitive;
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 175
177 bool is_persistent_; 176 bool is_persistent_;
178 bool can_create_without_renderer_; 177 bool can_create_without_renderer_;
179 178
180 DISALLOW_COPY_AND_ASSIGN(TestPlugin); 179 DISALLOW_COPY_AND_ASSIGN(TestPlugin);
181 }; 180 };
182 181
183 } // namespace test_runner 182 } // namespace test_runner
184 183
185 #endif // COMPONENTS_TEST_RUNNER_TEST_PLUGIN_H_ 184 #endif // COMPONENTS_TEST_RUNNER_TEST_PLUGIN_H_
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_host.cc ('k') | components/test_runner/test_plugin.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698