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

Issue 12263050: Rework ash::CursorManager into a corewm object, to share code with desktop. (Closed)

Created:
7 years, 10 months ago by Elliot Glaysher
Modified:
7 years, 10 months ago
CC:
chromium-reviews, tfarina, sadrul, ben+watch_chromium.org
Visibility:
Public.

Description

Rework ash::CursorManager into a corewm object, to share code with desktop. Desktop aura no longer spams the console with enable/disable mouse pointer messages. BUG=none Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=184798

Patch Set 1 #

Total comments: 3

Patch Set 2 : Lables #

Total comments: 1

Patch Set 3 : Move to two delegates. #

Patch Set 4 : Fix windows compile. #

Patch Set 5 : General patch cleanup. #

Total comments: 2

Patch Set 6 : Rename everything. #

Patch Set 7 : Rebase to ToT #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1070 lines, -872 lines) Patch
M ash/ash.gyp View 1 2 3 4 5 6 3 chunks +3 lines, -3 lines 0 comments Download
M ash/display/mouse_cursor_event_filter.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M ash/display/mouse_cursor_event_filter_unittest.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M ash/drag_drop/drag_drop_controller.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M ash/shell.h View 1 2 3 4 5 6 5 chunks +7 lines, -3 lines 0 comments Download
M ash/shell.cc View 1 2 3 4 5 6 2 chunks +4 lines, -0 lines 0 comments Download
M ash/test/cursor_manager_test_api.h View 1 2 1 chunk +7 lines, -4 lines 0 comments Download
M ash/test/cursor_manager_test_api.cc View 1 2 3 4 5 2 chunks +10 lines, -4 lines 0 comments Download
M ash/test/shell_test_api.h View 1 2 3 4 5 2 chunks +2 lines, -0 lines 0 comments Download
M ash/test/shell_test_api.cc View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M ash/tooltips/tooltip_controller_unittest.cc View 1 2 3 4 5 6 1 chunk +0 lines, -1 line 0 comments Download
A ash/wm/ash_native_cursor_manager.h View 1 2 3 4 5 6 1 chunk +62 lines, -0 lines 0 comments Download
A ash/wm/ash_native_cursor_manager.cc View 1 2 3 4 5 1 chunk +109 lines, -0 lines 0 comments Download
A ash/wm/ash_native_cursor_manager_unittest.cc View 1 2 3 4 5 1 chunk +166 lines, -0 lines 0 comments Download
M ash/wm/cursor_manager.h View 1 2 1 chunk +0 lines, -80 lines 0 comments Download
M ash/wm/cursor_manager.cc View 1 2 1 chunk +0 lines, -224 lines 0 comments Download
M ash/wm/cursor_manager_unittest.cc View 1 2 1 chunk +0 lines, -360 lines 0 comments Download
M ash/wm/default_window_resizer.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M ash/wm/drag_window_resizer.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M ash/wm/drag_window_resizer_unittest.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M ash/wm/panel_window_resizer.cc View 1 2 3 4 5 1 chunk +0 lines, -1 line 0 comments Download
M ash/wm/power_button_controller_unittest.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M ash/wm/session_state_controller_impl2_unittest.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M ash/wm/window_manager_unittest.cc View 1 2 3 chunks +2 lines, -3 lines 0 comments Download
M ash/wm/workspace/workspace_window_resizer.cc View 1 2 3 4 5 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/chromeos/login/login_browsertest.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc View 1 2 3 4 5 1 chunk +0 lines, -1 line 0 comments Download
A + ui/views/corewm/cursor_manager.h View 1 2 3 4 5 6 2 chunks +26 lines, -29 lines 0 comments Download
A ui/views/corewm/cursor_manager.cc View 1 2 3 4 5 1 chunk +178 lines, -0 lines 0 comments Download
A ui/views/corewm/cursor_manager_unittest.cc View 1 2 3 4 5 1 chunk +243 lines, -0 lines 0 comments Download
A ui/views/corewm/native_cursor_manager.h View 1 2 3 4 5 1 chunk +52 lines, -0 lines 0 comments Download
A ui/views/corewm/native_cursor_manager_delegate.h View 1 2 3 4 5 1 chunk +33 lines, -0 lines 0 comments Download
M ui/views/views.gyp View 1 2 3 4 5 6 5 chunks +7 lines, -2 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_cursor_client.h View 1 2 1 chunk +0 lines, -56 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_cursor_client.cc View 1 2 1 chunk +0 lines, -80 lines 0 comments Download
A ui/views/widget/desktop_aura/desktop_native_cursor_manager.h View 1 2 3 4 5 1 chunk +59 lines, -0 lines 0 comments Download
A ui/views/widget/desktop_aura/desktop_native_cursor_manager.cc View 1 2 3 4 5 1 chunk +69 lines, -0 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_root_window_host_linux.h View 1 2 3 4 5 6 2 chunks +5 lines, -2 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_root_window_host_linux.cc View 1 2 3 4 5 6 4 chunks +8 lines, -4 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_root_window_host_win.h View 1 2 3 4 5 2 chunks +6 lines, -2 lines 0 comments Download
M ui/views/widget/desktop_aura/desktop_root_window_host_win.cc View 1 2 3 4 5 6 2 chunks +8 lines, -3 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
Elliot Glaysher
7 years, 10 months ago (2013-02-14 23:42:03 UTC) #1
sky
I'm off tomorrow, sky->ben
7 years, 10 months ago (2013-02-15 01:01:23 UTC) #2
mazda
lgtm with few nits. https://codereview.chromium.org/12263050/diff/1/ui/views/corewm/cursor_controller.h File ui/views/corewm/cursor_controller.h (right): https://codereview.chromium.org/12263050/diff/1/ui/views/corewm/cursor_controller.h#newcode26 ui/views/corewm/cursor_controller.h:26: public: Need one space. https://codereview.chromium.org/12263050/diff/1/ui/views/corewm/cursor_controller.h#newcode43 ...
7 years, 10 months ago (2013-02-15 01:40:12 UTC) #3
Ben Goodger (Google)
https://codereview.chromium.org/12263050/diff/12001/ui/views/widget/desktop_aura/desktop_cursor_client.h File ui/views/widget/desktop_aura/desktop_cursor_client.h (right): https://codereview.chromium.org/12263050/diff/12001/ui/views/widget/desktop_aura/desktop_cursor_client.h#newcode26 ui/views/widget/desktop_aura/desktop_cursor_client.h:26: class VIEWS_EXPORT DesktopCursorClient I think I'd prefer the model ...
7 years, 10 months ago (2013-02-15 23:02:08 UTC) #4
Elliot Glaysher
ptal If you have any suggested names for the two delegate interfaces added, I'm all ...
7 years, 10 months ago (2013-02-20 22:35:21 UTC) #5
Elliot Glaysher
On 2013/02/20 22:35:21, Elliot Glaysher wrote: > ptal > > If you have any suggested ...
7 years, 10 months ago (2013-02-21 23:33:48 UTC) #6
Ben Goodger (Google)
Can you sketch a diagram of the relevant objects, interfaces etc. who performs what? https://codereview.chromium.org/12263050/diff/29001/ui/views/corewm/cursor_manager.h ...
7 years, 10 months ago (2013-02-22 18:00:06 UTC) #7
Elliot Glaysher
https://codereview.chromium.org/12263050/diff/29001/ui/views/corewm/cursor_manager.h File ui/views/corewm/cursor_manager.h (right): https://codereview.chromium.org/12263050/diff/29001/ui/views/corewm/cursor_manager.h#newcode29 ui/views/corewm/cursor_manager.h:29: public CursorManagerDelegate { On 2013/02/22 18:00:06, Ben Goodger (Google) ...
7 years, 10 months ago (2013-02-22 18:40:07 UTC) #8
Ben Goodger (Google)
First of all, it's not nice and simple, it's implementation inheritance, which you know I ...
7 years, 10 months ago (2013-02-22 21:08:19 UTC) #9
Elliot Glaysher
ptal. I've renamed the classes to NativeCursorManager* and slightly modified the class comments.
7 years, 10 months ago (2013-02-26 18:13:37 UTC) #10
Ben Goodger (Google)
Cool, thanks. LGTM.
7 years, 10 months ago (2013-02-26 20:35:20 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/erg@chromium.org/12263050/32001
7 years, 10 months ago (2013-02-26 20:37:47 UTC) #12
commit-bot: I haz the power
7 years, 10 months ago (2013-02-27 00:41:34 UTC) #13
Message was sent while issue was closed.
Change committed as 184798

Powered by Google App Engine
This is Rietveld 408576698