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

Unified Diff: chrome/browser/cocoa/translate/translate_message_infobar_controller.mm

Issue 2804035: Clean up mac translate bars. (Closed)
Patch Set: Fixes. Created 10 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
« no previous file with comments | « chrome/browser/cocoa/translate/translate_infobar_unittest.mm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/cocoa/translate/translate_message_infobar_controller.mm
diff --git a/chrome/browser/cocoa/translate/translate_message_infobar_controller.mm b/chrome/browser/cocoa/translate/translate_message_infobar_controller.mm
index 65d92bb97b445647b697ae2b74668f91baff1b75..db2f46fc347c3382c2a7fba4cf1806839ff09e03 100644
--- a/chrome/browser/cocoa/translate/translate_message_infobar_controller.mm
+++ b/chrome/browser/cocoa/translate/translate_message_infobar_controller.mm
@@ -30,6 +30,10 @@ using TranslateInfoBarUtilities::MoveControl;
MoveControl(label1_, tryAgainButton_, spaceBetweenControls_ * 2, true);
}
+- (void)adjustOptionsButtonSizeAndVisibilityForView:(NSView*)lastView {
+ // Do nothing, but stop the options button from showing up.
+}
+
- (NSArray*)visibleControls {
NSMutableArray* visibleControls =
[NSMutableArray arrayWithObjects:label1_.get(), nil];
« no previous file with comments | « chrome/browser/cocoa/translate/translate_infobar_unittest.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698