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

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

Issue 2743633005: [Mac] Add Home button to Default Touch Bar (Closed)
Patch Set: Fix for rsesek Created 3 years, 9 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
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/browser_window_controller.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 372 matching lines...) Expand 10 before | Expand all | Expand 10 after
383 // See TabUtils::TabAlertState for a list of all possible alert states. 383 // See TabUtils::TabAlertState for a list of all possible alert states.
384 - (void)setAlertState:(TabAlertState)alertState; 384 - (void)setAlertState:(TabAlertState)alertState;
385 385
386 // Returns current alert state, determined by the alert state of tabs, set by 386 // Returns current alert state, determined by the alert state of tabs, set by
387 // UpdateAlertState. 387 // UpdateAlertState.
388 - (TabAlertState)alertState; 388 - (TabAlertState)alertState;
389 389
390 // Returns the BrowserWindowTouchBar object associated with the window. 390 // Returns the BrowserWindowTouchBar object associated with the window.
391 - (BrowserWindowTouchBar*)browserWindowTouchBar; 391 - (BrowserWindowTouchBar*)browserWindowTouchBar;
392 392
393 // Invalidates the browser's touch bar.
394 - (void)invalidateTouchBar;
395
393 @end // @interface BrowserWindowController 396 @end // @interface BrowserWindowController
394 397
395 398
396 // Methods having to do with the window type (normal/popup/app, and whether the 399 // Methods having to do with the window type (normal/popup/app, and whether the
397 // window has various features. 400 // window has various features.
398 @interface BrowserWindowController(WindowType) 401 @interface BrowserWindowController(WindowType)
399 402
400 // Determines whether this controller's window supports a given feature (i.e., 403 // Determines whether this controller's window supports a given feature (i.e.,
401 // whether a given feature is or can be shown in the window). 404 // whether a given feature is or can be shown in the window).
402 // TODO(viettrungluu): |feature| is really should be |Browser::Feature|, but I 405 // TODO(viettrungluu): |feature| is really should be |Browser::Feature|, but I
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after
611 // Returns the fullscreen toolbar controller. 614 // Returns the fullscreen toolbar controller.
612 - (FullscreenToolbarController*)fullscreenToolbarController; 615 - (FullscreenToolbarController*)fullscreenToolbarController;
613 616
614 // Sets the fullscreen toolbar controller. 617 // Sets the fullscreen toolbar controller.
615 - (void)setFullscreenToolbarController:(FullscreenToolbarController*)controller; 618 - (void)setFullscreenToolbarController:(FullscreenToolbarController*)controller;
616 619
617 @end // @interface BrowserWindowController (TestingAPI) 620 @end // @interface BrowserWindowController (TestingAPI)
618 621
619 622
620 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_H_ 623 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/browser_window_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698