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

Issue 2110833003: MD Settings: Add mouse settings, update pointer settings (Closed)

Created:
4 years, 5 months ago by michaelpg
Modified:
4 years, 5 months ago
Reviewers:
stevenjb
CC:
chromium-reviews, extensions-reviews_chromium.org, michaelpg+watch-md-settings_chromium.org, arv+watch_chromium.org, michaelpg+watch-md-ui_chromium.org, jlklein+watch-closure_chromium.org, oshima+watch_chromium.org, vitalyp+closure_chromium.org, chromium-apps-reviews_chromium.org, dbeam+watch-settings_chromium.org, stevenjb+watch-md-settings_chromium.org, davemoore+watch_chromium.org, dbeam+watch-closure_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@PointersFake
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

MD Settings: Add mouse settings, update pointer settings Adds mouse settings and touchpad sensitivity settings. Updates the pointer icon and title in the device page based on whether a mouse, touchpad, or both are connected. Shows headers separating the mouse and touchpad sections on the pointers subpage when both are visible. If the subpage is open and all mice/touchpads are disconnected, the subpage closes. Also address some flakiness I found in the tests. Screenshots in the bug. BUG=612986, 598901 R=stevenjb@chromium.org CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:closure_compilation;master.tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/fe807f4f43fc317d93df7a8e48a7c62caf42fb4b Cr-Commit-Position: refs/heads/master@{#406396}

Patch Set 1 #

Patch Set 2 #

Total comments: 13

Patch Set 3 : comments + rebase #

Patch Set 4 : Close when pointers disconnected #

Total comments: 1

Patch Set 5 : rebase #

Patch Set 6 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+596 lines, -136 lines) Patch
M chrome/app/settings_strings.grdp View 1 2 3 4 5 2 chunks +28 lines, -6 lines 0 comments Download
M chrome/browser/extensions/api/settings_private/prefs_util.cc View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/resources/settings/device_page/compiled_resources2.gyp View 1 2 2 chunks +4 lines, -1 line 0 comments Download
M chrome/browser/resources/settings/device_page/device_page.html View 1 2 3 3 chunks +16 lines, -9 lines 0 comments Download
M chrome/browser/resources/settings/device_page/device_page.js View 1 2 3 3 chunks +97 lines, -3 lines 0 comments Download
M chrome/browser/resources/settings/device_page/device_page_browser_proxy.js View 2 chunks +8 lines, -0 lines 0 comments Download
A chrome/browser/resources/settings/device_page/pointers.html View 1 2 1 chunk +88 lines, -0 lines 0 comments Download
A chrome/browser/resources/settings/device_page/pointers.js View 1 2 1 chunk +55 lines, -0 lines 0 comments Download
D chrome/browser/resources/settings/device_page/touchpad.html View 1 chunk +0 lines, -37 lines 0 comments Download
D chrome/browser/resources/settings/device_page/touchpad.js View 1 chunk +0 lines, -28 lines 0 comments Download
M chrome/browser/resources/settings/icons.html View 1 2 3 4 5 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/resources/settings/route.js View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/settings/settings_resources.grd View 1 2 3 4 5 1 chunk +4 lines, -4 lines 0 comments Download
A chrome/browser/ui/webui/settings/chromeos/device_pointer_handler.h View 1 2 1 chunk +51 lines, -0 lines 0 comments Download
A chrome/browser/ui/webui/settings/chromeos/device_pointer_handler.cc View 1 2 1 chunk +56 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc View 1 2 3 4 5 1 chunk +10 lines, -3 lines 0 comments Download
M chrome/browser/ui/webui/settings/md_settings_ui.cc View 1 2 3 4 5 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/test/data/webui/settings/cr_settings_browsertest.js View 1 2 3 4 5 2 chunks +6 lines, -2 lines 0 comments Download
M chrome/test/data/webui/settings/device_page_tests.js View 1 2 3 9 chunks +158 lines, -42 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 24 (12 generated)
michaelpg
PTAL! Not sure how this got so big, there's so much boilerplate to adding a ...
4 years, 5 months ago (2016-06-29 17:44:22 UTC) #3
stevenjb
https://codereview.chromium.org/2110833003/diff/20001/chrome/browser/resources/settings/device_page/device_page.js File chrome/browser/resources/settings/device_page/device_page.js (right): https://codereview.chromium.org/2110833003/diff/20001/chrome/browser/resources/settings/device_page/device_page.js#newcode67 chrome/browser/resources/settings/device_page/device_page.js:67: }, nit: Any reason not to just inline these ...
4 years, 5 months ago (2016-06-30 00:07:49 UTC) #4
michaelpg
PTAL. Since the upstream changed a lot I couldn't rebase in a separate patch, but ...
4 years, 5 months ago (2016-07-09 04:11:30 UTC) #6
michaelpg
Patch Set 4 adds a minor feature: the subpage closes if you remove the mouse ...
4 years, 5 months ago (2016-07-09 04:17:54 UTC) #8
stevenjb
lgtm https://codereview.chromium.org/2110833003/diff/20001/chrome/browser/ui/webui/settings/chromeos/device_pointer_handler.cc File chrome/browser/ui/webui/settings/chromeos/device_pointer_handler.cc (right): https://codereview.chromium.org/2110833003/diff/20001/chrome/browser/ui/webui/settings/chromeos/device_pointer_handler.cc#newcode55 chrome/browser/ui/webui/settings/chromeos/device_pointer_handler.cc:55: base::FundamentalValue(has_touchpad_)); On 2016/07/09 04:11:30, michaelpg wrote: > On ...
4 years, 5 months ago (2016-07-11 17:43:35 UTC) #9
stevenjb
https://codereview.chromium.org/2110833003/diff/80001/chrome/test/data/webui/settings/device_page_tests.js File chrome/test/data/webui/settings/device_page_tests.js (right): https://codereview.chromium.org/2110833003/diff/80001/chrome/test/data/webui/settings/device_page_tests.js#newcode239 chrome/test/data/webui/settings/device_page_tests.js:239: devicePage.$.pages.addEventListener('neon-animation-finish', resolve); BTW, this seems like something we should ...
4 years, 5 months ago (2016-07-11 17:46:21 UTC) #10
commit-bot: I haz the power
Your CL relies on deprecated CQ feature(s): * Specifying master names in CQ_INCLUDE_TRYBOTS part of ...
4 years, 5 months ago (2016-07-19 18:16:10 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2110833003/120001
4 years, 5 months ago (2016-07-19 22:05:05 UTC) #19
commit-bot: I haz the power
Your CL relies on deprecated CQ feature(s): * Specifying master names in CQ_INCLUDE_TRYBOTS part of ...
4 years, 5 months ago (2016-07-19 22:05:07 UTC) #20
commit-bot: I haz the power
Committed patchset #6 (id:120001)
4 years, 5 months ago (2016-07-19 22:17:05 UTC) #21
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-19 22:17:15 UTC) #22
commit-bot: I haz the power
4 years, 5 months ago (2016-07-19 22:19:38 UTC) #24
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/fe807f4f43fc317d93df7a8e48a7c62caf42fb4b
Cr-Commit-Position: refs/heads/master@{#406396}

Powered by Google App Engine
This is Rietveld 408576698