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

Side by Side Diff: chrome/browser/ui/cocoa/toolbar/app_toolbar_button_cell_unittest.mm

Issue 1543393002: Switch to standard integer types in chrome/browser/ui/cocoa/. (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
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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/toolbar/app_toolbar_button_cell.h" 5 #import "chrome/browser/ui/cocoa/toolbar/app_toolbar_button_cell.h"
6 6
7 #include "base/macros.h"
7 #include "base/message_loop/message_loop.h" 8 #include "base/message_loop/message_loop.h"
8 #import "chrome/browser/ui/cocoa/cocoa_test_helper.h" 9 #import "chrome/browser/ui/cocoa/cocoa_test_helper.h"
9 10
10 @interface TestAppToolbarButton : NSButton 11 @interface TestAppToolbarButton : NSButton
11 @end 12 @end
12 13
13 @implementation TestAppToolbarButton 14 @implementation TestAppToolbarButton
14 15
15 + (Class)cellClass { 16 + (Class)cellClass {
16 return [AppToolbarButtonCell class]; 17 return [AppToolbarButtonCell class];
(...skipping 12 matching lines...) Expand all
29 30
30 NSButton* button_; 31 NSButton* button_;
31 base::scoped_nsobject<AppToolbarButtonCell> cell_; 32 base::scoped_nsobject<AppToolbarButtonCell> cell_;
32 base::MessageLoopForUI message_loop_; // Needed for gfx::Animation. 33 base::MessageLoopForUI message_loop_; // Needed for gfx::Animation.
33 34
34 private: 35 private:
35 DISALLOW_COPY_AND_ASSIGN(AppToolbarButtonCellTest); 36 DISALLOW_COPY_AND_ASSIGN(AppToolbarButtonCellTest);
36 }; 37 };
37 38
38 TEST_VIEW(AppToolbarButtonCellTest, button_) 39 TEST_VIEW(AppToolbarButtonCellTest, button_)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698