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

Side by Side Diff: chrome/browser/ui/cocoa/extensions/toolbar_actions_bar_bubble_mac_unittest.mm

Issue 2911773002: Clean up unused grit header includes in chrome/ (Closed)
Patch Set: rebase Created 3 years, 6 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 #import "chrome/browser/ui/cocoa/extensions/toolbar_actions_bar_bubble_mac.h" 5 #import "chrome/browser/ui/cocoa/extensions/toolbar_actions_bar_bubble_mac.h"
6 #include "base/logging.h" 6 #include "base/logging.h"
7 #import "base/mac/foundation_util.h" 7 #import "base/mac/foundation_util.h"
8 #import "base/mac/scoped_nsobject.h" 8 #import "base/mac/scoped_nsobject.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/memory/ptr_util.h" 10 #include "base/memory/ptr_util.h"
11 #include "base/strings/utf_string_conversions.h" 11 #include "base/strings/utf_string_conversions.h"
12 #import "chrome/browser/ui/cocoa/test/cocoa_test_helper.h" 12 #import "chrome/browser/ui/cocoa/test/cocoa_test_helper.h"
13 #include "chrome/browser/ui/cocoa/test/run_loop_testing.h" 13 #include "chrome/browser/ui/cocoa/test/run_loop_testing.h"
14 #include "chrome/browser/ui/toolbar/test_toolbar_actions_bar_bubble_delegate.h" 14 #include "chrome/browser/ui/toolbar/test_toolbar_actions_bar_bubble_delegate.h"
15 #include "chrome/grit/generated_resources.h" 15 #include "chrome/grit/generated_resources.h"
16 #include "components/grit/components_scaled_resources.h"
17 #include "ui/base/l10n/l10n_util.h" 16 #include "ui/base/l10n/l10n_util.h"
18 #import "ui/events/test/cocoa_test_event_utils.h" 17 #import "ui/events/test/cocoa_test_event_utils.h"
19 #include "ui/vector_icons/vector_icons.h" 18 #include "ui/vector_icons/vector_icons.h"
20 19
21 // A simple class to observe when a window is destructing. 20 // A simple class to observe when a window is destructing.
22 @interface WindowObserver : NSObject { 21 @interface WindowObserver : NSObject {
23 BOOL windowIsClosing_; 22 BOOL windowIsClosing_;
24 } 23 }
25 24
26 - (id)initWithWindow:(NSWindow*)window; 25 - (id)initWithWindow:(NSWindow*)window;
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after
319 EXPECT_FALSE([bubble iconView]); 318 EXPECT_FALSE([bubble iconView]);
320 EXPECT_FALSE([bubble label]); 319 EXPECT_FALSE([bubble label]);
321 EXPECT_TRUE([bubble link]); 320 EXPECT_TRUE([bubble link]);
322 EXPECT_TRUE([bubble dismissButton]); 321 EXPECT_TRUE([bubble dismissButton]);
323 EXPECT_TRUE([bubble itemList]); 322 EXPECT_TRUE([bubble itemList]);
324 323
325 [bubble close]; 324 [bubble close];
326 chrome::testing::NSRunLoopRunAllPending(); 325 chrome::testing::NSRunLoopRunAllPending();
327 } 326 }
328 } 327 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/extensions/browser_action_button.mm ('k') | chrome/browser/ui/cocoa/external_protocol_dialog_cocoa.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698