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

Side by Side Diff: ui/compositor/layer_owner_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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "ui/compositor/layer_owner.h" 5 #include "ui/compositor/layer_owner.h"
6 6
7 #include "base/macros.h" 7 #include "base/macros.h"
8 #include "base/memory/ptr_util.h"
8 #include "base/test/null_task_runner.h" 9 #include "base/test/null_task_runner.h"
9 #include "cc/animation/animation_player.h" 10 #include "cc/animation/animation_player.h"
10 #include "testing/gtest/include/gtest/gtest.h" 11 #include "testing/gtest/include/gtest/gtest.h"
11 #include "ui/compositor/compositor.h" 12 #include "ui/compositor/compositor.h"
12 #include "ui/compositor/layer.h" 13 #include "ui/compositor/layer.h"
13 #include "ui/compositor/layer_animation_observer.h" 14 #include "ui/compositor/layer_animation_observer.h"
14 #include "ui/compositor/layer_animator.h" 15 #include "ui/compositor/layer_animator.h"
15 #include "ui/compositor/scoped_animation_duration_scale_mode.h" 16 #include "ui/compositor/scoped_animation_duration_scale_mode.h"
16 #include "ui/compositor/scoped_layer_animation_settings.h" 17 #include "ui/compositor/scoped_layer_animation_settings.h"
17 #include "ui/compositor/test/context_factories_for_test.h" 18 #include "ui/compositor/test/context_factories_for_test.h"
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 206
206 layer->SetOpacity(0.5f); 207 layer->SetOpacity(0.5f);
207 208
208 scoped_refptr<cc::AnimationPlayer> player = 209 scoped_refptr<cc::AnimationPlayer> player =
209 layer->GetAnimator()->GetAnimationPlayerForTesting(); 210 layer->GetAnimator()->GetAnimationPlayerForTesting();
210 EXPECT_TRUE(player); 211 EXPECT_TRUE(player);
211 EXPECT_TRUE(player->animation_timeline()); 212 EXPECT_TRUE(player->animation_timeline());
212 } 213 }
213 214
214 } // namespace ui 215 } // namespace ui
OLDNEW
« no previous file with comments | « ui/chromeos/touch_exploration_controller_unittest.cc ('k') | ui/message_center/views/message_popup_collection_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698