| OLD | NEW | 
|    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/preferences.h" |    5 #include "chrome/browser/chromeos/preferences.h" | 
|    6  |    6  | 
|    7 #include "ash/display/display_controller.h" |    7 #include "ash/display/display_controller.h" | 
|    8 #include "ash/shell.h" |    8 #include "ash/shell.h" | 
|    9 #include "base/chromeos/chromeos_version.h" |    9 #include "base/chromeos/chromeos_version.h" | 
|   10 #include "base/command_line.h" |   10 #include "base/command_line.h" | 
|   11 #include "base/i18n/time_formatting.h" |   11 #include "base/i18n/time_formatting.h" | 
|   12 #include "base/metrics/histogram.h" |   12 #include "base/metrics/histogram.h" | 
|   13 #include "base/string_split.h" |   13 #include "base/string_split.h" | 
|   14 #include "base/string_util.h" |   14 #include "base/string_util.h" | 
|   15 #include "base/utf_string_conversions.h" |   15 #include "base/utf_string_conversions.h" | 
 |   16 #include "chrome/browser/api/prefs/pref_member.h" | 
|   16 #include "chrome/browser/browser_process.h" |   17 #include "chrome/browser/browser_process.h" | 
|   17 #include "chrome/browser/chromeos/gdata/gdata_util.h" |   18 #include "chrome/browser/chromeos/gdata/gdata_util.h" | 
|   18 #include "chrome/browser/chromeos/input_method/input_method_manager.h" |   19 #include "chrome/browser/chromeos/input_method/input_method_manager.h" | 
|   19 #include "chrome/browser/chromeos/input_method/input_method_util.h" |   20 #include "chrome/browser/chromeos/input_method/input_method_util.h" | 
|   20 #include "chrome/browser/chromeos/input_method/xkeyboard.h" |   21 #include "chrome/browser/chromeos/input_method/xkeyboard.h" | 
|   21 #include "chrome/browser/chromeos/login/login_utils.h" |   22 #include "chrome/browser/chromeos/login/login_utils.h" | 
|   22 #include "chrome/browser/chromeos/system/drm_settings.h" |   23 #include "chrome/browser/chromeos/system/drm_settings.h" | 
|   23 #include "chrome/browser/chromeos/system/input_device_settings.h" |   24 #include "chrome/browser/chromeos/system/input_device_settings.h" | 
|   24 #include "chrome/browser/chromeos/system/power_manager_settings.h" |   25 #include "chrome/browser/chromeos/system/power_manager_settings.h" | 
|   25 #include "chrome/browser/chromeos/system/statistics_provider.h" |   26 #include "chrome/browser/chromeos/system/statistics_provider.h" | 
|   26 #include "chrome/browser/download/download_util.h" |   27 #include "chrome/browser/download/download_util.h" | 
|   27 #include "chrome/browser/prefs/pref_member.h" |  | 
|   28 #include "chrome/browser/prefs/pref_service.h" |   28 #include "chrome/browser/prefs/pref_service.h" | 
|   29 #include "chrome/browser/prefs/scoped_user_pref_update.h" |   29 #include "chrome/browser/prefs/scoped_user_pref_update.h" | 
|   30 #include "chrome/common/chrome_notification_types.h" |   30 #include "chrome/common/chrome_notification_types.h" | 
|   31 #include "chrome/common/chrome_switches.h" |   31 #include "chrome/common/chrome_switches.h" | 
|   32 #include "chrome/common/pref_names.h" |   32 #include "chrome/common/pref_names.h" | 
|   33 #include "content/public/browser/notification_details.h" |   33 #include "content/public/browser/notification_details.h" | 
|   34 #include "content/public/browser/notification_source.h" |   34 #include "content/public/browser/notification_source.h" | 
|   35 #include "googleurl/src/gurl.h" |   35 #include "googleurl/src/gurl.h" | 
|   36 #include "ui/base/events.h" |   36 #include "ui/base/events.h" | 
|   37 #include "unicode/timezone.h" |   37 #include "unicode/timezone.h" | 
| (...skipping 671 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  709  |  709  | 
|  710   input_method::AutoRepeatRate rate; |  710   input_method::AutoRepeatRate rate; | 
|  711   rate.initial_delay_in_ms = xkb_auto_repeat_delay_pref_.GetValue(); |  711   rate.initial_delay_in_ms = xkb_auto_repeat_delay_pref_.GetValue(); | 
|  712   rate.repeat_interval_in_ms = xkb_auto_repeat_interval_pref_.GetValue(); |  712   rate.repeat_interval_in_ms = xkb_auto_repeat_interval_pref_.GetValue(); | 
|  713   DCHECK(rate.initial_delay_in_ms > 0); |  713   DCHECK(rate.initial_delay_in_ms > 0); | 
|  714   DCHECK(rate.repeat_interval_in_ms > 0); |  714   DCHECK(rate.repeat_interval_in_ms > 0); | 
|  715   input_method::XKeyboard::SetAutoRepeatRate(rate); |  715   input_method::XKeyboard::SetAutoRepeatRate(rate); | 
|  716 } |  716 } | 
|  717  |  717  | 
|  718 }  // namespace chromeos |  718 }  // namespace chromeos | 
| OLD | NEW |