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

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

Issue 566473002: mac: Make the avatar button layer backed. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comments from avi, round 2. Created 6 years, 3 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
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/browser_window_controller_private.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_PRIVATE_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_PRIVATE_H_
6 #define CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_PRIVATE_H_ 6 #define CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_PRIVATE_H_
7 7
8 #import "chrome/browser/ui/cocoa/browser_window_controller.h" 8 #import "chrome/browser/ui/cocoa/browser_window_controller.h"
9 #import "chrome/browser/ui/cocoa/presentation_mode_controller.h" 9 #import "chrome/browser/ui/cocoa/presentation_mode_controller.h"
10 10
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 - (void)enableBarVisibilityUpdates; 130 - (void)enableBarVisibilityUpdates;
131 - (void)disableBarVisibilityUpdates; 131 - (void)disableBarVisibilityUpdates;
132 132
133 // If there are no visibility locks and bar visibity updates are enabled, hides 133 // If there are no visibility locks and bar visibity updates are enabled, hides
134 // the bar with |animation| and |delay|. Otherwise, does nothing. 134 // the bar with |animation| and |delay|. Otherwise, does nothing.
135 - (void)hideOverlayIfPossibleWithAnimation:(BOOL)animation delay:(BOOL)delay; 135 - (void)hideOverlayIfPossibleWithAnimation:(BOOL)animation delay:(BOOL)delay;
136 136
137 // The opacity for the toolbar divider; 0 means that it shouldn't be shown. 137 // The opacity for the toolbar divider; 0 means that it shouldn't be shown.
138 - (CGFloat)toolbarDividerOpacity; 138 - (CGFloat)toolbarDividerOpacity;
139 139
140 // When a view does not have a layer, but it has multiple subviews with layers,
141 // the ordering of the layers is not well defined. Removing a subview and
142 // re-adding it to the same position has the side effect of updating the layer
143 // ordering to better reflect the subview ordering.
144 // This is a hack needed because NSThemeFrame is not layer backed, but it has
145 // multiple direct subviews which are. http://crbug.com/413009
146 - (void)updateLayerOrdering:(NSView*)view;
147
140 // Ensures the z-order of subviews is correct. 148 // Ensures the z-order of subviews is correct.
141 - (void)updateSubviewZOrder:(BOOL)inPresentationMode; 149 - (void)updateSubviewZOrder:(BOOL)inPresentationMode;
142 150
143 // Update visibility of the infobar tip, depending on the state of the window. 151 // Update visibility of the infobar tip, depending on the state of the window.
144 - (void)updateInfoBarTipVisibility; 152 - (void)updateInfoBarTipVisibility;
145 153
146 // Returns the max top arrow height for infobar. 154 // Returns the max top arrow height for infobar.
147 - (NSInteger)infoBarMaxTopArrowHeight; 155 - (NSInteger)infoBarMaxTopArrowHeight;
148 156
149 // Configures the presentationModeController_ right after it is constructed. 157 // Configures the presentationModeController_ right after it is constructed.
(...skipping 15 matching lines...) Expand all
165 (fullscreen_mac::SlidingStyle)style; 173 (fullscreen_mac::SlidingStyle)style;
166 174
167 // Toggles the AppKit Fullscreen API. By default, doing so enters Canonical 175 // Toggles the AppKit Fullscreen API. By default, doing so enters Canonical
168 // Fullscreen. 176 // Fullscreen.
169 - (void)enterAppKitFullscreen; 177 - (void)enterAppKitFullscreen;
170 - (void)exitAppKitFullscreen; 178 - (void)exitAppKitFullscreen;
171 179
172 @end // @interface BrowserWindowController(Private) 180 @end // @interface BrowserWindowController(Private)
173 181
174 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_PRIVATE_H_ 182 #endif // CHROME_BROWSER_UI_COCOA_BROWSER_WINDOW_CONTROLLER_PRIVATE_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/browser_window_controller_private.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698