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

Side by Side Diff: chrome/browser/chromeos/preferences.cc

Issue 5512009: Remove unneeded browser_process.h includes. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix linux build Created 10 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 "base/string_split.h" 7 #include "base/string_split.h"
8 #include "base/string_util.h" 8 #include "base/string_util.h"
9 #include "base/utf_string_conversions.h" 9 #include "base/utf_string_conversions.h"
10 #include "chrome/browser/browser_process.h"
11 #include "chrome/browser/chromeos/cros/cros_library.h" 10 #include "chrome/browser/chromeos/cros/cros_library.h"
12 #include "chrome/browser/chromeos/cros/input_method_library.h" 11 #include "chrome/browser/chromeos/cros/input_method_library.h"
13 #include "chrome/browser/chromeos/cros/keyboard_library.h" 12 #include "chrome/browser/chromeos/cros/keyboard_library.h"
14 #include "chrome/browser/chromeos/cros/power_library.h" 13 #include "chrome/browser/chromeos/cros/power_library.h"
15 #include "chrome/browser/chromeos/cros/touchpad_library.h" 14 #include "chrome/browser/chromeos/cros/touchpad_library.h"
16 #include "chrome/browser/chromeos/input_method/input_method_util.h" 15 #include "chrome/browser/chromeos/input_method/input_method_util.h"
17 #include "chrome/browser/chromeos/login/login_utils.h" 16 #include "chrome/browser/chromeos/login/login_utils.h"
18 #include "chrome/browser/prefs/pref_member.h" 17 #include "chrome/browser/prefs/pref_member.h"
19 #include "chrome/browser/prefs/pref_service.h" 18 #include "chrome/browser/prefs/pref_service.h"
20 #include "chrome/common/notification_service.h" 19 #include "chrome/common/notification_service.h"
(...skipping 418 matching lines...) Expand 10 before | Expand all | Expand 10 after
439 AutoRepeatRate rate; 438 AutoRepeatRate rate;
440 rate.initial_delay_in_ms = language_xkb_auto_repeat_delay_pref_.GetValue(); 439 rate.initial_delay_in_ms = language_xkb_auto_repeat_delay_pref_.GetValue();
441 rate.repeat_interval_in_ms = 440 rate.repeat_interval_in_ms =
442 language_xkb_auto_repeat_interval_pref_.GetValue(); 441 language_xkb_auto_repeat_interval_pref_.GetValue();
443 DCHECK(rate.initial_delay_in_ms > 0); 442 DCHECK(rate.initial_delay_in_ms > 0);
444 DCHECK(rate.repeat_interval_in_ms > 0); 443 DCHECK(rate.repeat_interval_in_ms > 0);
445 CrosLibrary::Get()->GetKeyboardLibrary()->SetAutoRepeatRate(rate); 444 CrosLibrary::Get()->GetKeyboardLibrary()->SetAutoRepeatRate(rate);
446 } 445 }
447 446
448 } // namespace chromeos 447 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698