| Index: chrome/browser/ui/cocoa/browser_window_controller_private.h
|
| diff --git a/chrome/browser/ui/cocoa/browser_window_controller_private.h b/chrome/browser/ui/cocoa/browser_window_controller_private.h
|
| index c4c57a17366b31c92dd350733c1325aa17e66737..3ec1492e1b42c4c81e3cc08a79b190c8a493bb8c 100644
|
| --- a/chrome/browser/ui/cocoa/browser_window_controller_private.h
|
| +++ b/chrome/browser/ui/cocoa/browser_window_controller_private.h
|
| @@ -137,6 +137,14 @@
|
| // The opacity for the toolbar divider; 0 means that it shouldn't be shown.
|
| - (CGFloat)toolbarDividerOpacity;
|
|
|
| +// When a view does not have a layer, but it has multiple subviews with layers,
|
| +// the ordering of the layers is not well defined. Removing a subview and
|
| +// re-adding it to the same position has the side effect of updating the layer
|
| +// ordering to better reflect the subview ordering.
|
| +// This is a hack needed because NSThemeFrame is not layer backed, but it has
|
| +// multiple direct subviews which are. http://crbug.com/413009
|
| +- (void)updateLayerOrdering:(NSView*)view;
|
| +
|
| // Ensures the z-order of subviews is correct.
|
| - (void)updateSubviewZOrder:(BOOL)inPresentationMode;
|
|
|
|
|