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

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

Issue 435863002: Fix some infobar problems. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated Created 6 years, 5 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.mm
diff --git a/chrome/browser/ui/cocoa/infobars/infobar_container_controller.mm b/chrome/browser/ui/cocoa/infobars/infobar_container_controller.mm
index 4e5df309324a4ed1e5d295403d12da23d8247fb5..f515963c3e8d5c305152aa04e730410868b12809 100644
--- a/chrome/browser/ui/cocoa/infobars/infobar_container_controller.mm
+++ b/chrome/browser/ui/cocoa/infobars/infobar_container_controller.mm
@@ -160,4 +160,12 @@
[infobarControllers_ removeObject:controller];
}
+- (void)setMaxTopArrowHeight:(int)height {
+ containerCocoa_->SetMaxTopArrowHeight(height);
+}
+
+- (NSInteger)defaultArrowHeight {
+ return infobars::InfoBar::kDefaultArrowTargetHeight;
Robert Sesek 2014/08/07 18:12:54 Why not just use this constant instead of calling
+}
+
@end

Powered by Google App Engine
This is Rietveld 408576698