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

Side by Side Diff: chrome/browser/ui/cocoa/extensions/toolbar_actions_bar_bubble_mac_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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "base/logging.h" 5 #include "base/logging.h"
6 #import "base/mac/foundation_util.h" 6 #import "base/mac/foundation_util.h"
7 #import "base/mac/scoped_nsobject.h" 7 #import "base/mac/scoped_nsobject.h"
8 #include "base/macros.h"
8 #include "base/strings/utf_string_conversions.h" 9 #include "base/strings/utf_string_conversions.h"
9 #import "chrome/browser/ui/cocoa/cocoa_test_helper.h" 10 #import "chrome/browser/ui/cocoa/cocoa_test_helper.h"
10 #import "chrome/browser/ui/cocoa/extensions/toolbar_actions_bar_bubble_mac.h" 11 #import "chrome/browser/ui/cocoa/extensions/toolbar_actions_bar_bubble_mac.h"
11 #include "chrome/browser/ui/cocoa/run_loop_testing.h" 12 #include "chrome/browser/ui/cocoa/run_loop_testing.h"
12 #include "chrome/browser/ui/toolbar/test_toolbar_actions_bar_bubble_delegate.h" 13 #include "chrome/browser/ui/toolbar/test_toolbar_actions_bar_bubble_delegate.h"
13 #import "ui/events/test/cocoa_test_event_utils.h" 14 #import "ui/events/test/cocoa_test_event_utils.h"
14 15
15 // A simple class to observe when a window is destructing. 16 // A simple class to observe when a window is destructing.
16 @interface WindowObserver : NSObject { 17 @interface WindowObserver : NSObject {
17 BOOL windowIsClosing_; 18 BOOL windowIsClosing_;
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
241 ToolbarActionsBarBubbleMac* bubble = CreateAndShowBubble(&delegate); 242 ToolbarActionsBarBubbleMac* bubble = CreateAndShowBubble(&delegate);
242 EXPECT_TRUE([bubble actionButton]); 243 EXPECT_TRUE([bubble actionButton]);
243 EXPECT_TRUE([bubble learnMoreButton]); 244 EXPECT_TRUE([bubble learnMoreButton]);
244 EXPECT_TRUE([bubble dismissButton]); 245 EXPECT_TRUE([bubble dismissButton]);
245 EXPECT_TRUE([bubble itemList]); 246 EXPECT_TRUE([bubble itemList]);
246 247
247 [bubble close]; 248 [bubble close];
248 chrome::testing::NSRunLoopRunAllPending(); 249 chrome::testing::NSRunLoopRunAllPending();
249 } 250 }
250 } 251 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698