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 |
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
267 // user's profile avatar. | 267 // user's profile avatar. |
268 - (BOOL)shouldShowAvatar; | 268 - (BOOL)shouldShowAvatar; |
269 | 269 |
270 - (BOOL)isBookmarkBarVisible; | 270 - (BOOL)isBookmarkBarVisible; |
271 | 271 |
272 // Returns YES if the bookmark bar is currently animating. | 272 // Returns YES if the bookmark bar is currently animating. |
273 - (BOOL)isBookmarkBarAnimating; | 273 - (BOOL)isBookmarkBarAnimating; |
274 | 274 |
275 - (BookmarkBarController*)bookmarkBarController; | 275 - (BookmarkBarController*)bookmarkBarController; |
276 | 276 |
| 277 - (DevToolsController*)devToolsController; |
| 278 |
277 - (BOOL)isDownloadShelfVisible; | 279 - (BOOL)isDownloadShelfVisible; |
278 | 280 |
279 // Lazily creates the download shelf in visible state if it doesn't exist yet. | 281 // Lazily creates the download shelf in visible state if it doesn't exist yet. |
280 - (DownloadShelfController*)downloadShelf; | 282 - (DownloadShelfController*)downloadShelf; |
281 | 283 |
282 // Retains the given FindBarCocoaController and adds its view to this | 284 // Retains the given FindBarCocoaController and adds its view to this |
283 // browser window. Must only be called once per | 285 // browser window. Must only be called once per |
284 // BrowserWindowController. | 286 // BrowserWindowController. |
285 - (void)addFindBar:(FindBarCocoaController*)findBarCocoaController; | 287 - (void)addFindBar:(FindBarCocoaController*)findBarCocoaController; |
286 | 288 |
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
481 // |source| rect doesn't fit into |target|. | 483 // |source| rect doesn't fit into |target|. |
482 - (NSSize)overflowFrom:(NSRect)source | 484 - (NSSize)overflowFrom:(NSRect)source |
483 to:(NSRect)target; | 485 to:(NSRect)target; |
484 | 486 |
485 // The fullscreen exit bubble controller, or nil if the bubble isn't showing. | 487 // The fullscreen exit bubble controller, or nil if the bubble isn't showing. |
486 - (FullscreenExitBubbleController*)fullscreenExitBubbleController; | 488 - (FullscreenExitBubbleController*)fullscreenExitBubbleController; |
487 @end // @interface BrowserWindowController (TestingAPI) | 489 @end // @interface BrowserWindowController (TestingAPI) |
488 | 490 |
489 | 491 |
490 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_H_ | 492 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_H_ |
OLD | NEW |