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

Issue 15381003: Use helper DeviceChangeHandler to call mousecontrol/tpcontrol whenever a device is attached. (Closed)

Created:
7 years, 7 months ago by achuithb
Modified:
7 years, 6 months ago
Reviewers:
xiyuan
CC:
chromium-reviews, oshima+watch_chromium.org, stevenjb+watch_chromium.org, nkostylev+watch_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

Use helper DeviceChangeHandler to call mousecontrol/tpcontrol whenever a device is attached. BUG=240819 TEST=manual Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=203868

Patch Set 1 #

Patch Set 2 : #

Total comments: 1

Patch Set 3 : xiyuan feedback #

Patch Set 4 : #

Patch Set 5 : rebase #

Patch Set 6 : DeviceChangeHandler #

Patch Set 7 : minor #

Total comments: 2

Patch Set 8 : RemoveObserver #

Patch Set 9 : rebase #

Patch Set 10 : fix owner settings #

Patch Set 11 : minor #

Patch Set 12 : missing file #

Patch Set 13 : fix browser tests #

Patch Set 14 : GetDefaultProfile #

Unified diffs Side-by-side diffs Delta from patch set Stats (+130 lines, -8 lines) Patch
M chrome/browser/chromeos/chrome_browser_main_chromeos.h View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/chrome_browser_main_chromeos.cc View 1 2 3 4 5 6 7 8 13 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/login/login_display_host_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +0 lines, -8 lines 0 comments Download
A chrome/browser/chromeos/system/device_change_handler.h View 1 2 3 4 5 1 chunk +33 lines, -0 lines 0 comments Download
A chrome/browser/chromeos/system/device_change_handler.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +89 lines, -0 lines 0 comments Download
M chrome/chrome_browser_chromeos.gypi View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 24 (0 generated)
achuithb
Please take a look, Xiyuan.
7 years, 7 months ago (2013-05-21 01:31:47 UTC) #1
xiyuan
I am not feeling comfortable putting PointerDeviceObserver into Preferences. There is a Preferences instance per ...
7 years, 7 months ago (2013-05-21 02:01:44 UTC) #2
achuithb
On 2013/05/21 02:01:44, xiyuan wrote: > I am not feeling comfortable putting PointerDeviceObserver into Preferences. ...
7 years, 7 months ago (2013-05-22 01:04:36 UTC) #3
achuithb
On 2013/05/22 01:04:36, achuith.bhandarkar wrote: > On 2013/05/21 02:01:44, xiyuan wrote: > > I am ...
7 years, 7 months ago (2013-05-22 01:08:21 UTC) #4
xiyuan
On 2013/05/22 01:08:21, achuith.bhandarkar wrote: > On 2013/05/22 01:04:36, achuith.bhandarkar wrote: > > On 2013/05/21 ...
7 years, 7 months ago (2013-05-22 04:52:24 UTC) #5
achuithb
Xiyuan, what do you think of this change? I could make the Observer a separate ...
7 years, 7 months ago (2013-05-23 01:03:37 UTC) #6
xiyuan
On 2013/05/23 01:03:37, achuith.bhandarkar wrote: > Xiyuan, what do you think of this change? I ...
7 years, 7 months ago (2013-05-23 01:57:45 UTC) #7
achuithb
On 2013/05/23 01:57:45, xiyuan wrote: > On 2013/05/23 01:03:37, achuith.bhandarkar wrote: > > Xiyuan, what ...
7 years, 7 months ago (2013-05-23 21:35:00 UTC) #8
xiyuan
LGTM Cool. Thank your for making the changes. https://codereview.chromium.org/15381003/diff/35001/chrome/browser/chromeos/system/device_change_handler.cc File chrome/browser/chromeos/system/device_change_handler.cc (right): https://codereview.chromium.org/15381003/diff/35001/chrome/browser/chromeos/system/device_change_handler.cc#newcode22 chrome/browser/chromeos/system/device_change_handler.cc:22: DeviceChangeHandler::~DeviceChangeHandler() ...
7 years, 7 months ago (2013-05-23 21:40:41 UTC) #9
achuithb
Thanks for the review! https://codereview.chromium.org/15381003/diff/35001/chrome/browser/chromeos/system/device_change_handler.cc File chrome/browser/chromeos/system/device_change_handler.cc (right): https://codereview.chromium.org/15381003/diff/35001/chrome/browser/chromeos/system/device_change_handler.cc#newcode22 chrome/browser/chromeos/system/device_change_handler.cc:22: DeviceChangeHandler::~DeviceChangeHandler() { On 2013/05/23 21:40:42, ...
7 years, 7 months ago (2013-05-23 21:51:41 UTC) #10
achuithb
Xiyuan, I did some more testing, and the handling of owner preferences on the login ...
7 years, 6 months ago (2013-05-31 01:30:17 UTC) #11
achuithb
The only changes are in device_change_handler.cc and login_display_host_impl.cc.
7 years, 6 months ago (2013-05-31 01:31:04 UTC) #12
xiyuan
LGTM
7 years, 6 months ago (2013-05-31 03:36:22 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/achuith@chromium.org/15381003/51002
7 years, 6 months ago (2013-05-31 03:52:33 UTC) #14
commit-bot: I haz the power
Retried try job too often on linux_aura for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_aura&number=45736
7 years, 6 months ago (2013-05-31 06:12:04 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/achuith@chromium.org/15381003/51002
7 years, 6 months ago (2013-05-31 08:17:47 UTC) #16
commit-bot: I haz the power
Retried try job too often on linux_chromeos for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_chromeos&number=120506
7 years, 6 months ago (2013-05-31 10:37:45 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/achuith@chromium.org/15381003/51002
7 years, 6 months ago (2013-05-31 10:48:06 UTC) #18
commit-bot: I haz the power
Retried try job too often on linux_chromeos for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_chromeos&number=120529
7 years, 6 months ago (2013-05-31 13:28:18 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/achuith@chromium.org/15381003/51002
7 years, 6 months ago (2013-05-31 19:15:11 UTC) #20
commit-bot: I haz the power
Retried try job too often on linux_chromeos for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_chromeos&number=120721
7 years, 6 months ago (2013-05-31 22:00:32 UTC) #21
achuithb
Xiyuan: There was one more error in my code. I'm accessing g_browser_process in DeviceChangeHandler, so ...
7 years, 6 months ago (2013-06-03 22:29:15 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/achuith@chromium.org/15381003/96001
7 years, 6 months ago (2013-06-04 00:04:56 UTC) #23
commit-bot: I haz the power
7 years, 6 months ago (2013-06-04 06:35:35 UTC) #24
Message was sent while issue was closed.
Change committed as 203868

Powered by Google App Engine
This is Rietveld 408576698