| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 "app/l10n_util_mac.h" | 5 #include "app/l10n_util_mac.h" |
| 6 #include "base/scoped_nsobject.h" | 6 #include "base/scoped_nsobject.h" |
| 7 #include "base/scoped_ptr.h" | 7 #include "base/scoped_ptr.h" |
| 8 #include "chrome/app/chrome_dll_resource.h" | 8 #include "chrome/app/chrome_command_ids.h" |
| 9 #include "chrome/browser/browser_process.h" | 9 #include "chrome/browser/browser_process.h" |
| 10 #include "chrome/browser/browser_window.h" | 10 #include "chrome/browser/browser_window.h" |
| 11 #include "chrome/browser/cocoa/browser_test_helper.h" | 11 #include "chrome/browser/cocoa/browser_test_helper.h" |
| 12 #include "chrome/browser/cocoa/browser_window_controller.h" | 12 #include "chrome/browser/cocoa/browser_window_controller.h" |
| 13 #include "chrome/browser/cocoa/cocoa_test_helper.h" | 13 #include "chrome/browser/cocoa/cocoa_test_helper.h" |
| 14 #include "chrome/browser/cocoa/find_bar_bridge.h" | 14 #include "chrome/browser/cocoa/find_bar_bridge.h" |
| 15 #include "chrome/browser/prefs/pref_service.h" | 15 #include "chrome/browser/prefs/pref_service.h" |
| 16 #include "chrome/browser/sync/sync_ui_util.h" | 16 #include "chrome/browser/sync/sync_ui_util.h" |
| 17 #include "chrome/common/pref_names.h" | 17 #include "chrome/common/pref_names.h" |
| 18 #include "chrome/test/testing_browser_process.h" | 18 #include "chrome/test/testing_browser_process.h" |
| (...skipping 642 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 661 fullscreenWindow_.reset( | 661 fullscreenWindow_.reset( |
| 662 [[NSWindow alloc] initWithContentRect:NSMakeRect(0,0,400,400) | 662 [[NSWindow alloc] initWithContentRect:NSMakeRect(0,0,400,400) |
| 663 styleMask:NSBorderlessWindowMask | 663 styleMask:NSBorderlessWindowMask |
| 664 backing:NSBackingStoreBuffered | 664 backing:NSBackingStoreBuffered |
| 665 defer:NO]); | 665 defer:NO]); |
| 666 return fullscreenWindow_.get(); | 666 return fullscreenWindow_.get(); |
| 667 } | 667 } |
| 668 @end | 668 @end |
| 669 | 669 |
| 670 /* TODO(???): test other methods of BrowserWindowController */ | 670 /* TODO(???): test other methods of BrowserWindowController */ |
| OLD | NEW |