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

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

Issue 18009003: Instant Extended: Delete unused overlay code (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 5 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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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 #import "chrome/browser/ui/cocoa/browser_window_controller.h" 5 #import "chrome/browser/ui/cocoa/browser_window_controller.h"
6 6
7 #include <cmath> 7 #include <cmath>
8 #include <numeric> 8 #include <numeric>
9 9
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 1968 matching lines...) Expand 10 before | Expand all | Expand 10 after
1979 1979
1980 return frame; 1980 return frame;
1981 } 1981 }
1982 1982
1983 - (void)sheetDidEnd:(NSWindow*)sheet 1983 - (void)sheetDidEnd:(NSWindow*)sheet
1984 returnCode:(NSInteger)code 1984 returnCode:(NSInteger)code
1985 context:(void*)context { 1985 context:(void*)context {
1986 [sheet orderOut:self]; 1986 [sheet orderOut:self];
1987 } 1987 }
1988 1988
1989 - (void)updateBookmarkBarStateForInstantOverlay {
1990 [toolbarController_ setDividerOpacity:[self toolbarDividerOpacity]];
1991 [self updateContentOffsets];
1992 [self updateSubviewZOrder:[self inPresentationMode]];
1993 [self updateInfoBarTipVisibility];
1994 }
1995
1996 - (void)onFindBarVisibilityChanged { 1989 - (void)onFindBarVisibilityChanged {
1997 [self updateAllowOverlappingViews:[self inPresentationMode]]; 1990 [self updateAllowOverlappingViews:[self inPresentationMode]];
1998 } 1991 }
1999 1992
2000 - (void)onHistoryOverlayShown { 1993 - (void)onHistoryOverlayShown {
2001 ++historyOverlayCount_; 1994 ++historyOverlayCount_;
2002 [self updateAllowOverlappingViews:[self inPresentationMode]]; 1995 [self updateAllowOverlappingViews:[self inPresentationMode]];
2003 } 1996 }
2004 1997
2005 - (void)onHistoryOverlayHidden { 1998 - (void)onHistoryOverlayHidden {
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after
2261 2254
2262 - (BOOL)supportsBookmarkBar { 2255 - (BOOL)supportsBookmarkBar {
2263 return [self supportsWindowFeature:Browser::FEATURE_BOOKMARKBAR]; 2256 return [self supportsWindowFeature:Browser::FEATURE_BOOKMARKBAR];
2264 } 2257 }
2265 2258
2266 - (BOOL)isTabbedWindow { 2259 - (BOOL)isTabbedWindow {
2267 return browser_->is_type_tabbed(); 2260 return browser_->is_type_tabbed();
2268 } 2261 }
2269 2262
2270 @end // @implementation BrowserWindowController(WindowType) 2263 @end // @implementation BrowserWindowController(WindowType)
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/browser_window_controller.h ('k') | chrome/browser/ui/cocoa/browser_window_controller_browsertest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698