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

Unified Diff: ios/clean/chrome/browser/ui/toolbar/toolbar_view_controller.mm

Issue 2693043002: [ios clean] Add overflow buttons for ToolsMenu. (Closed)
Patch Set: Created 3 years, 10 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: ios/clean/chrome/browser/ui/toolbar/toolbar_view_controller.mm
diff --git a/ios/clean/chrome/browser/ui/toolbar/toolbar_view_controller.mm b/ios/clean/chrome/browser/ui/toolbar/toolbar_view_controller.mm
index 0e4487db404e9bcf03ca9d64b7e7da54be1313b2..2aafad26dfed145876842f762f100bdb6b62a9f9 100644
--- a/ios/clean/chrome/browser/ui/toolbar/toolbar_view_controller.mm
+++ b/ios/clean/chrome/browser/ui/toolbar/toolbar_view_controller.mm
@@ -84,6 +84,10 @@ CGFloat kVerticalMargin = 5.0f;
]];
}
+- (void)viewWillLayoutSubviews {
+ [self closeToolsMenu:nil];
edchin 2017/02/15 04:14:50 Pls comment that this closes the menu when the dev
marq (ping after 24h) 2017/02/15 15:06:16 I'd like to not "fake" calls to target/action meth
sczs 2017/02/16 00:31:39 Done.
+}
+
#pragma mark - Components Setup
- (void)setUpToolbarButtons {

Powered by Google App Engine
This is Rietveld 408576698