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

Unified Diff: chrome/browser/ui/cocoa/nsview_additions.h

Issue 11876036: Alternate NTP: Don't hide bookmark bar on instant (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: " Created 7 years, 11 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 side-by-side diff with in-line comments
Download patch
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_

Powered by Google App Engine
This is Rietveld 408576698