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

Side by Side Diff: cc/test/layer_tree_test.h

Issue 1982893002: [blimp] Add SkPicture caching support. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments from vmpstr, including adding //cc/blimp Created 4 years, 5 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/test/fake_recording_source.cc ('k') | cc/test/layer_tree_test.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 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 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 CC_TEST_LAYER_TREE_TEST_H_ 5 #ifndef CC_TEST_LAYER_TREE_TEST_H_
6 #define CC_TEST_LAYER_TREE_TEST_H_ 6 #define CC_TEST_LAYER_TREE_TEST_H_
7 7
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "base/threading/thread.h" 9 #include "base/threading/thread.h"
10 #include "cc/animation/animation_delegate.h" 10 #include "cc/animation/animation_delegate.h"
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 std::unique_ptr<LayerTreeHostClientForTesting> client_; 193 std::unique_ptr<LayerTreeHostClientForTesting> client_;
194 std::unique_ptr<LayerTreeHost> layer_tree_host_; 194 std::unique_ptr<LayerTreeHost> layer_tree_host_;
195 195
196 // The LayerTreeHost created by the cc embedder on the client in remote mode. 196 // The LayerTreeHost created by the cc embedder on the client in remote mode.
197 std::unique_ptr<LayerTreeHostForTesting> remote_client_layer_tree_host_; 197 std::unique_ptr<LayerTreeHostForTesting> remote_client_layer_tree_host_;
198 198
199 FakeOutputSurface* output_surface_; 199 FakeOutputSurface* output_surface_;
200 FakeExternalBeginFrameSource* external_begin_frame_source_; 200 FakeExternalBeginFrameSource* external_begin_frame_source_;
201 RemoteProtoChannelBridge remote_proto_channel_bridge_; 201 RemoteProtoChannelBridge remote_proto_channel_bridge_;
202 202
203 std::unique_ptr<ImageSerializationProcessor> image_serialization_processor_;
204
203 bool beginning_; 205 bool beginning_;
204 bool end_when_begin_returns_; 206 bool end_when_begin_returns_;
205 bool timed_out_; 207 bool timed_out_;
206 bool scheduled_; 208 bool scheduled_;
207 bool started_; 209 bool started_;
208 bool ended_; 210 bool ended_;
209 bool delegating_renderer_; 211 bool delegating_renderer_;
210 212
211 int timeout_seconds_; 213 int timeout_seconds_;
212 214
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 #define SINGLE_AND_MULTI_THREAD_TEST_F(TEST_FIXTURE_NAME) \ 275 #define SINGLE_AND_MULTI_THREAD_TEST_F(TEST_FIXTURE_NAME) \
274 SINGLE_AND_MULTI_THREAD_DIRECT_RENDERER_TEST_F(TEST_FIXTURE_NAME); \ 276 SINGLE_AND_MULTI_THREAD_DIRECT_RENDERER_TEST_F(TEST_FIXTURE_NAME); \
275 SINGLE_AND_MULTI_THREAD_DELEGATING_RENDERER_TEST_F(TEST_FIXTURE_NAME) 277 SINGLE_AND_MULTI_THREAD_DELEGATING_RENDERER_TEST_F(TEST_FIXTURE_NAME)
276 278
277 // Some tests want to control when notify ready for activation occurs, 279 // Some tests want to control when notify ready for activation occurs,
278 // but this is not supported in the single-threaded case. 280 // but this is not supported in the single-threaded case.
279 #define MULTI_THREAD_BLOCKNOTIFY_TEST_F(TEST_FIXTURE_NAME) \ 281 #define MULTI_THREAD_BLOCKNOTIFY_TEST_F(TEST_FIXTURE_NAME) \
280 MULTI_THREAD_TEST_F(TEST_FIXTURE_NAME) 282 MULTI_THREAD_TEST_F(TEST_FIXTURE_NAME)
281 283
282 #endif // CC_TEST_LAYER_TREE_TEST_H_ 284 #endif // CC_TEST_LAYER_TREE_TEST_H_
OLDNEW
« no previous file with comments | « cc/test/fake_recording_source.cc ('k') | cc/test/layer_tree_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698