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

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

Issue 657443004: MacViews: Get views based toolbar to compile on the Mac. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@views-findbar
Patch Set: Rebase Created 6 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
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/ui/cocoa/menu_button.h » ('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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 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 252 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 // changed, or a new browser window or tab is created. |canShowBubble| denotes 263 // changed, or a new browser window or tab is created. |canShowBubble| denotes
264 // whether it would be appropriate to show a zoom bubble or not. 264 // whether it would be appropriate to show a zoom bubble or not.
265 - (void)zoomChangedForActiveTab:(BOOL)canShowBubble; 265 - (void)zoomChangedForActiveTab:(BOOL)canShowBubble;
266 266
267 // Return the rect, in WebKit coordinates (flipped), of the window's grow box 267 // Return the rect, in WebKit coordinates (flipped), of the window's grow box
268 // in the coordinate system of the content area of the currently selected tab. 268 // in the coordinate system of the content area of the currently selected tab.
269 - (NSRect)selectedTabGrowBoxRect; 269 - (NSRect)selectedTabGrowBoxRect;
270 270
271 // Called to tell the selected tab to update its loading state. 271 // Called to tell the selected tab to update its loading state.
272 // |force| is set if the update is due to changing tabs, as opposed to 272 // |force| is set if the update is due to changing tabs, as opposed to
273 // the page-load finishing. See comment in reload_button.h. 273 // the page-load finishing. See comment in reload_button_cocoa.h.
274 - (void)setIsLoading:(BOOL)isLoading force:(BOOL)force; 274 - (void)setIsLoading:(BOOL)isLoading force:(BOOL)force;
275 275
276 // Brings this controller's window to the front. 276 // Brings this controller's window to the front.
277 - (void)activate; 277 - (void)activate;
278 278
279 // Make the location bar the first responder, if possible. 279 // Make the location bar the first responder, if possible.
280 - (void)focusLocationBar:(BOOL)selectAll; 280 - (void)focusLocationBar:(BOOL)selectAll;
281 281
282 // Make the (currently-selected) tab contents the first responder, if possible. 282 // Make the (currently-selected) tab contents the first responder, if possible.
283 - (void)focusTabContents; 283 - (void)focusTabContents;
(...skipping 323 matching lines...) Expand 10 before | Expand all | Expand 10 after
607 // positioned relative to. 607 // positioned relative to.
608 - (NSRect)omniboxPopupAnchorRect; 608 - (NSRect)omniboxPopupAnchorRect;
609 609
610 // Force a layout of info bars. 610 // Force a layout of info bars.
611 - (void)layoutInfoBars; 611 - (void)layoutInfoBars;
612 612
613 @end // @interface BrowserWindowController (TestingAPI) 613 @end // @interface BrowserWindowController (TestingAPI)
614 614
615 615
616 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_H_ 616 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_H_
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/ui/cocoa/menu_button.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698