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

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

Issue 22694002: InstantExtended: Nuke InstantOverlayController. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase. Created 7 years, 4 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
« no previous file with comments | « chrome/browser/history/DEPS ('k') | chrome/browser/ui/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) 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 301 matching lines...) Expand 10 before | Expand all | Expand 10 after
312 - (ThemedWindowStyle)themedWindowStyle; 312 - (ThemedWindowStyle)themedWindowStyle;
313 313
314 // Returns the pattern phase for |alignment|. If the window does not have a tab 314 // Returns the pattern phase for |alignment|. If the window does not have a tab
315 // strip, the phase for THEME_PATTERN_ALIGN_WITH_FRAME is always returned. 315 // strip, the phase for THEME_PATTERN_ALIGN_WITH_FRAME is always returned.
316 - (NSPoint)themePatternPhaseForAlignment:(ThemePatternAlignment)alignment; 316 - (NSPoint)themePatternPhaseForAlignment:(ThemePatternAlignment)alignment;
317 317
318 // Return the point to which a bubble window's arrow should point, in window 318 // Return the point to which a bubble window's arrow should point, in window
319 // coordinates. 319 // coordinates.
320 - (NSPoint)bookmarkBubblePoint; 320 - (NSPoint)bookmarkBubblePoint;
321 321
322 // Returns the frame, in Cocoa (unflipped) screen coordinates, of the area where
323 // Instant results are. If Instant is not showing, returns the frame of where
324 // it would be.
325 - (NSRect)instantFrame;
326
327 // Called when the Add Search Engine dialog is closed. 322 // Called when the Add Search Engine dialog is closed.
328 - (void)sheetDidEnd:(NSWindow*)sheet 323 - (void)sheetDidEnd:(NSWindow*)sheet
329 returnCode:(NSInteger)code 324 returnCode:(NSInteger)code
330 context:(void*)context; 325 context:(void*)context;
331 326
332 // Called when the find bar visibility changes. This is used to update the 327 // Called when the find bar visibility changes. This is used to update the
333 // allowOverlappingViews state. 328 // allowOverlappingViews state.
334 - (void)onFindBarVisibilityChanged; 329 - (void)onFindBarVisibilityChanged;
335 330
336 // Called when an overlapped view is shown. This is used to update the 331 // Called when an overlapped view is shown. This is used to update the
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
494 - (FullscreenExitBubbleController*)fullscreenExitBubbleController; 489 - (FullscreenExitBubbleController*)fullscreenExitBubbleController;
495 490
496 // Gets the rect, in window base coordinates, that the omnibox popup should be 491 // Gets the rect, in window base coordinates, that the omnibox popup should be
497 // positioned relative to. 492 // positioned relative to.
498 - (NSRect)omniboxPopupAnchorRect; 493 - (NSRect)omniboxPopupAnchorRect;
499 494
500 @end // @interface BrowserWindowController (TestingAPI) 495 @end // @interface BrowserWindowController (TestingAPI)
501 496
502 497
503 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_H_ 498 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/history/DEPS ('k') | chrome/browser/ui/cocoa/browser_window_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698