Chromium Code Reviews

Issue 193032: Added ChromeOS settings for touchpad (Closed)

Created:
11 years, 3 months ago by Charlie Lee (do not use)
Modified:
9 years, 7 months ago
Reviewers:
tony, sky
CC:
chromium-reviews_googlegroups.com, Ben Goodger (Google)
Visibility:
Public.

Description

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

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 46

Patch Set 3 : '' #

Total comments: 20

Patch Set 4 : '' #

Total comments: 1

Patch Set 5 : '' #

Total comments: 6

Patch Set 6 : '' #

Unified diffs Side-by-side diffs Stats (+786 lines, -20 lines)
M chrome/app/generated_resources.grd View 1 chunk +19 lines, -0 lines 0 comments
A chrome/browser/chromeos/settings_contents_view.h View 1 chunk +23 lines, -0 lines 0 comments
A chrome/browser/chromeos/settings_contents_view.cc View 1 chunk +507 lines, -0 lines 0 comments
M chrome/browser/chromeos/settings_page_view.h View 2 chunks +6 lines, -1 line 0 comments
M chrome/browser/chromeos/settings_page_view.cc View 2 chunks +4 lines, -3 lines 0 comments
chrome/browser/chromeos/touchpad.h View 1 chunk +57 lines, -0 lines 0 comments
A chrome/browser/chromeos/touchpad.cc View 1 chunk +98 lines, -0 lines 0 comments
M chrome/browser/options_util.cc View 1 chunk +4 lines, -0 lines 0 comments
M chrome/browser/profile.h View 2 chunks +8 lines, -0 lines 0 comments
M chrome/browser/profile.cc View 3 chunks +14 lines, -0 lines 0 comments
M chrome/chrome.gyp View 1 chunk +6 lines, -2 lines 0 comments
M chrome/common/pref_names.h View 1 chunk +4 lines, -0 lines 0 comments
M chrome/common/pref_names.cc View 1 chunk +10 lines, -0 lines 0 comments
M skia/ext/skia_utils_gtk.cc View 1 chunk +6 lines, -1 line 0 comments
views/controls/native_control_gtk.cc View 1 chunk +3 lines, -1 line 0 comments
M views/focus/focus_manager_gtk.cc View 2 chunks +4 lines, -2 lines 0 comments
M views/window/dialog_client_view.cc View 2 chunks +13 lines, -10 lines 0 comments

Messages

Total messages: 14 (0 generated)
Charlie Lee (do not use)
11 years, 3 months ago (2009-09-12 01:56:55 UTC) #1
sky
http://codereview.chromium.org/193032/diff/12001/12002 File chrome/app/generated_resources.grd (right): http://codereview.chromium.org/193032/diff/12001/12002#newcode4496 Line 4496: <message name="IDS_OPTIONS_SETTINGS_SECTION_TITLE_NETWORK"> These should only be defined for ...
11 years, 3 months ago (2009-09-14 17:18:47 UTC) #2
tony
drive-by-suggestions http://codereview.chromium.org/193032/diff/12001/12005 File chrome/browser/chromeos/settings_contents_view.cc (right): http://codereview.chromium.org/193032/diff/12001/12005#newcode383 Line 383: Touchpad::SetTapToClick(enabled); Rather than having to remember to ...
11 years, 3 months ago (2009-09-14 17:37:40 UTC) #3
Charlie Lee (do not use)
Scott and Tony, thanks for the comments. I made the changes and re-uploaded. I have ...
11 years, 3 months ago (2009-09-14 22:40:08 UTC) #4
tony
http://codereview.chromium.org/193032/diff/3013/3021 File chrome/browser/chromeos/touchpad.cc (right): http://codereview.chromium.org/193032/diff/3013/3021#newcode17 Line 17: prefs->RegisterBooleanPref(prefs::kTapToClickEnabled, true); Nit: This is fine because we ...
11 years, 3 months ago (2009-09-14 22:57:06 UTC) #5
sky
http://codereview.chromium.org/193032/diff/3013/3017 File chrome/browser/chromeos/settings_contents_view.cc (right): http://codereview.chromium.org/193032/diff/3013/3017#newcode73 Line 73: // This is just temporary data until we ...
11 years, 3 months ago (2009-09-14 23:29:51 UTC) #6
Charlie Lee (do not use)
Ok, I made the fixes. Please take another look. Thanks.
11 years, 3 months ago (2009-09-15 00:52:13 UTC) #7
tony
Do you need to add the new files to the change set? I don't see ...
11 years, 3 months ago (2009-09-15 00:59:24 UTC) #8
Charlie Lee (do not use)
I ended up calling RegisterUserPreferences from profile.cc as oppose to browser_prefs. Calling it from browser_prefs ...
11 years, 3 months ago (2009-09-15 01:16:37 UTC) #9
tony
touchpad.* and the prefs related code LGTM. I defer to sky for the final LGTM. ...
11 years, 3 months ago (2009-09-15 01:26:44 UTC) #10
Charlie Lee (do not use)
You are right. Oops, fixed. - Charlie On Mon, Sep 14, 2009 at 6:26 PM, ...
11 years, 3 months ago (2009-09-15 01:37:42 UTC) #11
sky
http://codereview.chromium.org/193032/diff/94/9051 File chrome/browser/chromeos/touchpad.cc (right): http://codereview.chromium.org/193032/diff/94/9051#newcode60 Line 60: void Touchpad::SetSynclientParam(const char* param, const char* value) { ...
11 years, 3 months ago (2009-09-15 16:01:53 UTC) #12
Charlie Lee (do not use)
Fixes made and re-uploaded. Thanks.
11 years, 3 months ago (2009-09-15 17:21:36 UTC) #13
sky
11 years, 3 months ago (2009-09-15 17:47:04 UTC) #14
LGTM

Powered by Google App Engine