OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/browser_window_controller.h" | 5 #import "chrome/browser/ui/cocoa/browser_window_controller.h" |
6 | 6 |
7 #include "base/mac/mac_util.h" | 7 #include "base/mac/mac_util.h" |
8 #import "base/memory/scoped_nsobject.h" | 8 #import "base/memory/scoped_nsobject.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "chrome/app/chrome_command_ids.h" | 10 #include "chrome/app/chrome_command_ids.h" |
11 #include "chrome/browser/prefs/pref_service.h" | 11 #include "chrome/browser/prefs/pref_service.h" |
12 #include "chrome/browser/sync/sync_ui_util.h" | 12 #include "chrome/browser/sync/sync_ui_util.h" |
13 #include "chrome/browser/ui/browser_list.h" | 13 #include "chrome/browser/ui/browser_list.h" |
14 #include "chrome/browser/ui/browser_window.h" | 14 #include "chrome/browser/ui/browser_window.h" |
15 #include "chrome/browser/ui/cocoa/cocoa_profile_test.h" | 15 #include "chrome/browser/ui/cocoa/cocoa_profile_test.h" |
16 #include "chrome/browser/ui/cocoa/find_bar/find_bar_bridge.h" | 16 #include "chrome/browser/ui/cocoa/find_bar/find_bar_bridge.h" |
| 17 #include "chrome/browser/ui/cocoa/tabs/tab_strip_view.h" |
17 #include "chrome/common/chrome_notification_types.h" | 18 #include "chrome/common/chrome_notification_types.h" |
18 #include "chrome/common/pref_names.h" | 19 #include "chrome/common/pref_names.h" |
19 #include "chrome/test/base/testing_profile.h" | 20 #include "chrome/test/base/testing_profile.h" |
20 #include "content/public/browser/notification_service.h" | 21 #include "content/public/browser/notification_service.h" |
21 #include "content/public/test/test_utils.h" | 22 #include "content/public/test/test_utils.h" |
22 #include "grit/generated_resources.h" | 23 #include "grit/generated_resources.h" |
23 #include "ui/base/l10n/l10n_util_mac.h" | 24 #include "ui/base/l10n/l10n_util_mac.h" |
24 | 25 |
25 @interface BrowserWindowController (JustForTesting) | 26 @interface BrowserWindowController (JustForTesting) |
26 // Already defined in BWC. | 27 // Already defined in BWC. |
(...skipping 700 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
727 testFullscreenWindow_.reset( | 728 testFullscreenWindow_.reset( |
728 [[NSWindow alloc] initWithContentRect:NSMakeRect(0,0,400,400) | 729 [[NSWindow alloc] initWithContentRect:NSMakeRect(0,0,400,400) |
729 styleMask:NSBorderlessWindowMask | 730 styleMask:NSBorderlessWindowMask |
730 backing:NSBackingStoreBuffered | 731 backing:NSBackingStoreBuffered |
731 defer:NO]); | 732 defer:NO]); |
732 return testFullscreenWindow_.get(); | 733 return testFullscreenWindow_.get(); |
733 } | 734 } |
734 @end | 735 @end |
735 | 736 |
736 /* TODO(???): test other methods of BrowserWindowController */ | 737 /* TODO(???): test other methods of BrowserWindowController */ |
OLD | NEW |