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

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: 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 3d0b6bebc8339dc2c64b52aab67ca87e2b4831a3..7f5d3ba0cba1c8eea96c7fcbe49b70e63a81e627 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)
@@ -291,11 +286,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
@@ -319,11 +309,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);

Powered by Google App Engine
This is Rietveld 408576698