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

Side by Side Diff: chrome/browser/ui/cocoa/tabs/tab_projecting_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/tab_projecting_image_view.h" 5 #import "chrome/browser/ui/cocoa/tabs/tab_projecting_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 25 matching lines...) Expand all
36 [[TabProjectingImageView alloc] initWithFrame:NSMakeRect(0, 0, 32, 32) 36 [[TabProjectingImageView alloc] initWithFrame:NSMakeRect(0, 0, 32, 32)
37 backgroundImage:backgroundImage 37 backgroundImage:backgroundImage
38 projectorImage:projectorImage 38 projectorImage:projectorImage
39 throbImage:throbImage 39 throbImage:throbImage
40 durationMS:20 40 durationMS:20
41 animationContainer:NULL]); 41 animationContainer:NULL]);
42 view_ = view.get(); 42 view_ = view.get();
43 [[test_window() contentView] addSubview:view_]; 43 [[test_window() contentView] addSubview:view_];
44 } 44 }
45 45
46 base::MessageLoopForUI message_loop_; // Needed for ui::ThrobAnimation. 46 base::MessageLoopForUI message_loop_; // Needed for gfx::ThrobAnimation.
47 TabProjectingImageView* view_; 47 TabProjectingImageView* view_;
48 }; 48 };
49 49
50 TEST_VIEW(TabProjectingImageViewTest, view_) 50 TEST_VIEW(TabProjectingImageViewTest, view_)
51 51
52 } // namespace 52 } // namespace
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/tabs/tab_projecting_image_view.mm ('k') | chrome/browser/ui/cocoa/tabs/tab_strip_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698