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

Unified Diff: chrome/browser/ui/webui/options/options_ui.cc

Issue 11308068: Remove the old wallpaper picker code (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase to master Created 8 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
Index: chrome/browser/ui/webui/options/options_ui.cc
diff --git a/chrome/browser/ui/webui/options/options_ui.cc b/chrome/browser/ui/webui/options/options_ui.cc
index 804e0a8d0113f5c2844ce2137dc8a7d6fad3d6cf..567122f8c9fce616b91b0a377569121f4977e5f9 100644
--- a/chrome/browser/ui/webui/options/options_ui.cc
+++ b/chrome/browser/ui/webui/options/options_ui.cc
@@ -77,11 +77,6 @@
#include "chrome/browser/ui/webui/options/chromeos/proxy_handler.h"
#include "chrome/browser/ui/webui/options/chromeos/stats_options_handler.h"
#include "chrome/browser/ui/webui/options/chromeos/user_image_source.h"
-#include "chrome/browser/ui/webui/options/chromeos/wallpaper_thumbnail_source.h"
-#endif
-
-#if defined(OS_CHROMEOS) && defined(USE_ASH)
-#include "chrome/browser/ui/webui/options/chromeos/set_wallpaper_options_handler.h"
#endif
#if defined(USE_NSS)
@@ -292,11 +287,6 @@ OptionsUI::OptionsUI(content::WebUI* web_ui)
AddOptionsPageUIHandler(localized_strings,
new chromeos::options::StatsOptionsHandler());
#endif
-#if defined(OS_CHROMEOS) && defined(USE_ASH)
- AddOptionsPageUIHandler(
- localized_strings,
- new chromeos::options::SetWallpaperOptionsHandler());
-#endif
#if defined(USE_NSS)
AddOptionsPageUIHandler(localized_strings, new CertificateManagerHandler());
#endif
@@ -320,11 +310,6 @@ OptionsUI::OptionsUI(content::WebUI* web_ui)
new chromeos::options::UserImageSource();
ChromeURLDataManager::AddDataSource(profile, user_image_source);
- // Set up the chrome://wallpaper-thumb/ source.
- chromeos::options::WallpaperThumbnailSource* wallpaper_thumbnail_source =
- new chromeos::options::WallpaperThumbnailSource();
- ChromeURLDataManager::AddDataSource(profile, wallpaper_thumbnail_source);
-
pointer_device_observer_.reset(
new chromeos::system::PointerDeviceObserver());
pointer_device_observer_->AddObserver(browser_options_handler);
« no previous file with comments | « chrome/browser/ui/webui/options/chromeos/wallpaper_thumbnail_source.cc ('k') | chrome/chrome_browser_ui.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698