| OLD | NEW |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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 <cmath> | 7 #include <cmath> |
| 8 #include <numeric> | 8 #include <numeric> |
| 9 | 9 |
| 10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 #include "chrome/browser/ui/fullscreen/fullscreen_controller.h" | 70 #include "chrome/browser/ui/fullscreen/fullscreen_controller.h" |
| 71 #include "chrome/browser/ui/omnibox/location_bar.h" | 71 #include "chrome/browser/ui/omnibox/location_bar.h" |
| 72 #include "chrome/browser/ui/tabs/tab_strip_model.h" | 72 #include "chrome/browser/ui/tabs/tab_strip_model.h" |
| 73 #include "chrome/browser/ui/tabs/tab_strip_model_delegate.h" | 73 #include "chrome/browser/ui/tabs/tab_strip_model_delegate.h" |
| 74 #include "chrome/browser/ui/toolbar/encoding_menu_controller.h" | 74 #include "chrome/browser/ui/toolbar/encoding_menu_controller.h" |
| 75 #include "chrome/browser/ui/translate/translate_bubble_model_impl.h" | 75 #include "chrome/browser/ui/translate/translate_bubble_model_impl.h" |
| 76 #include "chrome/browser/ui/website_settings/permission_bubble_manager.h" | 76 #include "chrome/browser/ui/website_settings/permission_bubble_manager.h" |
| 77 #include "chrome/browser/ui/window_sizer/window_sizer.h" | 77 #include "chrome/browser/ui/window_sizer/window_sizer.h" |
| 78 #include "chrome/common/chrome_switches.h" | 78 #include "chrome/common/chrome_switches.h" |
| 79 #include "chrome/common/extensions/command.h" | 79 #include "chrome/common/extensions/command.h" |
| 80 #include "chrome/common/profile_management_switches.h" | |
| 81 #include "chrome/common/url_constants.h" | 80 #include "chrome/common/url_constants.h" |
| 81 #include "components/signin/core/common/profile_management_switches.h" |
| 82 #include "components/translate/core/browser/translate_ui_delegate.h" | 82 #include "components/translate/core/browser/translate_ui_delegate.h" |
| 83 #include "components/web_modal/web_contents_modal_dialog_manager.h" | 83 #include "components/web_modal/web_contents_modal_dialog_manager.h" |
| 84 #include "content/public/browser/render_view_host.h" | 84 #include "content/public/browser/render_view_host.h" |
| 85 #include "content/public/browser/render_widget_host_view.h" | 85 #include "content/public/browser/render_widget_host_view.h" |
| 86 #include "content/public/browser/web_contents.h" | 86 #include "content/public/browser/web_contents.h" |
| 87 #include "content/public/browser/web_contents_view.h" | 87 #include "content/public/browser/web_contents_view.h" |
| 88 #include "grit/chromium_strings.h" | 88 #include "grit/chromium_strings.h" |
| 89 #include "grit/generated_resources.h" | 89 #include "grit/generated_resources.h" |
| 90 #include "grit/locale_settings.h" | 90 #include "grit/locale_settings.h" |
| 91 #import "ui/base/cocoa/cocoa_base_utils.h" | 91 #import "ui/base/cocoa/cocoa_base_utils.h" |
| (...skipping 2216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2308 | 2308 |
| 2309 - (BOOL)supportsBookmarkBar { | 2309 - (BOOL)supportsBookmarkBar { |
| 2310 return [self supportsWindowFeature:Browser::FEATURE_BOOKMARKBAR]; | 2310 return [self supportsWindowFeature:Browser::FEATURE_BOOKMARKBAR]; |
| 2311 } | 2311 } |
| 2312 | 2312 |
| 2313 - (BOOL)isTabbedWindow { | 2313 - (BOOL)isTabbedWindow { |
| 2314 return browser_->is_type_tabbed(); | 2314 return browser_->is_type_tabbed(); |
| 2315 } | 2315 } |
| 2316 | 2316 |
| 2317 @end // @implementation BrowserWindowController(WindowType) | 2317 @end // @implementation BrowserWindowController(WindowType) |
| OLD | NEW |