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

Side by Side Diff: cc/layers/picture_layer_unittest.cc

Issue 2646623002: cc: Remove all blimp code from cc. (Closed)
Patch Set: test build Created 3 years, 11 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/layers/picture_layer.cc ('k') | cc/layers/solid_color_scrollbar_layer.h » ('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 #include "cc/layers/picture_layer.h" 5 #include "cc/layers/picture_layer.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include "base/memory/ptr_util.h" 9 #include "base/memory/ptr_util.h"
10 #include "base/threading/thread_task_runner_handle.h" 10 #include "base/threading/thread_task_runner_handle.h"
11 #include "cc/animation/animation_host.h" 11 #include "cc/animation/animation_host.h"
12 #include "cc/layers/append_quads_data.h" 12 #include "cc/layers/append_quads_data.h"
13 #include "cc/layers/content_layer_client.h" 13 #include "cc/layers/content_layer_client.h"
14 #include "cc/layers/empty_content_layer_client.h" 14 #include "cc/layers/empty_content_layer_client.h"
15 #include "cc/layers/picture_layer_impl.h" 15 #include "cc/layers/picture_layer_impl.h"
16 #include "cc/playback/display_item_list_settings.h" 16 #include "cc/playback/display_item_list_settings.h"
17 #include "cc/proto/layer.pb.h"
18 #include "cc/test/fake_client_picture_cache.h"
19 #include "cc/test/fake_compositor_frame_sink.h" 17 #include "cc/test/fake_compositor_frame_sink.h"
20 #include "cc/test/fake_engine_picture_cache.h"
21 #include "cc/test/fake_image_serialization_processor.h"
22 #include "cc/test/fake_layer_tree_host.h" 18 #include "cc/test/fake_layer_tree_host.h"
23 #include "cc/test/fake_picture_layer.h" 19 #include "cc/test/fake_picture_layer.h"
24 #include "cc/test/fake_picture_layer_impl.h" 20 #include "cc/test/fake_picture_layer_impl.h"
25 #include "cc/test/fake_proxy.h" 21 #include "cc/test/fake_proxy.h"
26 #include "cc/test/fake_recording_source.h" 22 #include "cc/test/fake_recording_source.h"
27 #include "cc/test/layer_tree_settings_for_testing.h" 23 #include "cc/test/layer_tree_settings_for_testing.h"
28 #include "cc/test/skia_common.h" 24 #include "cc/test/skia_common.h"
29 #include "cc/test/stub_layer_tree_host_single_thread_client.h" 25 #include "cc/test/stub_layer_tree_host_single_thread_client.h"
30 #include "cc/test/test_task_graph_runner.h" 26 #include "cc/test/test_task_graph_runner.h"
31 #include "cc/trees/single_thread_proxy.h" 27 #include "cc/trees/single_thread_proxy.h"
(...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after
359 host2->Composite(base::TimeTicks::Now()); 355 host2->Composite(base::TimeTicks::Now());
360 EXPECT_EQ(3, layer->update_count()); 356 EXPECT_EQ(3, layer->update_count());
361 EXPECT_EQ(1, host2->SourceFrameNumber()); 357 EXPECT_EQ(1, host2->SourceFrameNumber());
362 358
363 animation_host->SetMutatorHostClient(nullptr); 359 animation_host->SetMutatorHostClient(nullptr);
364 animation_host2->SetMutatorHostClient(nullptr); 360 animation_host2->SetMutatorHostClient(nullptr);
365 } 361 }
366 362
367 } // namespace 363 } // namespace
368 } // namespace cc 364 } // namespace cc
OLDNEW
« no previous file with comments | « cc/layers/picture_layer.cc ('k') | cc/layers/solid_color_scrollbar_layer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698