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

Side by Side Diff: cc/blimp/layer_tree_host_remote_unittest.cc

Issue 2598963005: Include-what-you-use for WrapUnique/MakeUnique. (Closed)
Patch Set: restore order of includes in x11_topmost_window_finder_interactive_uitest.cc Created 3 years, 12 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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/blimp/layer_tree_host_remote.h" 5 #include "cc/blimp/layer_tree_host_remote.h"
6 6
7 #include <memory> 7 #include <memory>
8 #include <unordered_set> 8 #include <unordered_set>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
11 #include "base/memory/ptr_util.h"
11 #include "base/run_loop.h" 12 #include "base/run_loop.h"
12 #include "base/threading/thread_task_runner_handle.h" 13 #include "base/threading/thread_task_runner_handle.h"
13 #include "cc/animation/animation_host.h" 14 #include "cc/animation/animation_host.h"
14 #include "cc/layers/layer.h" 15 #include "cc/layers/layer.h"
15 #include "cc/output/begin_frame_args.h" 16 #include "cc/output/begin_frame_args.h"
16 #include "cc/proto/client_state_update.pb.h" 17 #include "cc/proto/client_state_update.pb.h"
17 #include "cc/proto/compositor_message.pb.h" 18 #include "cc/proto/compositor_message.pb.h"
18 #include "cc/proto/gfx_conversions.h" 19 #include "cc/proto/gfx_conversions.h"
19 #include "cc/test/fake_image_serialization_processor.h" 20 #include "cc/test/fake_image_serialization_processor.h"
20 #include "cc/test/fake_remote_compositor_bridge.h" 21 #include "cc/test/fake_remote_compositor_bridge.h"
(...skipping 507 matching lines...) Expand 10 before | Expand all | Expand 10 after
528 DCHECK(compositor_proto_state); 529 DCHECK(compositor_proto_state);
529 const proto::LayerUpdate& layer_updates_second_commit = 530 const proto::LayerUpdate& layer_updates_second_commit =
530 compositor_proto_state->compositor_message->layer_tree_host() 531 compositor_proto_state->compositor_message->layer_tree_host()
531 .layer_updates(); 532 .layer_updates();
532 EXPECT_EQ(1, layer_updates_second_commit.layers_size()); 533 EXPECT_EQ(1, layer_updates_second_commit.layers_size());
533 EXPECT_EQ(child_layer->id(), layer_updates_second_commit.layers(0).id()); 534 EXPECT_EQ(child_layer->id(), layer_updates_second_commit.layers(0).id());
534 } 535 }
535 536
536 } // namespace 537 } // namespace
537 } // namespace cc 538 } // namespace cc
OLDNEW
« no previous file with comments | « cc/blimp/compositor_state_deserializer_unittest.cc ('k') | cc/input/browser_controls_offset_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698