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

Unified Diff: chrome/browser/ui/webui/chromeos/login/core_oobe_handler.cc

Issue 2718333002: Move ash_util functions from 'chrome' namespace to 'ash_util' namespace (Closed)
Patch Set: Rebase after https://codereview.chromium.org/2721883002 Created 3 years, 10 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/views/task_manager_view.cc ('k') | chrome/browser/ui/webui/chromeos/login/oobe_ui.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/chromeos/login/core_oobe_handler.cc
diff --git a/chrome/browser/ui/webui/chromeos/login/core_oobe_handler.cc b/chrome/browser/ui/webui/chromeos/login/core_oobe_handler.cc
index 0d6cac5715fbffa43fa2b56f62158b4182e23940..5c4ec9c3b1aac9ee57c4d90c88987223004f519a 100644
--- a/chrome/browser/ui/webui/chromeos/login/core_oobe_handler.cc
+++ b/chrome/browser/ui/webui/chromeos/login/core_oobe_handler.cc
@@ -58,7 +58,7 @@ namespace chromeos {
CoreOobeHandler::CoreOobeHandler(OobeUI* oobe_ui)
: oobe_ui_(oobe_ui), version_info_updater_(this) {
set_call_js_prefix(kJsScreenPath);
- if (!chrome::IsRunningInMash()) {
+ if (!ash_util::IsRunningInMash()) {
AccessibilityManager* accessibility_manager = AccessibilityManager::Get();
CHECK(accessibility_manager);
accessibility_subscription_ = accessibility_manager->RegisterCallback(
@@ -314,7 +314,7 @@ void CoreOobeHandler::HandleUpdateCurrentScreen(
if (delegate_)
delegate_->OnCurrentScreenChanged(screen);
// TODO(mash): Support EventRewriterController; see crbug.com/647781
- if (!chrome::IsRunningInMash()) {
+ if (!ash_util::IsRunningInMash()) {
KeyboardDrivenEventRewriter::GetInstance()->SetArrowToTabRewritingEnabled(
screen == OobeScreen::SCREEN_OOBE_EULA);
}
@@ -399,7 +399,7 @@ void CoreOobeHandler::UpdateShutdownAndRebootVisibility(
}
void CoreOobeHandler::UpdateA11yState() {
- if (chrome::IsRunningInMash()) {
+ if (ash_util::IsRunningInMash()) {
NOTIMPLEMENTED();
return;
}
« no previous file with comments | « chrome/browser/ui/views/task_manager_view.cc ('k') | chrome/browser/ui/webui/chromeos/login/oobe_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698