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

Issue 313913004: Block internal PlatformEvents before they are dispatched in touchview. (Closed)

Created:
6 years, 6 months ago by flackr
Modified:
6 years, 6 months ago
CC:
chromium-reviews, kalyank, ben+ash_chromium.org, tdresser+watch_chromium.org, bruthig
Visibility:
Public.

Description

Block internal PlatformEvents before they are dispatched in touchview. This prevents updating the key state. BUG=374002, 368669 TEST=EventsXTest.Disable* TEST=On device opened past 180 degrees, hold shift and click on link. Link should open in same window. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=279732

Patch Set 1 : #

Patch Set 2 : Remove obsolete comment and unnecessary includes. #

Total comments: 1

Patch Set 3 : Block events from disabled devices through DeviceDataManager. #

Total comments: 12

Patch Set 4 : Merge and address comments. #

Patch Set 5 : Add base class for win compile. #

Patch Set 6 : Merge #

Patch Set 7 : Merge. #

Patch Set 8 : Merge. #

Patch Set 9 : Check for DDM instance before using. #

Patch Set 10 : Fix updating cursor on enter notify. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+447 lines, -630 lines) Patch
M ash/ash.gyp View 1 2 3 4 1 chunk +3 lines, -5 lines 0 comments Download
M ash/wm/maximize_mode/internal_input_device_list.h View 1 2 1 chunk +0 lines, -32 lines 0 comments Download
M ash/wm/maximize_mode/internal_input_device_list_x11.h View 1 2 1 chunk +0 lines, -38 lines 0 comments Download
D ash/wm/maximize_mode/internal_input_device_list_x11.cc View 1 2 3 4 5 6 7 1 chunk +0 lines, -58 lines 0 comments Download
M ash/wm/maximize_mode/maximize_mode_controller.h View 1 2 3 2 chunks +4 lines, -4 lines 0 comments Download
M ash/wm/maximize_mode/maximize_mode_controller.cc View 1 2 3 4 3 chunks +8 lines, -2 lines 0 comments Download
M ash/wm/maximize_mode/maximize_mode_controller_unittest.cc View 1 2 3 4 5 5 chunks +0 lines, -180 lines 0 comments Download
M ash/wm/maximize_mode/maximize_mode_event_blocker.h View 1 2 1 chunk +0 lines, -53 lines 0 comments Download
D ash/wm/maximize_mode/maximize_mode_event_blocker.cc View 1 2 1 chunk +0 lines, -165 lines 0 comments Download
A ash/wm/maximize_mode/scoped_disable_internal_mouse_and_keyboard.h View 1 2 3 4 1 chunk +17 lines, -0 lines 0 comments Download
A ash/wm/maximize_mode/scoped_disable_internal_mouse_and_keyboard_x11.h View 1 2 3 4 1 chunk +43 lines, -0 lines 0 comments Download
A ash/wm/maximize_mode/scoped_disable_internal_mouse_and_keyboard_x11.cc View 1 2 3 4 5 6 7 1 chunk +141 lines, -0 lines 0 comments Download
M ui/aura/window_tree_host_x11.cc View 1 2 3 4 5 6 7 8 9 4 chunks +86 lines, -93 lines 0 comments Download
M ui/events/device_data_manager.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M ui/events/device_data_manager.cc View 1 2 3 4 5 6 7 8 1 chunk +5 lines, -0 lines 0 comments Download
M ui/events/x/device_data_manager_x11.h View 1 2 3 4 5 6 7 3 chunks +25 lines, -0 lines 0 comments Download
M ui/events/x/device_data_manager_x11.cc View 1 2 3 4 5 6 7 3 chunks +42 lines, -0 lines 0 comments Download
M ui/events/x/events_x.cc View 1 2 3 4 5 6 7 8 1 chunk +9 lines, -0 lines 0 comments Download
M ui/events/x/events_x_unittest.cc View 1 2 3 4 5 6 7 3 chunks +63 lines, -0 lines 0 comments Download

Messages

Total messages: 40 (0 generated)
flackr
Hey, can you take a look at this approach. This is effectively moving the blocking ...
6 years, 6 months ago (2014-06-04 16:18:12 UTC) #1
bruthig
@Sadrul, this fix makes some of the following code review redundant and I will not ...
6 years, 6 months ago (2014-06-04 19:16:04 UTC) #2
sadrul
On 2014/06/04 19:16:04, bruthig wrote: > @Sadrul, this fix makes some of the following code ...
6 years, 6 months ago (2014-06-05 16:03:46 UTC) #3
sadrul
I am not a fan of adding yet another list of general purpose observers/filters/dispatchers for ...
6 years, 6 months ago (2014-06-05 16:04:39 UTC) #4
flackr
On 2014/06/05 16:04:39, sadrul wrote: > I am not a fan of adding yet another ...
6 years, 6 months ago (2014-06-10 19:10:28 UTC) #5
flackr
https://codereview.chromium.org/313913004/diff/50001/ash/wm/maximize_mode/scoped_disable_internal_mouse_and_keyboard_x11.cc File ash/wm/maximize_mode/scoped_disable_internal_mouse_and_keyboard_x11.cc (right): https://codereview.chromium.org/313913004/diff/50001/ash/wm/maximize_mode/scoped_disable_internal_mouse_and_keyboard_x11.cc#newcode63 ash/wm/maximize_mode/scoped_disable_internal_mouse_and_keyboard_x11.cc:63: keyboard_device_id_(0), I believe 0 is a valid device id, ...
6 years, 6 months ago (2014-06-11 22:16:48 UTC) #6
sadrul
LGTM https://codereview.chromium.org/313913004/diff/50001/ui/aura/window_tree_host_x11.cc File ui/aura/window_tree_host_x11.cc (right): https://codereview.chromium.org/313913004/diff/50001/ui/aura/window_tree_host_x11.cc#newcode423 ui/aura/window_tree_host_x11.cc:423: } Maybe this could move out of the ...
6 years, 6 months ago (2014-06-12 21:02:27 UTC) #7
flackr
https://codereview.chromium.org/313913004/diff/50001/ash/wm/maximize_mode/scoped_disable_internal_mouse_and_keyboard_x11.cc File ash/wm/maximize_mode/scoped_disable_internal_mouse_and_keyboard_x11.cc (right): https://codereview.chromium.org/313913004/diff/50001/ash/wm/maximize_mode/scoped_disable_internal_mouse_and_keyboard_x11.cc#newcode63 ash/wm/maximize_mode/scoped_disable_internal_mouse_and_keyboard_x11.cc:63: keyboard_device_id_(0), On 2014/06/11 22:16:47, flackr wrote: > I believe ...
6 years, 6 months ago (2014-06-18 05:28:32 UTC) #8
flackr
The CQ bit was checked by flackr@chromium.org
6 years, 6 months ago (2014-06-18 05:28:58 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/flackr@chromium.org/313913004/70001
6 years, 6 months ago (2014-06-18 05:31:31 UTC) #10
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-18 16:43:18 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: mac_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/mac_gpu/builds/18422)
6 years, 6 months ago (2014-06-18 16:43:18 UTC) #12
flackr
The CQ bit was checked by flackr@chromium.org
6 years, 6 months ago (2014-06-19 21:18:56 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/flackr@chromium.org/313913004/130001
6 years, 6 months ago (2014-06-19 21:21:18 UTC) #14
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_aosp on tryserver.chromium ...
6 years, 6 months ago (2014-06-20 00:52:38 UTC) #15
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-20 00:55:38 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: mac_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/mac_gpu/builds/19288)
6 years, 6 months ago (2014-06-20 00:55:38 UTC) #17
flackr
The CQ bit was checked by flackr@chromium.org
6 years, 6 months ago (2014-06-20 06:50:20 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/flackr@chromium.org/313913004/130001
6 years, 6 months ago (2014-06-20 06:52:35 UTC) #19
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_aosp on tryserver.chromium ...
6 years, 6 months ago (2014-06-20 09:53:52 UTC) #20
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-20 09:56:38 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/ios_dbg_simulator/builds/163377) ios_rel_device_ninja on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/ios_rel_device_ninja/builds/23830) mac_chromium_compile_dbg ...
6 years, 6 months ago (2014-06-20 09:56:39 UTC) #22
flackr
The CQ bit was checked by flackr@chromium.org
6 years, 6 months ago (2014-06-23 17:30:21 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/flackr@chromium.org/313913004/170001
6 years, 6 months ago (2014-06-23 17:31:14 UTC) #24
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_aosp on tryserver.chromium ...
6 years, 6 months ago (2014-06-23 17:43:56 UTC) #25
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-23 17:45:39 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: mac_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/mac_gpu/builds/20410)
6 years, 6 months ago (2014-06-23 17:45:41 UTC) #27
flackr
The CQ bit was checked by flackr@chromium.org
6 years, 6 months ago (2014-06-24 15:43:36 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/flackr@chromium.org/313913004/190001
6 years, 6 months ago (2014-06-24 15:44:23 UTC) #29
flackr
The CQ bit was unchecked by flackr@chromium.org
6 years, 6 months ago (2014-06-24 17:44:43 UTC) #30
flackr
The CQ bit was checked by flackr@chromium.org
6 years, 6 months ago (2014-06-24 17:46:48 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/flackr@chromium.org/313913004/210001
6 years, 6 months ago (2014-06-24 17:48:10 UTC) #32
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_chromium_chromeos_rel on tryserver.chromium ...
6 years, 6 months ago (2014-06-24 21:30:44 UTC) #33
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-24 22:35:33 UTC) #34
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/linux_chromium_rel/builds/45544)
6 years, 6 months ago (2014-06-24 22:35:35 UTC) #35
flackr
The CQ bit was checked by flackr@chromium.org
6 years, 6 months ago (2014-06-25 14:36:53 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/flackr@chromium.org/313913004/230001
6 years, 6 months ago (2014-06-25 14:38:24 UTC) #37
commit-bot: I haz the power
Change committed as 279732
6 years, 6 months ago (2014-06-25 16:32:22 UTC) #38
Avi (use Gerrit)
I reverted this with 279734. This appears to have broken a bot: http://build.chromium.org/p/chromium.linux/builders/Linux%20Builder%20%28dbg%29%2832%29/builds/25683 [809/2026 | ...
6 years, 6 months ago (2014-06-25 17:01:39 UTC) #39
Avi (use Gerrit)
6 years, 6 months ago (2014-06-25 17:11:46 UTC) #40
Message was sent while issue was closed.
Yeah, this appears to have been the issue.

Powered by Google App Engine
This is Rietveld 408576698