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

Unified Diff: chrome/browser/chromeos/login/session/user_session_manager.cc

Issue 2410773003: Make ChromeVox Next the default ChromeVox experience (Closed)
Patch Set: Created 4 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 | « no previous file | chrome/browser/resources/chromeos/chromevox/chromevox/background/options.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/session/user_session_manager.cc
diff --git a/chrome/browser/chromeos/login/session/user_session_manager.cc b/chrome/browser/chromeos/login/session/user_session_manager.cc
index dddb10455a9834e527daa093aaf9824287ffa60e..fbc1a03b36037823d7863f270169d630aae46c14 100644
--- a/chrome/browser/chromeos/login/session/user_session_manager.cc
+++ b/chrome/browser/chromeos/login/session/user_session_manager.cc
@@ -143,7 +143,8 @@ static const int kMaxRestartDelaySeconds = 10;
// ChromeVox tutorial URL (used in place of "getting started" url when
// accessibility is enabled).
const char kChromeVoxTutorialURLPattern[] =
- "http://www.chromevox.com/tutorial/index.html?lang=%s";
+ "chrome-extension://mndnfokpggljbaajbnioimlmbfngpief/"
+ "cvox2/background/panel.html?tutorial";
void InitLocaleAndInputMethodsForNewUser(
UserSessionManager* session_manager,
@@ -1230,11 +1231,7 @@ void UserSessionManager::InitializeStartUrls() const {
if (!user_manager->IsLoggedInAsPublicAccount()) {
if (AccessibilityManager::Get()->IsSpokenFeedbackEnabled()) {
const char* url = kChromeVoxTutorialURLPattern;
- PrefService* prefs = g_browser_process->local_state();
- const std::string current_locale =
- base::ToLowerASCII(prefs->GetString(prefs::kApplicationLocale));
- std::string vox_url = base::StringPrintf(url, current_locale.c_str());
- start_urls.push_back(vox_url);
+ start_urls.push_back(url);
achuithb 2016/10/17 21:37:26 Why not start_urls.push_back(kChromeVoxTutorialUR
can_show_getstarted_guide = false;
}
}
« no previous file with comments | « no previous file | chrome/browser/resources/chromeos/chromevox/chromevox/background/options.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698