| 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 #ifndef CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_H_ |
| 6 #define CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_H_ | 6 #define CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_H_ |
| 7 | 7 |
| 8 // A class acting as the Objective-C controller for the Browser | 8 // A class acting as the Objective-C controller for the Browser |
| 9 // object. Handles interactions between Cocoa and the cross-platform | 9 // object. Handles interactions between Cocoa and the cross-platform |
| 10 // code. Each window has a single toolbar and, by virtue of being a | 10 // code. Each window has a single toolbar and, by virtue of being a |
| 11 // TabWindowController, a tab strip along the top. | 11 // TabWindowController, a tab strip along the top. |
| 12 | 12 |
| 13 #import <Cocoa/Cocoa.h> | 13 #import <Cocoa/Cocoa.h> |
| 14 | 14 |
| 15 #include <memory> | 15 #include <memory> |
| 16 | 16 |
| 17 #include "base/mac/scoped_nsobject.h" | 17 #include "base/mac/scoped_nsobject.h" |
| 18 #include "chrome/browser/extensions/browser_extension_window_controller.h" | 18 #include "chrome/browser/extensions/browser_extension_window_controller.h" |
| 19 #include "chrome/browser/translate/chrome_translate_client.h" | 19 #include "chrome/browser/translate/chrome_translate_client.h" |
| 20 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.h" | 20 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.h" |
| 21 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_bubble_controller.h" | 21 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_bubble_controller.h" |
| 22 #import "chrome/browser/ui/cocoa/exclusive_access_bubble_window_controller.h" | |
| 23 #import "chrome/browser/ui/cocoa/tabs/tab_strip_controller.h" | 22 #import "chrome/browser/ui/cocoa/tabs/tab_strip_controller.h" |
| 24 #import "chrome/browser/ui/cocoa/tabs/tab_window_controller.h" | 23 #import "chrome/browser/ui/cocoa/tabs/tab_window_controller.h" |
| 25 #import "chrome/browser/ui/cocoa/themed_window.h" | 24 #import "chrome/browser/ui/cocoa/themed_window.h" |
| 26 #import "chrome/browser/ui/cocoa/url_drop_target.h" | 25 #import "chrome/browser/ui/cocoa/url_drop_target.h" |
| 27 #import "chrome/browser/ui/cocoa/view_resizer.h" | 26 #import "chrome/browser/ui/cocoa/view_resizer.h" |
| 28 #include "chrome/browser/ui/tabs/tab_utils.h" | 27 #include "chrome/browser/ui/tabs/tab_utils.h" |
| 29 #include "components/translate/core/common/translate_errors.h" | 28 #include "components/translate/core/common/translate_errors.h" |
| 30 #include "ui/base/accelerators/accelerator_manager.h" | 29 #include "ui/base/accelerators/accelerator_manager.h" |
| 31 #include "ui/gfx/geometry/rect.h" | 30 #include "ui/gfx/geometry/rect.h" |
| 32 | 31 |
| (...skipping 621 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 654 // Returns the active tab contents controller's |blockFullscreenResize_| flag. | 653 // Returns the active tab contents controller's |blockFullscreenResize_| flag. |
| 655 - (BOOL)isActiveTabContentsControllerResizeBlocked; | 654 - (BOOL)isActiveTabContentsControllerResizeBlocked; |
| 656 | 655 |
| 657 // Returns the presentation mode controller. | 656 // Returns the presentation mode controller. |
| 658 - (PresentationModeController*)presentationModeController; | 657 - (PresentationModeController*)presentationModeController; |
| 659 | 658 |
| 660 @end // @interface BrowserWindowController (TestingAPI) | 659 @end // @interface BrowserWindowController (TestingAPI) |
| 661 | 660 |
| 662 | 661 |
| 663 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_H_ | 662 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_H_ |
| OLD | NEW |