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

Side by Side Diff: ui/gfx/animation/slide_animation_unittest.cc

Issue 1543183002: Switch to standard integer types in ui/gfx/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
« no previous file with comments | « ui/gfx/animation/slide_animation.h ('k') | ui/gfx/animation/test_animation_delegate.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 (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/gfx/animation/slide_animation.h" 5 #include "ui/gfx/animation/slide_animation.h"
6 6
7 #include "base/macros.h"
7 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
8 #include "base/time/time.h" 9 #include "base/time/time.h"
9 #include "testing/gtest/include/gtest/gtest.h" 10 #include "testing/gtest/include/gtest/gtest.h"
10 #include "ui/gfx/animation/test_animation_delegate.h" 11 #include "ui/gfx/animation/test_animation_delegate.h"
11 12
12 namespace gfx { 13 namespace gfx {
13 14
14 // Class to provide access to SlideAnimation internals for testing. 15 // Class to provide access to SlideAnimation internals for testing.
15 class SlideAnimation::TestApi { 16 class SlideAnimation::TestApi {
16 public: 17 public:
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 97
97 // Delete the animation. 98 // Delete the animation.
98 animation.reset(); 99 animation.reset();
99 100
100 // Make sure the delegate wasn't notified. 101 // Make sure the delegate wasn't notified.
101 EXPECT_FALSE(delegate.finished()); 102 EXPECT_FALSE(delegate.finished());
102 EXPECT_FALSE(delegate.canceled()); 103 EXPECT_FALSE(delegate.canceled());
103 } 104 }
104 105
105 } // namespace gfx 106 } // namespace gfx
OLDNEW
« no previous file with comments | « ui/gfx/animation/slide_animation.h ('k') | ui/gfx/animation/test_animation_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698