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

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

Issue 8536010: Cleanup: Remove unneeded forward declarations from chrome/browser/ui/gtk and chrome/browser/ui/co... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: address comments Created 9 years, 1 month 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) 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_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 #pragma once 7 #pragma once
8 8
9 #import <Cocoa/Cocoa.h> 9 #import <Cocoa/Cocoa.h>
10 10
11 #include "base/memory/scoped_nsobject.h" 11 #include "base/memory/scoped_nsobject.h"
12 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
13 #import "chrome/browser/ui/cocoa/command_observer_bridge.h" 13 #import "chrome/browser/ui/cocoa/command_observer_bridge.h"
14 #import "chrome/browser/ui/cocoa/tracking_area.h" 14 #import "chrome/browser/ui/cocoa/tracking_area.h"
15 #import "chrome/browser/ui/cocoa/url_drop_target.h" 15 #import "chrome/browser/ui/cocoa/url_drop_target.h"
16 #import "chrome/browser/ui/cocoa/view_resizer.h" 16 #import "chrome/browser/ui/cocoa/view_resizer.h"
17 #include "chrome/browser/prefs/pref_member.h" 17 #include "chrome/browser/prefs/pref_member.h"
18 18
19 @class AutocompleteTextField; 19 @class AutocompleteTextField;
20 @class AutocompleteTextFieldEditor; 20 @class AutocompleteTextFieldEditor;
21 @class BrowserActionsContainerView;
22 @class BackForwardMenuController; 21 @class BackForwardMenuController;
23 class Browser; 22 class Browser;
23 @class BrowserActionsContainerView;
24 @class BrowserActionsController; 24 @class BrowserActionsController;
25 class CommandUpdater; 25 class CommandUpdater;
26 class LocationBar;
27 class LocationBarViewMac; 26 class LocationBarViewMac;
28 @class MenuButton; 27 @class MenuButton;
29 @class ToolbarButton;
30 class Profile; 28 class Profile;
31 @class ReloadButton; 29 @class ReloadButton;
32 class TabContents; 30 class TabContents;
31 @class ToolbarButton;
33 class ToolbarModel; 32 class ToolbarModel;
34 @class WrenchMenuController; 33 @class WrenchMenuController;
35 class WrenchMenuModel;
36 34
37 namespace ToolbarControllerInternal { 35 namespace ToolbarControllerInternal {
38 class NotificationBridge; 36 class NotificationBridge;
39 } 37 }
40 38
41 // A controller for the toolbar in the browser window. Manages 39 // A controller for the toolbar in the browser window. Manages
42 // updating the state for location bar and back/fwd/reload/go buttons. 40 // updating the state for location bar and back/fwd/reload/go buttons.
43 // Manages the bookmark bar and its position in the window relative to 41 // Manages the bookmark bar and its position in the window relative to
44 // the web content view. 42 // the web content view.
45 43
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 // Returns an array of views in the order of the outlets above. 175 // Returns an array of views in the order of the outlets above.
178 - (NSArray*)toolbarViews; 176 - (NSArray*)toolbarViews;
179 - (void)showOptionalHomeButton; 177 - (void)showOptionalHomeButton;
180 - (void)installWrenchMenu; 178 - (void)installWrenchMenu;
181 - (WrenchMenuController*)wrenchMenuController; 179 - (WrenchMenuController*)wrenchMenuController;
182 // Return a hover button for the current event. 180 // Return a hover button for the current event.
183 - (NSButton*)hoverButtonForEvent:(NSEvent*)theEvent; 181 - (NSButton*)hoverButtonForEvent:(NSEvent*)theEvent;
184 @end 182 @end
185 183
186 #endif // CHROME_BROWSER_UI_COCOA_TOOLBAR_TOOLBAR_CONTROLLER_H_ 184 #endif // CHROME_BROWSER_UI_COCOA_TOOLBAR_TOOLBAR_CONTROLLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/tabs/tab_strip_controller.h ('k') | chrome/browser/ui/cocoa/web_intent_bubble_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698