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

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

Issue 682943002: Make chrome/browser/chromeos/accessibility compile on Athena with use_ash=0 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@athena_do_not_use_ash41_scroll_end_effect
Patch Set: Created 6 years, 2 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/browser/ui/webui/chromeos/login/core_oobe_handler.cc ('k') | chrome/chrome_browser_chromeos.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/options/browser_options_handler.cc
diff --git a/chrome/browser/ui/webui/options/browser_options_handler.cc b/chrome/browser/ui/webui/options/browser_options_handler.cc
index 321df72e984ba23e516b2d74f8fe5e2aa5fcc103..e263ff3cc2256262d78e504bd8b600e9c81c3a72 100644
--- a/chrome/browser/ui/webui/options/browser_options_handler.cc
+++ b/chrome/browser/ui/webui/options/browser_options_handler.cc
@@ -100,7 +100,6 @@
#if defined(OS_CHROMEOS)
#include "ash/ash_switches.h"
#include "ash/desktop_background/user_wallpaper_delegate.h"
-#include "ash/magnifier/magnifier_constants.h"
#include "ash/shell.h"
#include "chrome/browser/browser_process_platform_part.h"
#include "chrome/browser/chromeos/accessibility/accessibility_util.h"
@@ -121,6 +120,7 @@
#include "components/user_manager/user.h"
#include "components/user_manager/user_manager.h"
#include "policy/policy_constants.h"
+#include "ui/chromeos/accessibility_types.h"
#include "ui/gfx/image/image_skia.h"
#endif // defined(OS_CHROMEOS)
@@ -570,13 +570,13 @@ void BrowserOptionsHandler::GetLocalizedValues(base::DictionaryValue* values) {
scoped_ptr<base::ListValue> magnifier_list(new base::ListValue);
scoped_ptr<base::ListValue> option_full(new base::ListValue);
- option_full->AppendInteger(ash::MAGNIFIER_FULL);
+ option_full->AppendInteger(ui::MAGNIFIER_FULL);
option_full->AppendString(l10n_util::GetStringUTF16(
IDS_OPTIONS_SETTINGS_ACCESSIBILITY_SCREEN_MAGNIFIER_FULL));
magnifier_list->Append(option_full.release());
scoped_ptr<base::ListValue> option_partial(new base::ListValue);
- option_partial->AppendInteger(ash::MAGNIFIER_PARTIAL);
+ option_partial->AppendInteger(ui::MAGNIFIER_PARTIAL);
option_partial->Append(new base::StringValue(l10n_util::GetStringUTF16(
IDS_OPTIONS_SETTINGS_ACCESSIBILITY_SCREEN_MAGNIFIER_PARTIAL)));
magnifier_list->Append(option_partial.release());
« no previous file with comments | « chrome/browser/ui/webui/chromeos/login/core_oobe_handler.cc ('k') | chrome/chrome_browser_chromeos.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698