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

Side by Side Diff: chrome/browser/ui/cocoa/tabs/throbbing_image_view_unittest.mm

Issue 23531053: ui/base/animation -> ui/gfx/animation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge 2 trunk Created 7 years, 3 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #import "chrome/browser/ui/cocoa/tabs/throbbing_image_view.h" 5 #import "chrome/browser/ui/cocoa/tabs/throbbing_image_view.h"
6 6
7 #include "base/message_loop/message_loop.h" 7 #include "base/message_loop/message_loop.h"
8 #import "chrome/browser/ui/cocoa/cocoa_test_helper.h" 8 #import "chrome/browser/ui/cocoa/cocoa_test_helper.h"
9 #include "testing/gtest/include/gtest/gtest.h" 9 #include "testing/gtest/include/gtest/gtest.h"
10 #include "testing/platform_test.h" 10 #include "testing/platform_test.h"
(...skipping 13 matching lines...) Expand all
24 [[ThrobbingImageView alloc] initWithFrame:NSMakeRect(0, 0, 16, 16) 24 [[ThrobbingImageView alloc] initWithFrame:NSMakeRect(0, 0, 16, 16)
25 backgroundImage:image 25 backgroundImage:image
26 throbImage:image 26 throbImage:image
27 durationMS:20 27 durationMS:20
28 throbPosition:kThrobPositionOverlay 28 throbPosition:kThrobPositionOverlay
29 animationContainer:NULL]); 29 animationContainer:NULL]);
30 view_ = view.get(); 30 view_ = view.get();
31 [[test_window() contentView] addSubview:view_]; 31 [[test_window() contentView] addSubview:view_];
32 } 32 }
33 33
34 base::MessageLoopForUI message_loop_; // Needed for ui::ThrobAnimation. 34 base::MessageLoopForUI message_loop_; // Needed for gfx::ThrobAnimation.
35 ThrobbingImageView* view_; 35 ThrobbingImageView* view_;
36 }; 36 };
37 37
38 TEST_VIEW(ThrobbingImageViewTest, view_) 38 TEST_VIEW(ThrobbingImageViewTest, view_)
39 39
40 } // namespace 40 } // namespace
41 41
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698