Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(112)

Side by Side Diff: chrome/browser/ui/cocoa/browser_window_controller.h

Issue 2824803004: Implement BrowserWindowCocoa::IsToolbarShowing (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 378 matching lines...) Expand 10 before | Expand all | Expand 10 after
389 // Returns current alert state, determined by the alert state of tabs, set by 389 // Returns current alert state, determined by the alert state of tabs, set by
390 // UpdateAlertState. 390 // UpdateAlertState.
391 - (TabAlertState)alertState; 391 - (TabAlertState)alertState;
392 392
393 // Returns the BrowserWindowTouchBar object associated with the window. 393 // Returns the BrowserWindowTouchBar object associated with the window.
394 - (BrowserWindowTouchBar*)browserWindowTouchBar; 394 - (BrowserWindowTouchBar*)browserWindowTouchBar;
395 395
396 // Invalidates the browser's touch bar. 396 // Invalidates the browser's touch bar.
397 - (void)invalidateTouchBar; 397 - (void)invalidateTouchBar;
398 398
399 // Indicates whether the toolbar is visible to the user. Toolbar is usually
400 // triggered by moving mouse cursor to the top of the monitor.
401 - (BOOL)isToolbarShowing;
402
399 @end // @interface BrowserWindowController 403 @end // @interface BrowserWindowController
400 404
401 405
402 // Methods having to do with the window type (normal/popup/app, and whether the 406 // Methods having to do with the window type (normal/popup/app, and whether the
403 // window has various features. 407 // window has various features.
404 @interface BrowserWindowController(WindowType) 408 @interface BrowserWindowController(WindowType)
405 409
406 // Determines whether this controller's window supports a given feature (i.e., 410 // Determines whether this controller's window supports a given feature (i.e.,
407 // whether a given feature is or can be shown in the window). 411 // whether a given feature is or can be shown in the window).
408 // TODO(viettrungluu): |feature| is really should be |Browser::Feature|, but I 412 // TODO(viettrungluu): |feature| is really should be |Browser::Feature|, but I
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
614 // Returns the fullscreen toolbar controller. 618 // Returns the fullscreen toolbar controller.
615 - (FullscreenToolbarController*)fullscreenToolbarController; 619 - (FullscreenToolbarController*)fullscreenToolbarController;
616 620
617 // Sets the fullscreen toolbar controller. 621 // Sets the fullscreen toolbar controller.
618 - (void)setFullscreenToolbarController:(FullscreenToolbarController*)controller; 622 - (void)setFullscreenToolbarController:(FullscreenToolbarController*)controller;
619 623
620 @end // @interface BrowserWindowController (TestingAPI) 624 @end // @interface BrowserWindowController (TestingAPI)
621 625
622 626
623 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_H_ 627 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/browser_window_cocoa.mm ('k') | chrome/browser/ui/cocoa/browser_window_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698