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

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

Issue 8356028: Add shortcut to show avatar menu (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix typo Created 9 years, 2 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) 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_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 294 matching lines...) Expand 10 before | Expand all | Expand 10 after
305 // Returns the frame, in Cocoa (unflipped) screen coordinates, of the area where 305 // Returns the frame, in Cocoa (unflipped) screen coordinates, of the area where
306 // Instant results are. If Instant is not showing, returns the frame of where 306 // Instant results are. If Instant is not showing, returns the frame of where
307 // it would be. 307 // it would be.
308 - (NSRect)instantFrame; 308 - (NSRect)instantFrame;
309 309
310 // Called when the Add Search Engine dialog is closed. 310 // Called when the Add Search Engine dialog is closed.
311 - (void)sheetDidEnd:(NSWindow*)sheet 311 - (void)sheetDidEnd:(NSWindow*)sheet
312 returnCode:(NSInteger)code 312 returnCode:(NSInteger)code
313 context:(void*)context; 313 context:(void*)context;
314 314
315 - (AvatarButtonController*)avatarButtonController;
Robert Sesek 2011/10/20 16:32:33 This should be towards the top with the rest of th
sail 2011/10/20 20:42:49 Done.
316
315 @end // @interface BrowserWindowController 317 @end // @interface BrowserWindowController
316 318
317 319
318 // Methods having to do with the window type (normal/popup/app, and whether the 320 // Methods having to do with the window type (normal/popup/app, and whether the
319 // window has various features; fullscreen and presentation mode methods are 321 // window has various features; fullscreen and presentation mode methods are
320 // separate). 322 // separate).
321 @interface BrowserWindowController(WindowType) 323 @interface BrowserWindowController(WindowType)
322 324
323 // Determines whether this controller's window supports a given feature (i.e., 325 // Determines whether this controller's window supports a given feature (i.e.,
324 // whether a given feature is or can be shown in the window). 326 // whether a given feature is or can be shown in the window).
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
454 - (void)resetWindowGrowthState; 456 - (void)resetWindowGrowthState;
455 457
456 // Computes by how far in each direction, horizontal and vertical, the 458 // Computes by how far in each direction, horizontal and vertical, the
457 // |source| rect doesn't fit into |target|. 459 // |source| rect doesn't fit into |target|.
458 - (NSSize)overflowFrom:(NSRect)source 460 - (NSSize)overflowFrom:(NSRect)source
459 to:(NSRect)target; 461 to:(NSRect)target;
460 @end // @interface BrowserWindowController (TestingAPI) 462 @end // @interface BrowserWindowController (TestingAPI)
461 463
462 464
463 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_H_ 465 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698