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

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

Issue 2695493002: [Mac] Touch Bar support for default browser window state (Closed)
Patch Set: fixes and nits Created 3 years, 10 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
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
Robert Sesek 2017/02/14 17:32:51 2017
spqchan 2017/02/16 15:25:51 Done.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
Robert Sesek 2017/02/14 17:32:50 Header guards.
spqchan 2017/02/16 15:25:51 Done.
5 #include <Cocoa/Cocoa.h>
Robert Sesek 2017/02/14 17:32:51 #import
spqchan 2017/02/16 15:25:51 Done.
6
7 #import "ui/base/cocoa/touch_bar_forward_declarations.h"
8
9 class Browser;
10
11 // Provides a touch bar for the browser window. This class implements the
12 // NSTouchBarDelegate and handles the items in the touch bar.
13 @interface BrowserWindowTouchBar : NSObject<NSTouchBarDelegate>
14 // True is the current page is loading. Used to determine if a stop or reload
15 // button should be provided.
16 @property(nonatomic, assign) BOOL isPageLoading;
17
18 // True if the current page is starred. Used by star touch bar button.
19 @property(nonatomic, assign) BOOL isStarred;
20
21 // Designated initializer.
22 - (instancetype)initWithBrowser:(Browser*)browser;
23
24 // Creates and returns a touch bar for the browser window.
25 - (NSTouchBar*)makeTouchBar;
26
27 @end
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698