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

Issue 11888003: Differentiate invisible cursor mode and disabled mouse events mode. (Closed)

Created:
7 years, 11 months ago by mazda
Modified:
5 years, 7 months ago
CC:
chromium-reviews, sadrul, yusukes+watch_chromium.org, ben+watch_chromium.org, tfarina, penghuang+watch_chromium.org, joi+watch-content_chromium.org, darin-cc_chromium.org, James Su
Visibility:
Public.

Description

Differentiate invisible cursor mode and disabled mouse events mode. I made the cursor visibility and the mouse events enable state work as follows. - Typing keys just hides the cursor and mouse events are not disabled (mouse hover state is not cleared) - Scrolling a web page when the cursor is invisible disables mouse events. - Touch events disable mouse events. BUG=154979 TBR=jln@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=180528

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 2

Patch Set 4 : rewrote tests using EventGenerator #

Total comments: 4

Patch Set 5 : address comments #

Total comments: 1

Patch Set 6 : remove offset parameter #

Patch Set 7 : rebase #

Patch Set 8 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+130 lines, -54 lines) Patch
ash/shell.cc View 1 2 3 4 5 6 1 chunk +6 lines, -4 lines 0 comments Download
M ash/wm/session_state_controller_impl.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M ash/wm/session_state_controller_impl2.cc View 1 2 3 4 5 6 3 chunks +3 lines, -3 lines 0 comments Download
M ash/wm/window_manager_unittest.cc View 1 2 3 4 1 chunk +51 lines, -29 lines 0 comments Download
M content/browser/renderer_host/render_view_host_impl.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
content/browser/renderer_host/render_view_host_impl.cc View 1 2 3 4 5 6 2 chunks +7 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura.cc View 1 2 3 4 5 6 3 chunks +12 lines, -2 lines 0 comments Download
M content/common/view_messages.h View 1 2 3 4 5 6 1 chunk +6 lines, -0 lines 0 comments Download
content/port/browser/render_widget_host_view_port.h View 1 2 3 4 5 6 1 chunk +3 lines, -0 lines 0 comments Download
content/renderer/render_view_impl.cc View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M ui/views/corewm/compound_event_filter.h View 1 1 chunk +5 lines, -0 lines 0 comments Download
M ui/views/corewm/compound_event_filter.cc View 3 chunks +31 lines, -14 lines 0 comments Download

Messages

Total messages: 21 (0 generated)
mazda
Could you review this change? oshima: cursor related changes jam: content changes Thanks,
7 years, 11 months ago (2013-01-16 22:43:47 UTC) #1
jam
On 2013/01/16 22:43:47, mazda wrote: > Could you review this change? > > oshima: cursor ...
7 years, 11 months ago (2013-01-17 00:50:53 UTC) #2
Ben Goodger (Google)
content aura stuff lgtm
7 years, 11 months ago (2013-01-17 18:49:17 UTC) #3
oshima
https://codereview.chromium.org/11888003/diff/21002/ash/wm/window_manager_unittest.cc File ash/wm/window_manager_unittest.cc (right): https://codereview.chromium.org/11888003/diff/21002/ash/wm/window_manager_unittest.cc#newcode724 ash/wm/window_manager_unittest.cc:724: false); can you use event generator?
7 years, 11 months ago (2013-01-17 18:57:02 UTC) #4
mazda
Please take another look. https://codereview.chromium.org/11888003/diff/21002/ash/wm/window_manager_unittest.cc File ash/wm/window_manager_unittest.cc (right): https://codereview.chromium.org/11888003/diff/21002/ash/wm/window_manager_unittest.cc#newcode724 ash/wm/window_manager_unittest.cc:724: false); On 2013/01/17 18:57:02, oshima ...
7 years, 11 months ago (2013-01-18 20:34:54 UTC) #5
oshima
https://codereview.chromium.org/11888003/diff/32001/ash/wm/window_manager_unittest.cc File ash/wm/window_manager_unittest.cc (right): https://codereview.chromium.org/11888003/diff/32001/ash/wm/window_manager_unittest.cc#newcode649 ash/wm/window_manager_unittest.cc:649: aura::test::EventGenerator generator(root_window, window.get()); You should be able to use ...
7 years, 11 months ago (2013-01-18 21:59:56 UTC) #6
mazda
https://codereview.chromium.org/11888003/diff/32001/ash/wm/window_manager_unittest.cc File ash/wm/window_manager_unittest.cc (right): https://codereview.chromium.org/11888003/diff/32001/ash/wm/window_manager_unittest.cc#newcode649 ash/wm/window_manager_unittest.cc:649: aura::test::EventGenerator generator(root_window, window.get()); On 2013/01/18 21:59:56, oshima wrote: > ...
7 years, 11 months ago (2013-01-18 22:44:38 UTC) #7
oshima
lgtm
7 years, 11 months ago (2013-01-18 22:49:17 UTC) #8
mazda
+sky Could you do an OWNERS review for ash and ui/views?
7 years, 11 months ago (2013-01-18 22:57:09 UTC) #9
sky
LGTM
7 years, 11 months ago (2013-01-18 23:41:31 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mazda@chromium.org/11888003/43002
7 years, 11 months ago (2013-01-19 00:29:12 UTC) #11
commit-bot: I haz the power
Presubmit check for 11888003-43002 failed and returned exit status 1. Running presubmit commit checks ...
7 years, 11 months ago (2013-01-19 00:29:18 UTC) #12
mazda
+jln, Could you review content/common/view_messages.h?
7 years, 11 months ago (2013-01-19 00:35:23 UTC) #13
jln (very slow on Chromium)
https://codereview.chromium.org/11888003/diff/43002/content/common/view_messages.h File content/common/view_messages.h (right): https://codereview.chromium.org/11888003/diff/43002/content/common/view_messages.h#newcode1834 content/common/view_messages.h:1834: gfx::Vector2d /* offset */) Do you think you'll ever ...
7 years, 11 months ago (2013-01-22 23:54:21 UTC) #14
mazda
On 2013/01/22 23:54:21, Julien Tinnes wrote: > https://codereview.chromium.org/11888003/diff/43002/content/common/view_messages.h > File content/common/view_messages.h (right): > > https://codereview.chromium.org/11888003/diff/43002/content/common/view_messages.h#newcode1834 ...
7 years, 11 months ago (2013-01-23 01:42:00 UTC) #15
mazda
John, I removed the offset parameter from RenderWidgetHostPort::ScrollOffsetChanged and other related functions per suggestion of ...
7 years, 11 months ago (2013-01-24 01:16:59 UTC) #16
mazda
jam: ping?
7 years, 10 months ago (2013-01-28 21:02:47 UTC) #17
James Cook
On 2013/01/28 21:02:47, mazda wrote: > jam: ping? Did you want a second L G ...
7 years, 10 months ago (2013-02-01 19:16:59 UTC) #18
mazda
James, I chatted with John and he said no need L G T M again. ...
7 years, 10 months ago (2013-02-04 18:26:39 UTC) #19
zel
LGTM
7 years, 10 months ago (2013-02-04 21:16:41 UTC) #20
jln (very slow on Chromium)
7 years, 10 months ago (2013-02-04 22:09:32 UTC) #21
Message was sent while issue was closed.
LGTM

Powered by Google App Engine
This is Rietveld 408576698