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

Side by Side Diff: chrome/browser/chromeos/login/wizard_controller.cc

Issue 11415025: A11y: Introduce High Contrast Mode and Screen Magnifier to ubar tray. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: review fix (comment #10) Created 8 years 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/chromeos/login/wizard_controller.h" 5 #include "chrome/browser/chromeos/login/wizard_controller.h"
6 6
7 #include <signal.h> 7 #include <signal.h>
8 #include <stdlib.h> 8 #include <stdlib.h>
9 #include <sys/types.h> 9 #include <sys/types.h>
10 10
(...skipping 392 matching lines...) Expand 10 before | Expand all | Expand 10 after
403 if (local_state->FindPreference(prefs::kSpokenFeedbackEnabled) == NULL) { 403 if (local_state->FindPreference(prefs::kSpokenFeedbackEnabled) == NULL) {
404 local_state->RegisterBooleanPref(prefs::kSpokenFeedbackEnabled, 404 local_state->RegisterBooleanPref(prefs::kSpokenFeedbackEnabled,
405 false, 405 false,
406 PrefService::UNSYNCABLE_PREF); 406 PrefService::UNSYNCABLE_PREF);
407 } 407 }
408 if (local_state->FindPreference(prefs::kHighContrastEnabled) == NULL) { 408 if (local_state->FindPreference(prefs::kHighContrastEnabled) == NULL) {
409 local_state->RegisterBooleanPref(prefs::kHighContrastEnabled, 409 local_state->RegisterBooleanPref(prefs::kHighContrastEnabled,
410 false, 410 false,
411 PrefService::UNSYNCABLE_PREF); 411 PrefService::UNSYNCABLE_PREF);
412 } 412 }
413 if (local_state->FindPreference(prefs::kScreenMagnifierType) == NULL) { 413 if (local_state->FindPreference(prefs::kMagnifierType) == NULL) {
414 local_state->RegisterStringPref(prefs::kScreenMagnifierType, 414 local_state->RegisterStringPref(prefs::kMagnifierType,
415 "", 415 "",
416 PrefService::UNSYNCABLE_PREF); 416 PrefService::UNSYNCABLE_PREF);
417 } 417 }
418 if (local_state->FindPreference(prefs::kVirtualKeyboardEnabled) == NULL) { 418 if (local_state->FindPreference(prefs::kVirtualKeyboardEnabled) == NULL) {
419 local_state->RegisterBooleanPref(prefs::kVirtualKeyboardEnabled, 419 local_state->RegisterBooleanPref(prefs::kVirtualKeyboardEnabled,
420 false, 420 false,
421 PrefService::UNSYNCABLE_PREF); 421 PrefService::UNSYNCABLE_PREF);
422 } 422 }
423 local_state->RegisterBooleanPref(prefs::kOwnerPrimaryMouseButtonRight, false); 423 local_state->RegisterBooleanPref(prefs::kOwnerPrimaryMouseButtonRight, false);
424 local_state->RegisterBooleanPref(prefs::kOwnerTapToClickEnabled, true); 424 local_state->RegisterBooleanPref(prefs::kOwnerTapToClickEnabled, true);
(...skipping 413 matching lines...) Expand 10 before | Expand all | Expand 10 after
838 return zero_delay_enabled_; 838 return zero_delay_enabled_;
839 } 839 }
840 840
841 // static 841 // static
842 void WizardController::SetZeroDelays() { 842 void WizardController::SetZeroDelays() {
843 kShowDelayMs = 0; 843 kShowDelayMs = 0;
844 zero_delay_enabled_ = true; 844 zero_delay_enabled_ = true;
845 } 845 }
846 846
847 } // namespace chromeos 847 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698