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

Issue 834163002: Fixes smart deploy causing crash on shutdown. (Closed)

Created:
5 years, 11 months ago by rsadam
Modified:
5 years, 11 months ago
CC:
chromium-reviews, kalyank, sadrul
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fixes smart deploy causing crash on shutdown. Moves the destruction of the Virtual Keyboard Controller before the Maximized Mode Controller so that re-enabling the internal keyboard when leaving touchview due to shutdown does not cause the on-screen keyboard to change state. BUG=446204 TEST=VirtualKeyboardControllerTest.RestoreKeyboardDevices Committed: https://crrev.com/bbaf2c83b69fe1e0881809f2c0b7a66606d6a15a Cr-Commit-Position: refs/heads/master@{#310316}

Patch Set 1 #

Patch Set 2 : Adds unittest. #

Patch Set 3 : #

Total comments: 4

Patch Set 4 : Address comments by Sky. #

Total comments: 3

Patch Set 5 : Remove InstallEventBlockerForTest method. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -3 lines) Patch
M ash/shell.cc View 2 chunks +6 lines, -3 lines 0 comments Download
M ash/virtual_keyboard_controller_unittest.cc View 1 2 3 4 3 chunks +41 lines, -0 lines 0 comments Download
M ash/wm/maximize_mode/maximize_mode_controller.h View 1 2 3 4 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (3 generated)
rsadam
Hi Sky, PTAL!
5 years, 11 months ago (2015-01-05 20:44:19 UTC) #2
sky
How about some test coverage?
5 years, 11 months ago (2015-01-06 00:32:23 UTC) #3
rsadam
On 2015/01/06 00:32:23, sky wrote: > How about some test coverage? Hi Sky, it's not ...
5 years, 11 months ago (2015-01-06 16:15:43 UTC) #4
sky
I'm not familiar with the rotation code. I would try Oshima or Stefan. Hopefully they ...
5 years, 11 months ago (2015-01-06 16:54:19 UTC) #5
rsadam
+skuhne
5 years, 11 months ago (2015-01-06 16:57:20 UTC) #7
rsadam
I coded up the approach I initially described, and tested that it fails without my ...
5 years, 11 months ago (2015-01-06 18:12:02 UTC) #8
sky
https://codereview.chromium.org/834163002/diff/40001/ash/virtual_keyboard_controller_unittest.cc File ash/virtual_keyboard_controller_unittest.cc (right): https://codereview.chromium.org/834163002/diff/40001/ash/virtual_keyboard_controller_unittest.cc#newcode76 ash/virtual_keyboard_controller_unittest.cc:76: ~MockEventBlocker() { override https://codereview.chromium.org/834163002/diff/40001/ash/wm/maximize_mode/maximize_mode_controller.h File ash/wm/maximize_mode/maximize_mode_controller.h (right): https://codereview.chromium.org/834163002/diff/40001/ash/wm/maximize_mode/maximize_mode_controller.h#newcode139 ash/wm/maximize_mode/maximize_mode_controller.h:139: ...
5 years, 11 months ago (2015-01-06 22:34:04 UTC) #9
Mr4D (OOO till 08-26)
lgtm for the change after the changes requested by sky. For the sake of completeness: ...
5 years, 11 months ago (2015-01-06 22:46:48 UTC) #10
rsadam
On 2015/01/06 22:46:48, Mr4D wrote: > lgtm for the change after the changes requested by ...
5 years, 11 months ago (2015-01-06 22:50:55 UTC) #11
rsadam
https://codereview.chromium.org/834163002/diff/40001/ash/virtual_keyboard_controller_unittest.cc File ash/virtual_keyboard_controller_unittest.cc (right): https://codereview.chromium.org/834163002/diff/40001/ash/virtual_keyboard_controller_unittest.cc#newcode76 ash/virtual_keyboard_controller_unittest.cc:76: ~MockEventBlocker() { On 2015/01/06 22:34:04, sky wrote: > override ...
5 years, 11 months ago (2015-01-06 23:18:41 UTC) #12
sky
https://codereview.chromium.org/834163002/diff/60001/ash/wm/maximize_mode/maximize_mode_controller.h File ash/wm/maximize_mode/maximize_mode_controller.h (right): https://codereview.chromium.org/834163002/diff/60001/ash/wm/maximize_mode/maximize_mode_controller.h#newcode146 ash/wm/maximize_mode/maximize_mode_controller.h:146: void InstallEventBlockerForTest( Not that your test is a friend ...
5 years, 11 months ago (2015-01-07 16:01:53 UTC) #13
rsadam
https://codereview.chromium.org/834163002/diff/60001/ash/wm/maximize_mode/maximize_mode_controller.h File ash/wm/maximize_mode/maximize_mode_controller.h (right): https://codereview.chromium.org/834163002/diff/60001/ash/wm/maximize_mode/maximize_mode_controller.h#newcode146 ash/wm/maximize_mode/maximize_mode_controller.h:146: void InstallEventBlockerForTest( On 2015/01/07 16:01:52, sky wrote: > Not ...
5 years, 11 months ago (2015-01-07 16:04:32 UTC) #14
rsadam
On 2015/01/07 16:04:32, rsadam wrote: > https://codereview.chromium.org/834163002/diff/60001/ash/wm/maximize_mode/maximize_mode_controller.h > File ash/wm/maximize_mode/maximize_mode_controller.h (right): > > https://codereview.chromium.org/834163002/diff/60001/ash/wm/maximize_mode/maximize_mode_controller.h#newcode146 > ...
5 years, 11 months ago (2015-01-07 16:05:49 UTC) #15
rsadam
https://codereview.chromium.org/834163002/diff/60001/ash/wm/maximize_mode/maximize_mode_controller.h File ash/wm/maximize_mode/maximize_mode_controller.h (right): https://codereview.chromium.org/834163002/diff/60001/ash/wm/maximize_mode/maximize_mode_controller.h#newcode146 ash/wm/maximize_mode/maximize_mode_controller.h:146: void InstallEventBlockerForTest( On 2015/01/07 16:01:52, sky wrote: > Not ...
5 years, 11 months ago (2015-01-07 16:13:02 UTC) #16
sky
LGTM
5 years, 11 months ago (2015-01-07 17:10:09 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/834163002/80001
5 years, 11 months ago (2015-01-07 17:23:33 UTC) #19
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 11 months ago (2015-01-07 17:54:40 UTC) #20
commit-bot: I haz the power
5 years, 11 months ago (2015-01-07 17:56:23 UTC) #21
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/bbaf2c83b69fe1e0881809f2c0b7a66606d6a15a
Cr-Commit-Position: refs/heads/master@{#310316}

Powered by Google App Engine
This is Rietveld 408576698