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

Side by Side Diff: ui/compositor/layer_animator_unittest.cc

Issue 16757004: Use a direct include of strings headers in ui/, part 3. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « ui/compositor/compositor.cc ('k') | ui/compositor/layer_unittest.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_animator.h" 5 #include "ui/compositor/layer_animator.h"
6 6
7 #include "base/basictypes.h" 7 #include "base/basictypes.h"
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/stringprintf.h" 10 #include "base/strings/stringprintf.h"
11 #include "base/time.h" 11 #include "base/time.h"
12 #include "testing/gtest/include/gtest/gtest.h" 12 #include "testing/gtest/include/gtest/gtest.h"
13 #include "ui/compositor/layer_animation_delegate.h" 13 #include "ui/compositor/layer_animation_delegate.h"
14 #include "ui/compositor/layer_animation_element.h" 14 #include "ui/compositor/layer_animation_element.h"
15 #include "ui/compositor/layer_animation_sequence.h" 15 #include "ui/compositor/layer_animation_sequence.h"
16 #include "ui/compositor/scoped_animation_duration_scale_mode.h" 16 #include "ui/compositor/scoped_animation_duration_scale_mode.h"
17 #include "ui/compositor/scoped_layer_animation_settings.h" 17 #include "ui/compositor/scoped_layer_animation_settings.h"
18 #include "ui/compositor/test/layer_animator_test_controller.h" 18 #include "ui/compositor/test/layer_animator_test_controller.h"
19 #include "ui/compositor/test/test_layer_animation_delegate.h" 19 #include "ui/compositor/test/test_layer_animation_delegate.h"
20 #include "ui/compositor/test/test_layer_animation_observer.h" 20 #include "ui/compositor/test/test_layer_animation_observer.h"
(...skipping 2297 matching lines...) Expand 10 before | Expand all | Expand 10 after
2318 2318
2319 settings.SetPreemptionStrategy( 2319 settings.SetPreemptionStrategy(
2320 LayerAnimator::ENQUEUE_NEW_ANIMATION); 2320 LayerAnimator::ENQUEUE_NEW_ANIMATION);
2321 settings.SetTransitionDuration(base::TimeDelta()); 2321 settings.SetTransitionDuration(base::TimeDelta());
2322 animator->SetOpacity(magic_opacity); 2322 animator->SetOpacity(magic_opacity);
2323 2323
2324 EXPECT_EQ(start_opacity, delegate.GetOpacityForAnimation()); 2324 EXPECT_EQ(start_opacity, delegate.GetOpacityForAnimation());
2325 } 2325 }
2326 2326
2327 } // namespace ui 2327 } // namespace ui
OLDNEW
« no previous file with comments | « ui/compositor/compositor.cc ('k') | ui/compositor/layer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698