OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 <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" |
(...skipping 17 matching lines...) Loading... |
28 #include "chrome/browser/ui/browser_list.h" | 28 #include "chrome/browser/ui/browser_list.h" |
29 #import "chrome/browser/ui/cocoa/background_gradient_view.h" | 29 #import "chrome/browser/ui/cocoa/background_gradient_view.h" |
30 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.h" | 30 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.h" |
31 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_editor_controller.h" | 31 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_editor_controller.h" |
32 #import "chrome/browser/ui/cocoa/browser_window_cocoa.h" | 32 #import "chrome/browser/ui/cocoa/browser_window_cocoa.h" |
33 #import "chrome/browser/ui/cocoa/browser_window_controller_private.h" | 33 #import "chrome/browser/ui/cocoa/browser_window_controller_private.h" |
34 #import "chrome/browser/ui/cocoa/dev_tools_controller.h" | 34 #import "chrome/browser/ui/cocoa/dev_tools_controller.h" |
35 #import "chrome/browser/ui/cocoa/download/download_shelf_controller.h" | 35 #import "chrome/browser/ui/cocoa/download/download_shelf_controller.h" |
36 #import "chrome/browser/ui/cocoa/event_utils.h" | 36 #import "chrome/browser/ui/cocoa/event_utils.h" |
37 #import "chrome/browser/ui/cocoa/fast_resize_view.h" | 37 #import "chrome/browser/ui/cocoa/fast_resize_view.h" |
38 #import "chrome/browser/ui/cocoa/find_bar_bridge.h" | 38 #import "chrome/browser/ui/cocoa/find_bar/find_bar_bridge.h" |
39 #import "chrome/browser/ui/cocoa/find_bar_cocoa_controller.h" | 39 #import "chrome/browser/ui/cocoa/find_bar/find_bar_cocoa_controller.h" |
40 #import "chrome/browser/ui/cocoa/focus_tracker.h" | 40 #import "chrome/browser/ui/cocoa/focus_tracker.h" |
41 #import "chrome/browser/ui/cocoa/fullscreen_controller.h" | 41 #import "chrome/browser/ui/cocoa/fullscreen_controller.h" |
42 #import "chrome/browser/ui/cocoa/fullscreen_window.h" | 42 #import "chrome/browser/ui/cocoa/fullscreen_window.h" |
43 #import "chrome/browser/ui/cocoa/image_utils.h" | 43 #import "chrome/browser/ui/cocoa/image_utils.h" |
44 #import "chrome/browser/ui/cocoa/infobar_container_controller.h" | 44 #import "chrome/browser/ui/cocoa/infobar_container_controller.h" |
45 #import "chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_editor.h" | 45 #import "chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_editor.h" |
46 #import "chrome/browser/ui/cocoa/previewable_contents_controller.h" | 46 #import "chrome/browser/ui/cocoa/previewable_contents_controller.h" |
47 #import "chrome/browser/ui/cocoa/sad_tab_controller.h" | 47 #import "chrome/browser/ui/cocoa/sad_tab_controller.h" |
48 #import "chrome/browser/ui/cocoa/sidebar_controller.h" | 48 #import "chrome/browser/ui/cocoa/sidebar_controller.h" |
49 #import "chrome/browser/ui/cocoa/status_bubble_mac.h" | 49 #import "chrome/browser/ui/cocoa/status_bubble_mac.h" |
(...skipping 2031 matching lines...) Loading... |
2081 | 2081 |
2082 - (BOOL)supportsBookmarkBar { | 2082 - (BOOL)supportsBookmarkBar { |
2083 return [self supportsWindowFeature:Browser::FEATURE_BOOKMARKBAR]; | 2083 return [self supportsWindowFeature:Browser::FEATURE_BOOKMARKBAR]; |
2084 } | 2084 } |
2085 | 2085 |
2086 - (BOOL)isNormalWindow { | 2086 - (BOOL)isNormalWindow { |
2087 return browser_->type() == Browser::TYPE_NORMAL; | 2087 return browser_->type() == Browser::TYPE_NORMAL; |
2088 } | 2088 } |
2089 | 2089 |
2090 @end // @implementation BrowserWindowController(WindowType) | 2090 @end // @implementation BrowserWindowController(WindowType) |
OLD | NEW |