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

Unified Diff: content/browser/webui/web_ui_factory.cc

Issue 6693032: Remove WebUI menu (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: " Created 9 years, 9 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/common/chrome_switches.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/webui/web_ui_factory.cc
diff --git a/content/browser/webui/web_ui_factory.cc b/content/browser/webui/web_ui_factory.cc
index f8685faf4889f837cd7688ba27df36ca4e78e072..b6193c1d2f9b2f4ab661f0a61133508b9bab4b6e 100644
--- a/content/browser/webui/web_ui_factory.cc
+++ b/content/browser/webui/web_ui_factory.cc
@@ -40,12 +40,9 @@
#if defined(OS_CHROMEOS)
#include "chrome/browser/chromeos/webui/imageburner_ui.h"
#include "chrome/browser/chromeos/webui/keyboard_overlay_ui.h"
-#include "chrome/browser/chromeos/webui/menu_ui.h"
#include "chrome/browser/chromeos/webui/mobile_setup_ui.h"
-#include "chrome/browser/chromeos/webui/network_menu_ui.h"
#include "chrome/browser/chromeos/webui/register_page_ui.h"
#include "chrome/browser/chromeos/webui/system_info_ui.h"
-#include "chrome/browser/chromeos/webui/wrench_menu_ui.h"
#include "chrome/browser/ui/webui/filebrowse_ui.h"
#include "chrome/browser/ui/webui/mediaplayer_ui.h"
#endif
@@ -200,12 +197,6 @@ static WebUIFactoryFunction GetWebUIFactoryFunction(Profile* profile,
return &NewWebUI<SlideshowUI>;
if (url.host() == chrome::kChromeUISystemInfoHost)
return &NewWebUI<SystemInfoUI>;
- if (url.host() == chrome::kChromeUIMenu)
- return &NewWebUI<chromeos::MenuUI>;
- if (url.host() == chrome::kChromeUIWrenchMenu)
- return &NewWebUI<chromeos::WrenchMenuUI>;
- if (url.host() == chrome::kChromeUINetworkMenu)
- return &NewWebUI<chromeos::NetworkMenuUI>;
#else
if (url.host() == chrome::kChromeUISettingsHost)
return &NewWebUI<OptionsUI>;
« no previous file with comments | « chrome/common/chrome_switches.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698