| 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 439 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 450 - (void)lockBarVisibilityForOwner:(id)owner | 450 - (void)lockBarVisibilityForOwner:(id)owner |
| 451 withAnimation:(BOOL)animate | 451 withAnimation:(BOOL)animate |
| 452 delay:(BOOL)delay; | 452 delay:(BOOL)delay; |
| 453 - (void)releaseBarVisibilityForOwner:(id)owner | 453 - (void)releaseBarVisibilityForOwner:(id)owner |
| 454 withAnimation:(BOOL)animate | 454 withAnimation:(BOOL)animate |
| 455 delay:(BOOL)delay; | 455 delay:(BOOL)delay; |
| 456 | 456 |
| 457 // Returns YES if any of the views in the floating bar currently has focus. | 457 // Returns YES if any of the views in the floating bar currently has focus. |
| 458 - (BOOL)floatingBarHasFocus; | 458 - (BOOL)floatingBarHasFocus; |
| 459 | 459 |
| 460 // Opens the tabpose window. | |
| 461 - (void)openTabpose; | |
| 462 | |
| 463 @end // @interface BrowserWindowController(Fullscreen) | 460 @end // @interface BrowserWindowController(Fullscreen) |
| 464 | 461 |
| 465 | 462 |
| 466 // Methods which are either only for testing, or only public for testing. | 463 // Methods which are either only for testing, or only public for testing. |
| 467 @interface BrowserWindowController (TestingAPI) | 464 @interface BrowserWindowController (TestingAPI) |
| 468 | 465 |
| 469 // Put the incognito badge or multi-profile avatar on the browser and adjust the | 466 // Put the incognito badge or multi-profile avatar on the browser and adjust the |
| 470 // tab strip accordingly. | 467 // tab strip accordingly. |
| 471 - (void)installAvatar; | 468 - (void)installAvatar; |
| 472 | 469 |
| (...skipping 30 matching lines...) Expand all Loading... |
| 503 // positioned relative to. | 500 // positioned relative to. |
| 504 - (NSRect)omniboxPopupAnchorRect; | 501 - (NSRect)omniboxPopupAnchorRect; |
| 505 | 502 |
| 506 // Force a layout of info bars. | 503 // Force a layout of info bars. |
| 507 - (void)layoutInfoBars; | 504 - (void)layoutInfoBars; |
| 508 | 505 |
| 509 @end // @interface BrowserWindowController (TestingAPI) | 506 @end // @interface BrowserWindowController (TestingAPI) |
| 510 | 507 |
| 511 | 508 |
| 512 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_H_ | 509 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_H_ |
| OLD | NEW |