| Index: chrome/browser/ui/cocoa/nsview_additions.h
|
| diff --git a/chrome/browser/ui/cocoa/nsview_additions.h b/chrome/browser/ui/cocoa/nsview_additions.h
|
| index cd8878790ec1d6da93c97fdcafe83a69d70b3b8d..5bd753354fb76d96b5bb88088e33ccba95e6fc79 100644
|
| --- a/chrome/browser/ui/cocoa/nsview_additions.h
|
| +++ b/chrome/browser/ui/cocoa/nsview_additions.h
|
| @@ -15,6 +15,17 @@
|
| // Checks if the mouse is currently in this view.
|
| - (BOOL)cr_isMouseInView;
|
|
|
| +// Returns YES if this view is below |otherView|.
|
| +- (BOOL)cr_isBelowView:(NSView*)otherView;
|
| +
|
| +// Returns YES if this view is aobve |otherView|.
|
| +- (BOOL)cr_isAboveView:(NSView*)otherView;
|
| +
|
| +// Ensures that the z-order of |subview| is correct relative to |otherView|.
|
| +- (void)cr_ensureSubview:(NSView*)subview
|
| + isPositioned:(NSWindowOrderingMode)place
|
| + relativeTo:(NSView *)otherView;
|
| +
|
| @end
|
|
|
| #endif // CHROME_BROWSER_UI_COCOA_NSVIEW_ADDITIONS_H_
|
|
|