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

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

Issue 171016: Bookmark STAR bubble (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 4 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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_COCOA_TOOLBAR_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_COCOA_TOOLBAR_CONTROLLER_H_
6 #define CHROME_BROWSER_COCOA_TOOLBAR_CONTROLLER_H_ 6 #define CHROME_BROWSER_COCOA_TOOLBAR_CONTROLLER_H_
7 7
8 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
9 9
10 #include "base/scoped_ptr.h" 10 #include "base/scoped_ptr.h"
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 - (void)setHasToolbar:(BOOL)toolbar; 121 - (void)setHasToolbar:(BOOL)toolbar;
122 122
123 // Return the bookmark bar controller. 123 // Return the bookmark bar controller.
124 - (BookmarkBarController*)bookmarkBarController; 124 - (BookmarkBarController*)bookmarkBarController;
125 125
126 // Actions for the optional menu buttons for the page and wrench menus. These 126 // Actions for the optional menu buttons for the page and wrench menus. These
127 // will show a menu while the mouse is down. 127 // will show a menu while the mouse is down.
128 - (IBAction)showPageMenu:(id)sender; 128 - (IBAction)showPageMenu:(id)sender;
129 - (IBAction)showWrenchMenu:(id)sender; 129 - (IBAction)showWrenchMenu:(id)sender;
130 130
131 // The bookmark bubble (when you click the star) needs to know where to go.
132 // Somewhere near the star button seems like a good start.
133 - (NSRect)starButtonInWindowCoordinates;
134
131 @end 135 @end
132 136
133 // A set of private methods used by tests, in the absence of "friends" in ObjC. 137 // A set of private methods used by tests, in the absence of "friends" in ObjC.
134 @interface ToolbarController(PrivateTestMethods) 138 @interface ToolbarController(PrivateTestMethods)
135 // Returns an array of views in the order of the outlets above. 139 // Returns an array of views in the order of the outlets above.
136 - (NSArray*)toolbarViews; 140 - (NSArray*)toolbarViews;
137 - (void)showOptionalHomeButton; 141 - (void)showOptionalHomeButton;
138 - (void)showOptionalPageWrenchButtons; 142 - (void)showOptionalPageWrenchButtons;
139 @end 143 @end
140 144
141 #endif // CHROME_BROWSER_COCOA_TOOLBAR_CONTROLLER_H_ 145 #endif // CHROME_BROWSER_COCOA_TOOLBAR_CONTROLLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/cocoa/browser_window_controller_unittest.mm ('k') | chrome/browser/cocoa/toolbar_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698