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

Issue 8965070: Change system settings based on when mouse/touchpad is connected/disconnected. (Closed)

Created:
9 years ago by achuithb
Modified:
9 years ago
Reviewers:
xiyuan, James Hawkins
CC:
chromium-reviews, sadrul, nkostylev+watch_chromium.org, derat+watch_chromium.org, arv (Not doing code reviews), stevenjb+watch_chromium.org, davemoore+watch_chromium.org, yusukes+watch_chromium.org
Visibility:
Public.

Description

Change system settings based on when mouse/touchpad is connected/disconnected. BUG=chromium-os:22305 TEST=None yet. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=115525

Patch Set 1 #

Patch Set 2 : virtual dtor #

Patch Set 3 : '' #

Patch Set 4 : '' #

Total comments: 12

Patch Set 5 : review feedback #

Patch Set 6 : const reference to temporary must have copy ctor #

Patch Set 7 : also options2 #

Patch Set 8 : fix copyright #

Patch Set 9 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+185 lines, -20 lines) Patch
A chrome/browser/chromeos/device_hierarchy_observer.h View 1 2 3 4 5 6 7 1 chunk +22 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/system/input_device_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/input_device_settings.cc View 1 2 3 4 5 6 7 8 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/xinput_hierarchy_changed_event_listener.h View 1 2 3 4 5 6 7 8 3 chunks +10 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/xinput_hierarchy_changed_event_listener.cc View 1 2 3 4 5 6 7 8 2 chunks +28 lines, -6 lines 0 comments Download
M chrome/browser/resources/options/chromeos/system_options.js View 1 2 3 4 5 6 7 8 1 chunk +12 lines, -3 lines 0 comments Download
M chrome/browser/resources/options2/chromeos/system_options.js View 1 2 3 4 5 6 7 8 1 chunk +12 lines, -3 lines 0 comments Download
M chrome/browser/ui/webui/options/chromeos/system_options_handler.h View 1 2 3 4 5 6 7 8 4 chunks +11 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 4 chunks +36 lines, -3 lines 0 comments Download
M chrome/browser/ui/webui/options2/chromeos/system_options_handler2.h View 1 2 3 4 5 6 7 8 4 chunks +11 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/options2/chromeos/system_options_handler2.cc View 1 2 3 4 5 6 7 8 5 chunks +35 lines, -3 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
achuithb
In this CL, I have the systems options page monitor xinput hierarchy looking for XIDeviceEnabled/XIDeviceDisabled ...
9 years ago (2011-12-21 01:14:30 UTC) #1
xiyuan
http://codereview.chromium.org/8965070/diff/14002/chrome/browser/chromeos/xinput_hierarchy_changed_event_listener.cc File chrome/browser/chromeos/xinput_hierarchy_changed_event_listener.cc (right): http://codereview.chromium.org/8965070/diff/14002/chrome/browser/chromeos/xinput_hierarchy_changed_event_listener.cc#newcode110 chrome/browser/chromeos/xinput_hierarchy_changed_event_listener.cc:110: XIHierarchyEvent* event = static_cast<XIHierarchyEvent*>(cookie->data); Should this cast only valid ...
9 years ago (2011-12-21 03:38:24 UTC) #2
achuithb
Thanks for the feedback. PTAL, Xiyuan. http://codereview.chromium.org/8965070/diff/14002/chrome/browser/chromeos/xinput_hierarchy_changed_event_listener.cc File chrome/browser/chromeos/xinput_hierarchy_changed_event_listener.cc (right): http://codereview.chromium.org/8965070/diff/14002/chrome/browser/chromeos/xinput_hierarchy_changed_event_listener.cc#newcode110 chrome/browser/chromeos/xinput_hierarchy_changed_event_listener.cc:110: XIHierarchyEvent* event = ...
9 years ago (2011-12-21 22:15:01 UTC) #3
achuithb
James: Owner lgtm needed for ui/webui/options*
9 years ago (2011-12-21 22:16:11 UTC) #4
James Hawkins
lgtm
9 years ago (2011-12-21 22:18:17 UTC) #5
xiyuan
lgtm
9 years ago (2011-12-21 22:27:36 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/achuith@chromium.org/8965070/10019
9 years ago (2011-12-21 22:35:36 UTC) #7
commit-bot: I haz the power
Can't apply patch for file chrome/browser/ui/webui/options2/chromeos/system_options_handler.cc. While running patch -p0 --forward --force; patching file chrome/browser/ui/webui/options2/chromeos/system_options_handler.cc ...
9 years ago (2011-12-21 22:35:41 UTC) #8
achuithb
James: Had to rebase because options2/chromeos/system_options_handler.* got renamed to options2/chromeos/system_options_handler2.*. Could you please take another ...
9 years ago (2011-12-21 23:34:33 UTC) #9
James Hawkins
SLGTM
9 years ago (2011-12-21 23:37:13 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/achuith@chromium.org/8965070/12008
9 years ago (2011-12-21 23:40:18 UTC) #11
commit-bot: I haz the power
Try job failure for 8965070-12008 (retry) on mac_rel for step "test_shell_tests". It's a second try, ...
9 years ago (2011-12-22 01:25:07 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/achuith@chromium.org/8965070/12008
9 years ago (2011-12-22 01:50:46 UTC) #13
commit-bot: I haz the power
Try job failure for 8965070-12008 (retry) (previous was lost) on win_rel for step "content_unittests". It's ...
9 years ago (2011-12-22 05:14:26 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/achuith@chromium.org/8965070/12008
9 years ago (2011-12-22 05:37:16 UTC) #15
commit-bot: I haz the power
9 years ago (2011-12-22 13:22:19 UTC) #16
Change committed as 115525

Powered by Google App Engine
This is Rietveld 408576698