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

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

Issue 1540009: [Mac] Move star button into page-actions area of omnibox. (Closed)
Patch Set: Why did the trybot fail? I can't see anything. Created 10 years, 8 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
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 327 matching lines...) Expand 10 before | Expand all | Expand 10 after
338 // size the window to be taller than the current workspace, the window height is 338 // size the window to be taller than the current workspace, the window height is
339 // capped to be equal to the height of the current workspace. If the window is 339 // capped to be equal to the height of the current workspace. If the window is
340 // partially offscreen, its height is not adjusted at all. This function 340 // partially offscreen, its height is not adjusted at all. This function
341 // prefers to grow the window down, but will grow up if needed. Calls to this 341 // prefers to grow the window down, but will grow up if needed. Calls to this
342 // function should be followed by a call to |layoutSubviews|. 342 // function should be followed by a call to |layoutSubviews|.
343 - (void)adjustWindowHeightBy:(CGFloat)deltaH; 343 - (void)adjustWindowHeightBy:(CGFloat)deltaH;
344 344
345 // Return an autoreleased NSWindow suitable for fullscreen use. 345 // Return an autoreleased NSWindow suitable for fullscreen use.
346 - (NSWindow*)createFullscreenWindow; 346 - (NSWindow*)createFullscreenWindow;
347 347
348 // Return a point suitable for the topLeft for a bookmark bubble. 348 // Return a point suitable for the topRight for a bookmark bubble.
349 - (NSPoint)topLeftForBubble; 349 - (NSPoint)topRightForBubble;
350 350
351 // Resets any saved state about window growth (due to showing the bookmark bar 351 // Resets any saved state about window growth (due to showing the bookmark bar
352 // or the download shelf), so that future shrinking will occur from the bottom. 352 // or the download shelf), so that future shrinking will occur from the bottom.
353 - (void)resetWindowGrowthState; 353 - (void)resetWindowGrowthState;
354 354
355 @end // @interface BrowserWindowController(TestingAPI) 355 @end // @interface BrowserWindowController(TestingAPI)
356 356
357 357
358 #endif // CHROME_BROWSER_COCOA_BROWSER_WINDOW_CONTROLLER_H_ 358 #endif // CHROME_BROWSER_COCOA_BROWSER_WINDOW_CONTROLLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/cocoa/bookmark_bubble_controller_unittest.mm ('k') | chrome/browser/cocoa/browser_window_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698