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

Issue 258893002: app_shell: Add support for mouse cursors. (Closed)

Created:
6 years, 8 months ago by Daniel Erat
Modified:
6 years, 7 months ago
CC:
chromium-reviews, tfarina, sadrul, kalyank, ben+ash_chromium.org, chromium-apps-reviews_chromium.org, oshima
Visibility:
Public.

Description

app_shell: Add support for mouse cursors. Move ImageCursors from ash/wm/ to ui/base/cursors/ and add a NativeCursorManager implementation for ShellDesktopController to use. BUG=364290 TEST=cursor is visible when running app_shell on a Chrome OS device and changes after mousing over a link Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=266694

Patch Set 1 #

Patch Set 2 : clean up scale factor code #

Patch Set 3 : move an include #

Total comments: 2

Patch Set 4 : remove cursor copy and hopefully fix mac build #

Total comments: 1

Patch Set 5 : merge #

Patch Set 6 : update build to exclude ImageCursors on android #

Unified diffs Side-by-side diffs Delta from patch set Stats (+195 lines, -312 lines) Patch
M apps/shell/browser/shell_desktop_controller.h View 1 2 2 chunks +3 lines, -0 lines 0 comments Download
M apps/shell/browser/shell_desktop_controller.cc View 1 2 3 3 chunks +87 lines, -0 lines 0 comments Download
M ash/ash.gyp View 1 2 3 4 1 chunk +0 lines, -2 lines 0 comments Download
M ash/display/cursor_window_controller.h View 1 chunk +1 line, -1 line 0 comments Download
M ash/test/cursor_manager_test_api.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/wm/ash_native_cursor_manager.h View 2 chunks +5 lines, -3 lines 0 comments Download
M ash/wm/ash_native_cursor_manager.cc View 1 2 3 4 chunks +15 lines, -11 lines 0 comments Download
M ash/wm/ash_native_cursor_manager_unittest.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
D ash/wm/image_cursors.h View 1 chunk +0 lines, -56 lines 0 comments Download
D ash/wm/image_cursors.cc View 1 chunk +0 lines, -154 lines 0 comments Download
A + ui/base/cursor/image_cursors.h View 1 3 chunks +13 lines, -17 lines 0 comments Download
A + ui/base/cursor/image_cursors.cc View 5 chunks +57 lines, -61 lines 0 comments Download
M ui/base/ui_base.gyp View 1 2 3 4 5 3 chunks +6 lines, -0 lines 0 comments Download
M ui/wm/core/native_cursor_manager.h View 2 chunks +6 lines, -5 lines 0 comments Download

Messages

Total messages: 21 (0 generated)
Daniel Erat
scott: please review the move of ImageCursors to ui/ ken/james: apps/shell/browser/ oshima: fyi
6 years, 8 months ago (2014-04-25 21:41:50 UTC) #1
sky
LGTM
6 years, 8 months ago (2014-04-25 22:40:17 UTC) #2
James Cook
LGTM with one question https://codereview.chromium.org/258893002/diff/40001/apps/shell/browser/shell_desktop_controller.cc File apps/shell/browser/shell_desktop_controller.cc (right): https://codereview.chromium.org/258893002/diff/40001/apps/shell/browser/shell_desktop_controller.cc#newcode89 apps/shell/browser/shell_desktop_controller.cc:89: gfx::NativeCursor new_cursor = cursor; Any ...
6 years, 8 months ago (2014-04-25 22:48:00 UTC) #3
Daniel Erat
https://codereview.chromium.org/258893002/diff/40001/apps/shell/browser/shell_desktop_controller.cc File apps/shell/browser/shell_desktop_controller.cc (right): https://codereview.chromium.org/258893002/diff/40001/apps/shell/browser/shell_desktop_controller.cc#newcode89 apps/shell/browser/shell_desktop_controller.cc:89: gfx::NativeCursor new_cursor = cursor; On 2014/04/25 22:48:00, James Cook ...
6 years, 8 months ago (2014-04-25 23:23:25 UTC) #4
Daniel Erat
https://codereview.chromium.org/258893002/diff/60001/ash/wm/ash_native_cursor_manager.cc File ash/wm/ash_native_cursor_manager.cc (left): https://codereview.chromium.org/258893002/diff/60001/ash/wm/ash_native_cursor_manager.cc#oldcode86 ash/wm/ash_native_cursor_manager.cc:86: gfx::NativeCursor new_cursor = cursor; mazda@, just to double-check: i ...
6 years, 7 months ago (2014-04-28 13:15:12 UTC) #5
Daniel Erat
seems to work fine, so i'm checking this in now.
6 years, 7 months ago (2014-04-28 15:58:43 UTC) #6
Daniel Erat
The CQ bit was checked by derat@chromium.org
6 years, 7 months ago (2014-04-28 15:58:49 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/derat@chromium.org/258893002/60001
6 years, 7 months ago (2014-04-28 15:59:06 UTC) #8
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-04-28 15:59:13 UTC) #9
commit-bot: I haz the power
Failed to apply patch for ash/wm/ash_native_cursor_manager_unittest.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 7 months ago (2014-04-28 15:59:14 UTC) #10
Daniel Erat
The CQ bit was checked by derat@chromium.org
6 years, 7 months ago (2014-04-28 16:56:33 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/derat@chromium.org/258893002/80001
6 years, 7 months ago (2014-04-28 16:56:52 UTC) #12
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-04-28 17:04:11 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on android_clang_dbg
6 years, 7 months ago (2014-04-28 17:04:11 UTC) #14
Daniel Erat
The CQ bit was checked by derat@chromium.org
6 years, 7 months ago (2014-04-28 18:21:16 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/derat@chromium.org/258893002/100001
6 years, 7 months ago (2014-04-28 18:25:50 UTC) #16
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-04-28 20:03:19 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on ios_rel_device
6 years, 7 months ago (2014-04-28 20:03:19 UTC) #18
Daniel Erat
The CQ bit was checked by derat@chromium.org
6 years, 7 months ago (2014-04-28 20:42:10 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/derat@chromium.org/258893002/100001
6 years, 7 months ago (2014-04-28 20:42:24 UTC) #20
commit-bot: I haz the power
6 years, 7 months ago (2014-04-28 23:46:24 UTC) #21
Message was sent while issue was closed.
Change committed as 266694

Powered by Google App Engine
This is Rietveld 408576698