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

Unified Diff: chrome/browser/app_controller_mac.mm

Issue 2814683005: [Mac] Support for Touch Bar Customization (Closed)
Patch Set: Cleaned up Created 3 years, 8 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/app_controller_mac.mm
diff --git a/chrome/browser/app_controller_mac.mm b/chrome/browser/app_controller_mac.mm
index 78d27e24bfe65d7ece00191b85791a9638cee468..820f59609438786d2545c0794333737b1e1151b1 100644
--- a/chrome/browser/app_controller_mac.mm
+++ b/chrome/browser/app_controller_mac.mm
@@ -741,6 +741,9 @@ class AppControllerProfileObserver : public ProfileAttributesStorage::Observer {
handoff_active_url_observer_bridge_.reset(
new HandoffActiveURLObserverBridge(self));
+
+ [NSApplication sharedApplication].automaticCustomizeTouchBarMenuItemEnabled =
Robert Sesek 2017/04/13 18:45:32 Won't this crash on anything <10.12.1?
spqchan 2017/04/13 21:13:50 Good point, I added in the fix
+ YES;
}
// Helper function for populating and displaying the in progress downloads at

Powered by Google App Engine
This is Rietveld 408576698