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

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

Issue 10917075: events: Move some files into ui/base/events/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 3 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 unified diff | Download patch | Annotate | Revision Log
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/preferences.h" 5 #include "chrome/browser/chromeos/preferences.h"
6 6
7 #include "base/chromeos/chromeos_version.h" 7 #include "base/chromeos/chromeos_version.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/i18n/time_formatting.h" 9 #include "base/i18n/time_formatting.h"
10 #include "base/metrics/histogram.h" 10 #include "base/metrics/histogram.h"
(...skipping 14 matching lines...) Expand all
25 #include "chrome/browser/chromeos/system/statistics_provider.h" 25 #include "chrome/browser/chromeos/system/statistics_provider.h"
26 #include "chrome/browser/download/download_util.h" 26 #include "chrome/browser/download/download_util.h"
27 #include "chrome/browser/prefs/pref_service.h" 27 #include "chrome/browser/prefs/pref_service.h"
28 #include "chrome/browser/prefs/scoped_user_pref_update.h" 28 #include "chrome/browser/prefs/scoped_user_pref_update.h"
29 #include "chrome/common/chrome_notification_types.h" 29 #include "chrome/common/chrome_notification_types.h"
30 #include "chrome/common/chrome_switches.h" 30 #include "chrome/common/chrome_switches.h"
31 #include "chrome/common/pref_names.h" 31 #include "chrome/common/pref_names.h"
32 #include "content/public/browser/notification_details.h" 32 #include "content/public/browser/notification_details.h"
33 #include "content/public/browser/notification_source.h" 33 #include "content/public/browser/notification_source.h"
34 #include "googleurl/src/gurl.h" 34 #include "googleurl/src/gurl.h"
35 #include "ui/base/events.h" 35 #include "ui/base/events/event_constants.h"
36 #include "unicode/timezone.h" 36 #include "unicode/timezone.h"
37 37
38 namespace chromeos { 38 namespace chromeos {
39 namespace { 39 namespace {
40 40
41 // TODO(achuith): Use a cmd-line flag + use flags for this instead. 41 // TODO(achuith): Use a cmd-line flag + use flags for this instead.
42 bool IsLumpy() { 42 bool IsLumpy() {
43 std::string board; 43 std::string board;
44 system::StatisticsProvider::GetInstance()->GetMachineStatistic( 44 system::StatisticsProvider::GetInstance()->GetMachineStatistic(
45 "CHROMEOS_RELEASE_BOARD", &board); 45 "CHROMEOS_RELEASE_BOARD", &board);
(...skipping 637 matching lines...) Expand 10 before | Expand all | Expand 10 after
683 683
684 input_method::AutoRepeatRate rate; 684 input_method::AutoRepeatRate rate;
685 rate.initial_delay_in_ms = xkb_auto_repeat_delay_pref_.GetValue(); 685 rate.initial_delay_in_ms = xkb_auto_repeat_delay_pref_.GetValue();
686 rate.repeat_interval_in_ms = xkb_auto_repeat_interval_pref_.GetValue(); 686 rate.repeat_interval_in_ms = xkb_auto_repeat_interval_pref_.GetValue();
687 DCHECK(rate.initial_delay_in_ms > 0); 687 DCHECK(rate.initial_delay_in_ms > 0);
688 DCHECK(rate.repeat_interval_in_ms > 0); 688 DCHECK(rate.repeat_interval_in_ms > 0);
689 input_method::XKeyboard::SetAutoRepeatRate(rate); 689 input_method::XKeyboard::SetAutoRepeatRate(rate);
690 } 690 }
691 691
692 } // namespace chromeos 692 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/options/wimax_config_view.cc ('k') | chrome/browser/event_disposition.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698