OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_COCOA_BROWSER_WINDOW_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_COCOA_BROWSER_WINDOW_CONTROLLER_H_ |
6 #define CHROME_BROWSER_COCOA_BROWSER_WINDOW_CONTROLLER_H_ | 6 #define CHROME_BROWSER_COCOA_BROWSER_WINDOW_CONTROLLER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 // A class acting as the Objective-C controller for the Browser | 9 // A class acting as the Objective-C controller for the Browser |
10 // object. Handles interactions between Cocoa and the cross-platform | 10 // object. Handles interactions between Cocoa and the cross-platform |
(...skipping 319 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
330 - (void)lockBarVisibilityForOwner:(id)owner | 330 - (void)lockBarVisibilityForOwner:(id)owner |
331 withAnimation:(BOOL)animate | 331 withAnimation:(BOOL)animate |
332 delay:(BOOL)delay; | 332 delay:(BOOL)delay; |
333 - (void)releaseBarVisibilityForOwner:(id)owner | 333 - (void)releaseBarVisibilityForOwner:(id)owner |
334 withAnimation:(BOOL)animate | 334 withAnimation:(BOOL)animate |
335 delay:(BOOL)delay; | 335 delay:(BOOL)delay; |
336 | 336 |
337 // Returns YES if any of the views in the floating bar currently has focus. | 337 // Returns YES if any of the views in the floating bar currently has focus. |
338 - (BOOL)floatingBarHasFocus; | 338 - (BOOL)floatingBarHasFocus; |
339 | 339 |
| 340 // Opens the tabpose window. |
| 341 - (void)openTabpose; |
| 342 |
340 @end // @interface BrowserWindowController(Fullscreen) | 343 @end // @interface BrowserWindowController(Fullscreen) |
341 | 344 |
342 | 345 |
343 // Methods which are either only for testing, or only public for testing. | 346 // Methods which are either only for testing, or only public for testing. |
344 @interface BrowserWindowController(TestingAPI) | 347 @interface BrowserWindowController(TestingAPI) |
345 | 348 |
346 // Put the incognito badge on the browser and adjust the tab strip | 349 // Put the incognito badge on the browser and adjust the tab strip |
347 // accordingly. | 350 // accordingly. |
348 - (void)installIncognitoBadge; | 351 - (void)installIncognitoBadge; |
349 | 352 |
(...skipping 14 matching lines...) Expand all Loading... |
364 - (NSWindow*)createFullscreenWindow; | 367 - (NSWindow*)createFullscreenWindow; |
365 | 368 |
366 // Resets any saved state about window growth (due to showing the bookmark bar | 369 // Resets any saved state about window growth (due to showing the bookmark bar |
367 // or the download shelf), so that future shrinking will occur from the bottom. | 370 // or the download shelf), so that future shrinking will occur from the bottom. |
368 - (void)resetWindowGrowthState; | 371 - (void)resetWindowGrowthState; |
369 | 372 |
370 @end // @interface BrowserWindowController(TestingAPI) | 373 @end // @interface BrowserWindowController(TestingAPI) |
371 | 374 |
372 | 375 |
373 #endif // CHROME_BROWSER_COCOA_BROWSER_WINDOW_CONTROLLER_H_ | 376 #endif // CHROME_BROWSER_COCOA_BROWSER_WINDOW_CONTROLLER_H_ |
OLD | NEW |