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

Unified Diff: chrome/browser/chromeos/dom_ui/menu_ui.cc

Issue 4273003: Disable DOMUI menu by default. a part of reverting 6497 feature. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years, 1 month 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 | « no previous file | chrome/common/chrome_switches.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/dom_ui/menu_ui.cc
diff --git a/chrome/browser/chromeos/dom_ui/menu_ui.cc b/chrome/browser/chromeos/dom_ui/menu_ui.cc
index 90d6d58c68665eedf6f89d765a753e4d49a2bfe7..8ffd2a830308e2af769cf463b9760159ff31233f 100644
--- a/chrome/browser/chromeos/dom_ui/menu_ui.cc
+++ b/chrome/browser/chromeos/dom_ui/menu_ui.cc
@@ -649,8 +649,8 @@ ChromeURLDataManager::DataSource* MenuUI::CreateMenuUIHTMLSource(
// static
bool MenuUI::IsEnabled() {
- return !CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kDisableDOMUIMenu);
+ return CommandLine::ForCurrentProcess()->HasSwitch(
+ switches::kEnableDOMUIMenu);
}
ChromeURLDataManager::DataSource* MenuUI::CreateDataSource() {
« no previous file with comments | « no previous file | chrome/common/chrome_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698