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

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

Issue 2998004: [Mac] Simplify getting page-action info-bubble point. (Closed) Base URL: git://codf21.jail/chromium.git
Patch Set: Created 10 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
« no previous file with comments | « no previous file | chrome/browser/cocoa/browser_window_controller.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_BROWSER_WINDOW_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_COCOA_BROWSER_WINDOW_CONTROLLER_H_
6 #define CHROME_BROWSER_COCOA_BROWSER_WINDOW_CONTROLLER_H_ 6 #define CHROME_BROWSER_COCOA_BROWSER_WINDOW_CONTROLLER_H_
7 7
8 // A class acting as the Objective-C controller for the Browser 8 // A class acting as the Objective-C controller for the Browser
9 // object. Handles interactions between Cocoa and the cross-platform 9 // object. Handles interactions between Cocoa and the cross-platform
10 // code. Each window has a single toolbar and, by virtue of being a 10 // code. Each window has a single toolbar and, by virtue of being a
(...skipping 17 matching lines...) Expand all
28 class BrowserWindow; 28 class BrowserWindow;
29 class BrowserWindowCocoa; 29 class BrowserWindowCocoa;
30 @class ChromeBrowserWindow; 30 @class ChromeBrowserWindow;
31 class ConstrainedWindowMac; 31 class ConstrainedWindowMac;
32 @class DownloadShelfController; 32 @class DownloadShelfController;
33 @class FindBarCocoaController; 33 @class FindBarCocoaController;
34 @class FullscreenController; 34 @class FullscreenController;
35 @class GTMWindowSheetController; 35 @class GTMWindowSheetController;
36 @class IncognitoImageView; 36 @class IncognitoImageView;
37 @class InfoBarContainerController; 37 @class InfoBarContainerController;
38 class LocationBar; 38 class LocationBarViewMac;
39 class StatusBubbleMac; 39 class StatusBubbleMac;
40 class TabContents; 40 class TabContents;
41 @class TabStripController; 41 @class TabStripController;
42 class TabStripModelObserverBridge; 42 class TabStripModelObserverBridge;
43 @class TabStripView; 43 @class TabStripView;
44 @class ToolbarController; 44 @class ToolbarController;
45 @class TitlebarController; 45 @class TitlebarController;
46 46
47 47
48 @interface BrowserWindowController : 48 @interface BrowserWindowController :
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 // Return a weak pointer to the toolbar controller. 151 // Return a weak pointer to the toolbar controller.
152 - (ToolbarController*)toolbarController; 152 - (ToolbarController*)toolbarController;
153 153
154 // Return a weak pointer to the tab strip controller. 154 // Return a weak pointer to the tab strip controller.
155 - (TabStripController*)tabStripController; 155 - (TabStripController*)tabStripController;
156 156
157 // Access the C++ bridge object representing the status bubble for the window. 157 // Access the C++ bridge object representing the status bubble for the window.
158 - (StatusBubbleMac*)statusBubble; 158 - (StatusBubbleMac*)statusBubble;
159 159
160 // Access the C++ bridge object representing the location bar. 160 // Access the C++ bridge object representing the location bar.
161 - (LocationBar*)locationBarBridge; 161 - (LocationBarViewMac*)locationBarBridge;
162 162
163 // Updates the toolbar (and transitively the location bar) with the states of 163 // Updates the toolbar (and transitively the location bar) with the states of
164 // the specified |tab|. If |shouldRestore| is true, we're switching 164 // the specified |tab|. If |shouldRestore| is true, we're switching
165 // (back?) to this tab and should restore any previous location bar state 165 // (back?) to this tab and should restore any previous location bar state
166 // (such as user editing) as well. 166 // (such as user editing) as well.
167 - (void)updateToolbarWithContents:(TabContents*)tab 167 - (void)updateToolbarWithContents:(TabContents*)tab
168 shouldRestoreState:(BOOL)shouldRestore; 168 shouldRestoreState:(BOOL)shouldRestore;
169 169
170 // Sets whether or not the current page in the frontmost tab is bookmarked. 170 // Sets whether or not the current page in the frontmost tab is bookmarked.
171 - (void)setStarredState:(BOOL)isStarred; 171 - (void)setStarredState:(BOOL)isStarred;
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
372 - (NSWindow*)createFullscreenWindow; 372 - (NSWindow*)createFullscreenWindow;
373 373
374 // Resets any saved state about window growth (due to showing the bookmark bar 374 // Resets any saved state about window growth (due to showing the bookmark bar
375 // or the download shelf), so that future shrinking will occur from the bottom. 375 // or the download shelf), so that future shrinking will occur from the bottom.
376 - (void)resetWindowGrowthState; 376 - (void)resetWindowGrowthState;
377 377
378 @end // @interface BrowserWindowController(TestingAPI) 378 @end // @interface BrowserWindowController(TestingAPI)
379 379
380 380
381 #endif // CHROME_BROWSER_COCOA_BROWSER_WINDOW_CONTROLLER_H_ 381 #endif // CHROME_BROWSER_COCOA_BROWSER_WINDOW_CONTROLLER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/cocoa/browser_window_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698