diff options
author | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-15 20:21:53 +0000 |
---|---|---|
committer | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-15 20:21:53 +0000 |
commit | 2627431bef905332e55a90960aed8049b681689f (patch) | |
tree | 4d15c42eb95a48241e2bc9a109bbb77c3eafad00 /chrome/common | |
parent | d328413b739ed1150369743a64cacfb167086a32 (diff) | |
download | chromium_src-2627431bef905332e55a90960aed8049b681689f.zip chromium_src-2627431bef905332e55a90960aed8049b681689f.tar.gz chromium_src-2627431bef905332e55a90960aed8049b681689f.tar.bz2 |
Lands http://codereview.chromium.org/193032 for Charlie:
First pass at adding ChromeOS settings
- a mock wifi selector combobox
- touchpad settings that makes calls to synclient
- on startup, touchpad settings are initialized to what's stored in
preferences
TEST=none
BUG=none
Review URL: http://codereview.chromium.org/203073
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26259 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r-- | chrome/common/pref_names.cc | 10 | ||||
-rw-r--r-- | chrome/common/pref_names.h | 4 |
2 files changed, 14 insertions, 0 deletions
diff --git a/chrome/common/pref_names.cc b/chrome/common/pref_names.cc index 4294aaa..4ee3cb7 100644 --- a/chrome/common/pref_names.cc +++ b/chrome/common/pref_names.cc @@ -203,6 +203,16 @@ extern const wchar_t kSSL3Enabled[] = L"ssl.ssl3.enabled"; extern const wchar_t kTLS1Enabled[] = L"ssl.tls1.enabled"; #endif +#if defined(OS_CHROMEOS) +// A boolean pref set to true if TapToClick is being done in browser. +extern const wchar_t kTapToClickEnabled[] = + L"settings.touchpad.enable_tap_to_click"; + +// A boolean pref set to true if VertEdgeScroll is being done in browser. +extern const wchar_t kVertEdgeScrollEnabled[] = + L"settings.touchpad.enable_vert_edge_scroll"; +#endif + // The disabled messages in IPC logging. const wchar_t kIpcDisabledMessages[] = L"ipc_log_disabled_messages"; diff --git a/chrome/common/pref_names.h b/chrome/common/pref_names.h index 80f34d5..18c7d45 100644 --- a/chrome/common/pref_names.h +++ b/chrome/common/pref_names.h @@ -71,6 +71,10 @@ extern const wchar_t kSSL2Enabled[]; extern const wchar_t kSSL3Enabled[]; extern const wchar_t kTLS1Enabled[]; #endif +#if defined(OS_CHROMEOS) +extern const wchar_t kTapToClickEnabled[]; +extern const wchar_t kVertEdgeScrollEnabled[]; +#endif extern const wchar_t kIpcDisabledMessages[]; extern const wchar_t kShowHomeButton[]; extern const wchar_t kShowPageOptionsButtons[]; |