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 #import "chrome/browser/cocoa/browser_window_controller.h" | 5 #import "chrome/browser/cocoa/browser_window_controller.h" |
6 | 6 |
7 #include <Carbon/Carbon.h> | 7 #include <Carbon/Carbon.h> |
8 | 8 |
9 #include "app/l10n_util.h" | 9 #include "app/l10n_util.h" |
10 #include "app/l10n_util_mac.h" | 10 #include "app/l10n_util_mac.h" |
11 #include "base/mac_util.h" | 11 #include "base/mac_util.h" |
12 #include "app/mac/scoped_nsdisable_screen_updates.h" | 12 #include "app/mac/scoped_nsdisable_screen_updates.h" |
13 #include "base/nsimage_cache_mac.h" | 13 #include "base/nsimage_cache_mac.h" |
14 #import "base/scoped_nsobject.h" | 14 #import "base/scoped_nsobject.h" |
15 #include "base/sys_string_conversions.h" | 15 #include "base/sys_string_conversions.h" |
16 #include "chrome/app/chrome_dll_resource.h" // IDC_* | 16 #include "chrome/app/chrome_command_ids.h" // IDC_* |
17 #include "chrome/browser/bookmarks/bookmark_editor.h" | 17 #include "chrome/browser/bookmarks/bookmark_editor.h" |
18 #include "chrome/browser/browser.h" | 18 #include "chrome/browser/browser.h" |
19 #include "chrome/browser/browser_list.h" | 19 #include "chrome/browser/browser_list.h" |
20 #import "chrome/browser/cocoa/background_gradient_view.h" | 20 #import "chrome/browser/cocoa/background_gradient_view.h" |
21 #import "chrome/browser/cocoa/bookmarks/bookmark_bar_controller.h" | 21 #import "chrome/browser/cocoa/bookmarks/bookmark_bar_controller.h" |
22 #import "chrome/browser/cocoa/bookmarks/bookmark_editor_controller.h" | 22 #import "chrome/browser/cocoa/bookmarks/bookmark_editor_controller.h" |
23 #import "chrome/browser/cocoa/browser_window_cocoa.h" | 23 #import "chrome/browser/cocoa/browser_window_cocoa.h" |
24 #import "chrome/browser/cocoa/browser_window_controller_private.h" | 24 #import "chrome/browser/cocoa/browser_window_controller_private.h" |
25 #import "chrome/browser/cocoa/dev_tools_controller.h" | 25 #import "chrome/browser/cocoa/dev_tools_controller.h" |
26 #import "chrome/browser/cocoa/download/download_shelf_controller.h" | 26 #import "chrome/browser/cocoa/download/download_shelf_controller.h" |
(...skipping 1986 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2013 | 2013 |
2014 - (BOOL)supportsBookmarkBar { | 2014 - (BOOL)supportsBookmarkBar { |
2015 return [self supportsWindowFeature:Browser::FEATURE_BOOKMARKBAR]; | 2015 return [self supportsWindowFeature:Browser::FEATURE_BOOKMARKBAR]; |
2016 } | 2016 } |
2017 | 2017 |
2018 - (BOOL)isNormalWindow { | 2018 - (BOOL)isNormalWindow { |
2019 return browser_->type() == Browser::TYPE_NORMAL; | 2019 return browser_->type() == Browser::TYPE_NORMAL; |
2020 } | 2020 } |
2021 | 2021 |
2022 @end // @implementation BrowserWindowController(WindowType) | 2022 @end // @implementation BrowserWindowController(WindowType) |
OLD | NEW |