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

Unified Diff: chrome/browser/ui/cocoa/infobars/infobar_container_controller.h

Issue 7461134: [Mac] Unspoofable infobars v3. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Rohit Created 9 years, 4 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/infobars/infobar_container_controller.h
diff --git a/chrome/browser/ui/cocoa/infobars/infobar_container_controller.h b/chrome/browser/ui/cocoa/infobars/infobar_container_controller.h
index 9a011fcd88c57e4d33c314924d0616c120508d5f..1d731123eb497329126519f7a71f60c12542a066 100644
--- a/chrome/browser/ui/cocoa/infobars/infobar_container_controller.h
+++ b/chrome/browser/ui/cocoa/infobars/infobar_container_controller.h
@@ -30,9 +30,12 @@ class TabStripModel;
namespace infobars {
-// How tall the tip is on a normal infobar.
+// The height of an infobar without the tip.
const CGFloat kBaseHeight = 36.0;
+// The height of the infobar tip.
+const CGFloat kTipHeight = 12.0;
+
}; // namespace infobars
@@ -95,7 +98,7 @@ const CGFloat kBaseHeight = 36.0;
// Returns the amount of additional height the container view needs to draw the
// anti-spoofing tip. This will return 0 if |-infobarCount| is 0. This is the
// total amount of overlap for all infobars.
-- (CGFloat)antiSpoofHeight;
+- (CGFloat)overlappingTipHeight;
@end

Powered by Google App Engine
This is Rietveld 408576698