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 "base/mac/scoped_nsobject.h" | 15 #include "base/mac/scoped_nsobject.h" |
16 #include "base/memory/scoped_ptr.h" | 16 #include "base/memory/scoped_ptr.h" |
17 #include "chrome/browser/translate/chrome_translate_client.h" | 17 #include "chrome/browser/translate/chrome_translate_client.h" |
18 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.h" | 18 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.h" |
19 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_bubble_controller.h" | 19 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_bubble_controller.h" |
20 #import "chrome/browser/ui/cocoa/browser_command_executor.h" | 20 #import "chrome/browser/ui/cocoa/browser_command_executor.h" |
21 #import "chrome/browser/ui/cocoa/exclusive_access_bubble_window_controller.h" | 21 #import "chrome/browser/ui/cocoa/exclusive_access_bubble_window_controller.h" |
22 #import "chrome/browser/ui/cocoa/tabs/tab_strip_controller.h" | 22 #import "chrome/browser/ui/cocoa/tabs/tab_strip_controller.h" |
23 #import "chrome/browser/ui/cocoa/tabs/tab_window_controller.h" | 23 #import "chrome/browser/ui/cocoa/tabs/tab_window_controller.h" |
24 #import "chrome/browser/ui/cocoa/themed_window.h" | 24 #import "chrome/browser/ui/cocoa/themed_window.h" |
25 #import "chrome/browser/ui/cocoa/url_drop_target.h" | 25 #import "chrome/browser/ui/cocoa/url_drop_target.h" |
26 #import "chrome/browser/ui/cocoa/view_resizer.h" | 26 #import "chrome/browser/ui/cocoa/view_resizer.h" |
27 #include "components/translate/core/common/translate_errors.h" | 27 #include "components/translate/core/common/translate_errors.h" |
28 #include "ui/base/accelerators/accelerator_manager.h" | 28 #include "ui/base/accelerators/accelerator_manager.h" |
29 #include "ui/gfx/rect.h" | 29 #include "ui/gfx/geometry/rect.h" |
30 | 30 |
31 @class AvatarBaseController; | 31 @class AvatarBaseController; |
32 class Browser; | 32 class Browser; |
33 class BrowserWindow; | 33 class BrowserWindow; |
34 class BrowserWindowCocoa; | 34 class BrowserWindowCocoa; |
35 @class DevToolsController; | 35 @class DevToolsController; |
36 @class DownloadShelfController; | 36 @class DownloadShelfController; |
37 class ExtensionKeybindingRegistryCocoa; | 37 class ExtensionKeybindingRegistryCocoa; |
38 @class FindBarCocoaController; | 38 @class FindBarCocoaController; |
39 @class FullscreenModeController; | 39 @class FullscreenModeController; |
(...skipping 568 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
608 // positioned relative to. | 608 // positioned relative to. |
609 - (NSRect)omniboxPopupAnchorRect; | 609 - (NSRect)omniboxPopupAnchorRect; |
610 | 610 |
611 // Force a layout of info bars. | 611 // Force a layout of info bars. |
612 - (void)layoutInfoBars; | 612 - (void)layoutInfoBars; |
613 | 613 |
614 @end // @interface BrowserWindowController (TestingAPI) | 614 @end // @interface BrowserWindowController (TestingAPI) |
615 | 615 |
616 | 616 |
617 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_H_ | 617 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_H_ |
OLD | NEW |