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

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

Issue 6543012: [Mac] Fix cut-off Browser chrome when opening Tabpose with an infobar showing. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments Created 9 years, 10 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) 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_UI_COCOA_BROWSER_WINDOW_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_H_
6 #define CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_H_ 6 #define CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_H_
7 #pragma once 7 #pragma once
8 8
9 // A class acting as the Objective-C controller for the Browser 9 // A class acting as the Objective-C controller for the Browser
10 // object. Handles interactions between Cocoa and the cross-platform 10 // object. Handles interactions between Cocoa and the cross-platform
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 149
150 // Access the C++ bridge between the NSWindow and the rest of Chromium. 150 // Access the C++ bridge between the NSWindow and the rest of Chromium.
151 - (BrowserWindow*)browserWindow; 151 - (BrowserWindow*)browserWindow;
152 152
153 // Return a weak pointer to the toolbar controller. 153 // Return a weak pointer to the toolbar controller.
154 - (ToolbarController*)toolbarController; 154 - (ToolbarController*)toolbarController;
155 155
156 // Return a weak pointer to the tab strip controller. 156 // Return a weak pointer to the tab strip controller.
157 - (TabStripController*)tabStripController; 157 - (TabStripController*)tabStripController;
158 158
159 // Access the ObjC controller that contains the infobars.
160 - (InfoBarContainerController*)infoBarContainerController;
161
159 // Access the C++ bridge object representing the status bubble for the window. 162 // Access the C++ bridge object representing the status bubble for the window.
160 - (StatusBubbleMac*)statusBubble; 163 - (StatusBubbleMac*)statusBubble;
161 164
162 // Access the C++ bridge object representing the location bar. 165 // Access the C++ bridge object representing the location bar.
163 - (LocationBarViewMac*)locationBarBridge; 166 - (LocationBarViewMac*)locationBarBridge;
164 167
165 // Updates the toolbar (and transitively the location bar) with the states of 168 // Updates the toolbar (and transitively the location bar) with the states of
166 // the specified |tab|. If |shouldRestore| is true, we're switching 169 // the specified |tab|. If |shouldRestore| is true, we're switching
167 // (back?) to this tab and should restore any previous location bar state 170 // (back?) to this tab and should restore any previous location bar state
168 // (such as user editing) as well. 171 // (such as user editing) as well.
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after
388 - (void)resetWindowGrowthState; 391 - (void)resetWindowGrowthState;
389 392
390 // Computes by how far in each direction, horizontal and vertical, the 393 // Computes by how far in each direction, horizontal and vertical, the
391 // |source| rect doesn't fit into |target|. 394 // |source| rect doesn't fit into |target|.
392 - (NSSize)overflowFrom:(NSRect)source 395 - (NSSize)overflowFrom:(NSRect)source
393 to:(NSRect)target; 396 to:(NSRect)target;
394 @end // @interface BrowserWindowController(TestingAPI) 397 @end // @interface BrowserWindowController(TestingAPI)
395 398
396 399
397 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_H_ 400 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/browser_window_controller.mm » ('j') | chrome/browser/ui/cocoa/tabpose_window.mm » ('J')

Powered by Google App Engine
This is Rietveld 408576698