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

Issue 8249011: Remove 'Enable tap-to-click' checkbox for non-touchpad devices. (Closed)

Created:
9 years, 2 months ago by achuithb
Modified:
9 years, 2 months ago
Reviewers:
DaveMoore, Daniel Kurtz
CC:
chromium-reviews, stevenjb, arv (Not doing code reviews), nkostylev+watch_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

Remove 'Enable tap-to-click' checkbox for non-touchpad devices. BUG=chromium-os:21361 TEST=Go to System options on a non-touch device. Should not see Enable tap-to-click. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=107164

Patch Set 1 #

Patch Set 2 : add missing system_options.html file #

Total comments: 2

Patch Set 3 : '' #

Patch Set 4 : Use callback instead #

Patch Set 5 : remove thread_restrictions #

Patch Set 6 : renames #

Patch Set 7 : enable tap to click hidden by default #

Patch Set 8 : Use PostTaskAndReply instead; eliminate TouchPadHelper #

Patch Set 9 : cleanup TouchpadSettings interface #

Unified diffs Side-by-side diffs Delta from patch set Stats (+68 lines, -17 lines) Patch
M chrome/browser/chromeos/system/touchpad_settings.h View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/system/touchpad_settings.cc View 1 2 3 4 5 6 7 8 1 chunk +27 lines, -11 lines 0 comments Download
M chrome/browser/resources/options/chromeos/system_options.html View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/options/chromeos/system_options.js View 1 2 3 4 5 6 7 8 2 chunks +11 lines, -4 lines 0 comments Download
M chrome/browser/ui/webui/options/chromeos/system_options_handler.h View 1 2 3 4 5 6 7 8 3 chunks +7 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/options/chromeos/system_options_handler.cc View 1 2 3 4 5 6 7 8 3 chunks +20 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
achuithb
Dave, please review..
9 years, 2 months ago (2011-10-12 23:03:02 UTC) #1
DaveMoore
http://codereview.chromium.org/8249011/diff/8/chrome/browser/chromeos/system/touchpad_settings.cc File chrome/browser/chromeos/system/touchpad_settings.cc (right): http://codereview.chromium.org/8249011/diff/8/chrome/browser/chromeos/system/touchpad_settings.cc#newcode39 chrome/browser/chromeos/system/touchpad_settings.cc:39: file_util::PathExists(FilePath(kTpControl)); This file exists even on devices with no ...
9 years, 2 months ago (2011-10-13 00:04:43 UTC) #2
achuithb
http://codereview.chromium.org/8249011/diff/8/chrome/browser/chromeos/system/touchpad_settings.cc File chrome/browser/chromeos/system/touchpad_settings.cc (right): http://codereview.chromium.org/8249011/diff/8/chrome/browser/chromeos/system/touchpad_settings.cc#newcode39 chrome/browser/chromeos/system/touchpad_settings.cc:39: file_util::PathExists(FilePath(kTpControl)); How do you tell if there's no touchpad ...
9 years, 2 months ago (2011-10-13 00:06:44 UTC) #3
DaveMoore
I don't know of a way offhand. Maybe something could be added to tpcontrol that ...
9 years, 2 months ago (2011-10-13 00:10:41 UTC) #4
achuithb
Sounds like a lot of work to disable one checkbox! Hopefully a way to figure ...
9 years, 2 months ago (2011-10-13 00:28:04 UTC) #5
Daniel Kurtz
On 2011/10/13 00:28:04, achuith.bhandarkar wrote: > Sounds like a lot of work to disable one ...
9 years, 2 months ago (2011-10-18 01:44:25 UTC) #6
achuithb
I went with the approach of using tpcontrol (which does exist on non-touchpad devices). 'tpcontrol ...
9 years, 2 months ago (2011-10-21 01:15:45 UTC) #7
DaveMoore
This will slow down startup as the FILE thread is somewhat saturated and this will ...
9 years, 2 months ago (2011-10-21 15:58:41 UTC) #8
achuithb
Dave: I kick off TouchPadExists on the file thread only when the chrome://system/settings page needs ...
9 years, 2 months ago (2011-10-21 17:49:12 UTC) #9
DaveMoore
lgtm
9 years, 2 months ago (2011-10-24 21:12:09 UTC) #10
achuithb
9 years, 2 months ago (2011-10-24 21:24:43 UTC) #11
Thanks for the review, Dave.

Daniel - are you planning to review this?

Powered by Google App Engine
This is Rietveld 408576698