Chromium Code Reviews

Unified Diff: chrome/browser/wrench_menu_model.cc

Issue 2845022: Enables the new wrench menu by default on windows. (Closed)
Patch Set: Fix include Created 10 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: chrome/browser/wrench_menu_model.cc
diff --git a/chrome/browser/wrench_menu_model.cc b/chrome/browser/wrench_menu_model.cc
index 42bc6dc7d7abe8d050450dfac57947c53f99ad92..d4c94f04d15f58db6359d8c4f067987ceca236a3 100644
--- a/chrome/browser/wrench_menu_model.cc
+++ b/chrome/browser/wrench_menu_model.cc
@@ -75,7 +75,11 @@ static bool CalculateEnabled() {
std::string value = cl->GetSwitchValueASCII(switches::kNewWrenchMenu);
return value.empty() || value == "true";
}
+#if defined(TOOLKIT_VIEWS)
+ return true;
+#else
return false;
+#endif
}
// static
« no previous file with comments | « chrome/browser/views/browser_views_accessibility_browsertest.cc ('k') | chrome/test/interactive_ui/keyboard_access_uitest.cc » ('j') | no next file with comments »

Powered by Google App Engine