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

Side by Side Diff: chrome/browser/ui/cocoa/extensions/browser_actions_controller.h

Issue 1105713002: [Extension Toolbar] Slide out overflowed actions for popups (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_EXTENSIONS_BROWSER_ACTIONS_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_EXTENSIONS_BROWSER_ACTIONS_CONTROLLER_H_
6 #define CHROME_BROWSER_UI_COCOA_EXTENSIONS_BROWSER_ACTIONS_CONTROLLER_H_ 6 #define CHROME_BROWSER_UI_COCOA_EXTENSIONS_BROWSER_ACTIONS_CONTROLLER_H_
7 7
8 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
9 9
10 #import "base/mac/scoped_nsobject.h" 10 #import "base/mac/scoped_nsobject.h"
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 // process of fading in. 103 // process of fading in.
104 - (BOOL)chevronIsHidden; 104 - (BOOL)chevronIsHidden;
105 105
106 // Returns the currently-active web contents. 106 // Returns the currently-active web contents.
107 - (content::WebContents*)currentWebContents; 107 - (content::WebContents*)currentWebContents;
108 108
109 // Returns the BrowserActionButton in the main browser actions container (as 109 // Returns the BrowserActionButton in the main browser actions container (as
110 // opposed to the overflow) for the action of the given id. 110 // opposed to the overflow) for the action of the given id.
111 - (BrowserActionButton*)mainButtonForId:(const std::string&)id; 111 - (BrowserActionButton*)mainButtonForId:(const std::string&)id;
112 112
113 - (ToolbarActionsBar*)toolbarActionsBar;
114
113 @end // @interface BrowserActionsController 115 @end // @interface BrowserActionsController
114 116
115 @interface BrowserActionsController(TestingAPI) 117 @interface BrowserActionsController(TestingAPI)
116 - (BrowserActionButton*)buttonWithIndex:(NSUInteger)index; 118 - (BrowserActionButton*)buttonWithIndex:(NSUInteger)index;
117 - (ToolbarActionsBar*)toolbarActionsBar;
118 @end 119 @end
119 120
120 #endif // CHROME_BROWSER_UI_COCOA_EXTENSIONS_BROWSER_ACTIONS_CONTROLLER_H_ 121 #endif // CHROME_BROWSER_UI_COCOA_EXTENSIONS_BROWSER_ACTIONS_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698