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

Side by Side Diff: chrome/browser/ui/cocoa/toolbar/toolbar_controller.h

Issue 2086273003: [Mac] Reveal Fullscreen Toolbar for Tab Strip Changes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nits Created 4 years, 5 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_TOOLBAR_TOOLBAR_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_TOOLBAR_TOOLBAR_CONTROLLER_H_
6 #define CHROME_BROWSER_UI_COCOA_TOOLBAR_TOOLBAR_CONTROLLER_H_ 6 #define CHROME_BROWSER_UI_COCOA_TOOLBAR_TOOLBAR_CONTROLLER_H_
7 7
8 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 183
184 // Return the BrowserActionsController for this toolbar. 184 // Return the BrowserActionsController for this toolbar.
185 - (BrowserActionsController*)browserActionsController; 185 - (BrowserActionsController*)browserActionsController;
186 186
187 // Returns the app menu button. 187 // Returns the app menu button.
188 - (NSButton*)appMenuButton; 188 - (NSButton*)appMenuButton;
189 189
190 // Returns the app menu controller. 190 // Returns the app menu controller.
191 - (AppMenuController*)appMenuController; 191 - (AppMenuController*)appMenuController;
192 192
193 // Returns true of the location bar is focused.
194 - (BOOL)isLocationBarFocused;
195
193 @end 196 @end
194 197
195 // A set of private methods used by tests, in the absence of "friends" in ObjC. 198 // A set of private methods used by tests, in the absence of "friends" in ObjC.
196 @interface ToolbarController(PrivateTestMethods) 199 @interface ToolbarController(PrivateTestMethods)
197 // Returns an array of views in the order of the outlets above. 200 // Returns an array of views in the order of the outlets above.
198 - (NSArray*)toolbarViews; 201 - (NSArray*)toolbarViews;
199 - (void)showOptionalHomeButton; 202 - (void)showOptionalHomeButton;
200 - (void)installAppMenu; 203 - (void)installAppMenu;
201 // Return a hover button for the current event. 204 // Return a hover button for the current event.
202 - (NSButton*)hoverButtonForEvent:(NSEvent*)theEvent; 205 - (NSButton*)hoverButtonForEvent:(NSEvent*)theEvent;
203 @end 206 @end
204 207
205 #endif // CHROME_BROWSER_UI_COCOA_TOOLBAR_TOOLBAR_CONTROLLER_H_ 208 #endif // CHROME_BROWSER_UI_COCOA_TOOLBAR_TOOLBAR_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698