| 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 "base/prefs/pref_service.h" |
| 10 #include "base/utf_string_conversions.h" | 11 #include "base/utf_string_conversions.h" |
| 11 #include "chrome/app/chrome_command_ids.h" | 12 #include "chrome/app/chrome_command_ids.h" |
| 12 #include "chrome/browser/prefs/pref_service.h" | |
| 13 #include "chrome/browser/signin/fake_auth_status_provider.h" | 13 #include "chrome/browser/signin/fake_auth_status_provider.h" |
| 14 #include "chrome/browser/signin/signin_global_error.h" | 14 #include "chrome/browser/signin/signin_global_error.h" |
| 15 #include "chrome/browser/signin/signin_manager.h" | 15 #include "chrome/browser/signin/signin_manager.h" |
| 16 #include "chrome/browser/signin/signin_manager_factory.h" |
| 16 #include "chrome/browser/signin/signin_manager_fake.h" | 17 #include "chrome/browser/signin/signin_manager_fake.h" |
| 17 #include "chrome/browser/signin/signin_manager_factory.h" | |
| 18 #include "chrome/browser/sync/profile_sync_service.h" | 18 #include "chrome/browser/sync/profile_sync_service.h" |
| 19 #include "chrome/browser/sync/profile_sync_service_factory.h" |
| 19 #include "chrome/browser/sync/profile_sync_service_mock.h" | 20 #include "chrome/browser/sync/profile_sync_service_mock.h" |
| 20 #include "chrome/browser/sync/profile_sync_service_factory.h" | |
| 21 #include "chrome/browser/sync/sync_global_error.h" | 21 #include "chrome/browser/sync/sync_global_error.h" |
| 22 #include "chrome/browser/ui/browser_list.h" | 22 #include "chrome/browser/ui/browser_list.h" |
| 23 #include "chrome/browser/ui/browser_window.h" | 23 #include "chrome/browser/ui/browser_window.h" |
| 24 #include "chrome/browser/ui/cocoa/cocoa_profile_test.h" | 24 #include "chrome/browser/ui/cocoa/cocoa_profile_test.h" |
| 25 #include "chrome/browser/ui/cocoa/find_bar/find_bar_bridge.h" | 25 #include "chrome/browser/ui/cocoa/find_bar/find_bar_bridge.h" |
| 26 #include "chrome/browser/ui/cocoa/tabs/tab_strip_view.h" | 26 #include "chrome/browser/ui/cocoa/tabs/tab_strip_view.h" |
| 27 #include "chrome/common/chrome_notification_types.h" | 27 #include "chrome/common/chrome_notification_types.h" |
| 28 #include "chrome/common/pref_names.h" | 28 #include "chrome/common/pref_names.h" |
| 29 #include "chrome/test/base/testing_profile.h" | 29 #include "chrome/test/base/testing_profile.h" |
| 30 #include "content/public/browser/notification_service.h" | 30 #include "content/public/browser/notification_service.h" |
| (...skipping 859 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 890 testFullscreenWindow_.reset( | 890 testFullscreenWindow_.reset( |
| 891 [[NSWindow alloc] initWithContentRect:NSMakeRect(0,0,400,400) | 891 [[NSWindow alloc] initWithContentRect:NSMakeRect(0,0,400,400) |
| 892 styleMask:NSBorderlessWindowMask | 892 styleMask:NSBorderlessWindowMask |
| 893 backing:NSBackingStoreBuffered | 893 backing:NSBackingStoreBuffered |
| 894 defer:NO]); | 894 defer:NO]); |
| 895 return testFullscreenWindow_.get(); | 895 return testFullscreenWindow_.get(); |
| 896 } | 896 } |
| 897 @end | 897 @end |
| 898 | 898 |
| 899 /* TODO(???): test other methods of BrowserWindowController */ | 899 /* TODO(???): test other methods of BrowserWindowController */ |
| OLD | NEW |