Chromium Code Reviews
[email protected] (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(158)

Issue 9463003: aura-x11: Add custom web cursor support. (Closed)

Created:
8 years, 10 months ago by sadrul
Modified:
8 years, 8 months ago
CC:
chromium-reviews, yusukes+watch_chromium.org, ben+watch_chromium.org, dhollowa+watch_chromium.org, jam, penghuang+watch_chromium.org, joi+watch-content_chromium.org, darin-cc_chromium.org, James Su
Visibility:
Public.

Description

Patch Set 1 : . #

Total comments: 12

Patch Set 2 : . #

Total comments: 2

Patch Set 3 : x custom cursor cache #

Total comments: 14

Patch Set 4 : . #

Total comments: 2

Patch Set 5 : . #

Patch Set 6 : . #

Patch Set 7 : sync + build fixes #

Patch Set 8 : . #

Total comments: 2

Patch Set 9 : . #

Patch Set 10 : . #

Patch Set 11 : . #

Total comments: 2

Patch Set 12 : sort headers. #

Total comments: 2

Patch Set 13 : merge upstream. no change. #

Patch Set 14 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+619 lines, -310 lines) Patch
M ash/drag_drop/drag_drop_controller.cc View 1 2 3 4 5 6 7 8 3 chunks +3 lines, -3 lines 0 comments Download
M ash/shell.cc View 1 2 3 4 5 6 7 8 9 10 11 12 5 chunks +5 lines, -5 lines 0 comments Download
M ash/wm/panel_frame_view.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +3 lines, -3 lines 0 comments Download
M ash/wm/panel_window_event_filter.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
M ash/wm/partial_screenshot_view.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +2 lines, -2 lines 0 comments Download
M ash/wm/root_window_event_filter.cc View 1 2 3 4 5 6 7 8 1 chunk +9 lines, -9 lines 0 comments Download
M ash/wm/root_window_event_filter_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +15 lines, -11 lines 0 comments Download
M ash/wm/toplevel_window_event_filter.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/content_setting_bubble_contents.cc View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura.cc View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -3 lines 0 comments Download
M ui/aura/aura.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +0 lines, -1 line 0 comments Download
D ui/aura/cursor.h View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -66 lines 0 comments Download
M ui/aura/root_window.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -1 line 0 comments Download
M ui/aura/root_window.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +3 lines, -3 lines 0 comments Download
M ui/aura/root_window_host.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M ui/aura/root_window_host_linux.cc View 1 2 3 4 5 6 7 8 9 10 11 12 6 chunks +54 lines, -54 lines 0 comments Download
M ui/aura/root_window_host_win.cc View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +48 lines, -48 lines 0 comments Download
A + ui/base/cursor/cursor.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +68 lines, -7 lines 0 comments Download
A ui/base/cursor/cursor.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +40 lines, -0 lines 0 comments Download
A ui/base/cursor/cursor_win.cc View 1 2 3 4 5 6 7 8 1 chunk +17 lines, -0 lines 0 comments Download
A ui/base/cursor/cursor_x11.cc View 1 2 3 4 5 6 7 8 1 chunk +19 lines, -0 lines 0 comments Download
M ui/base/x/x11_util.h View 1 2 3 4 5 6 7 8 2 chunks +15 lines, -1 line 0 comments Download
M ui/base/x/x11_util.cc View 1 2 3 4 5 6 7 8 9 10 11 6 chunks +103 lines, -7 lines 0 comments Download
M ui/gfx/native_widget_types.h View 1 2 3 4 5 6 7 8 3 chunks +7 lines, -2 lines 0 comments Download
M ui/ui.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +9 lines, -1 line 0 comments Download
M ui/views/controls/link.cc View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -2 lines 0 comments Download
M ui/views/controls/resize_area.cc View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -2 lines 0 comments Download
M ui/views/controls/single_split_view.cc View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -2 lines 0 comments Download
M ui/views/controls/textfield/native_textfield_views.cc View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -2 lines 0 comments Download
M webkit/glue/webcursor.h View 1 2 3 4 5 6 7 8 2 chunks +7 lines, -2 lines 0 comments Download
M webkit/glue/webcursor_aura.cc View 1 2 3 4 5 6 7 8 1 chunk +49 lines, -67 lines 0 comments Download
A webkit/glue/webcursor_aurawin.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +35 lines, -0 lines 0 comments Download
A webkit/glue/webcursor_aurax11.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +83 lines, -0 lines 0 comments Download
M webkit/glue/webkit_glue.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +7 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (0 generated)
sadrul
ben@, derat@: Please review. darin@: OWNERS for webkit/
8 years, 10 months ago (2012-02-24 04:14:43 UTC) #1
darin (slow to review)
http://codereview.chromium.org/9463003/diff/5015/webkit/glue/webcursor.h File webkit/glue/webcursor.h (right): http://codereview.chromium.org/9463003/diff/5015/webkit/glue/webcursor.h#newcode148 webkit/glue/webcursor.h:148: typedef struct _XcursorImage XcursorImage; nit: indentation nit: usually forward ...
8 years, 10 months ago (2012-02-24 06:32:35 UTC) #2
Daniel Erat
http://codereview.chromium.org/9463003/diff/5015/ui/aura/root_window.h File ui/aura/root_window.h (right): http://codereview.chromium.org/9463003/diff/5015/ui/aura/root_window.h#newcode93 ui/aura/root_window.h:93: // explicit call to SetCustomCursor is made. these semantics ...
8 years, 10 months ago (2012-02-24 17:17:12 UTC) #3
sadrul
http://codereview.chromium.org/9463003/diff/5015/ui/aura/root_window.h File ui/aura/root_window.h (right): http://codereview.chromium.org/9463003/diff/5015/ui/aura/root_window.h#newcode93 ui/aura/root_window.h:93: // explicit call to SetCustomCursor is made. On 2012/02/24 ...
8 years, 10 months ago (2012-02-24 17:38:19 UTC) #4
Daniel Erat
http://codereview.chromium.org/9463003/diff/5015/ui/aura/root_window.h File ui/aura/root_window.h (right): http://codereview.chromium.org/9463003/diff/5015/ui/aura/root_window.h#newcode93 ui/aura/root_window.h:93: // explicit call to SetCustomCursor is made. On 2012/02/24 ...
8 years, 10 months ago (2012-02-24 18:05:42 UTC) #5
sadrul
http://codereview.chromium.org/9463003/diff/5015/ui/aura/root_window.h File ui/aura/root_window.h (right): http://codereview.chromium.org/9463003/diff/5015/ui/aura/root_window.h#newcode93 ui/aura/root_window.h:93: // explicit call to SetCustomCursor is made. On 2012/02/24 ...
8 years, 10 months ago (2012-02-24 18:30:53 UTC) #6
sadrul
PTAL http://codereview.chromium.org/9463003/diff/5015/ui/aura/root_window.h File ui/aura/root_window.h (right): http://codereview.chromium.org/9463003/diff/5015/ui/aura/root_window.h#newcode93 ui/aura/root_window.h:93: // explicit call to SetCustomCursor is made. On ...
8 years, 10 months ago (2012-02-24 19:46:29 UTC) #7
Daniel Erat
Thanks, I like this approach. http://codereview.chromium.org/9463003/diff/5021/ui/aura/root_window.h File ui/aura/root_window.h (right): http://codereview.chromium.org/9463003/diff/5021/ui/aura/root_window.h#newcode86 ui/aura/root_window.h:86: // used. If the ...
8 years, 10 months ago (2012-02-24 21:04:36 UTC) #8
sadrul
http://codereview.chromium.org/9463003/diff/5021/ui/aura/root_window.h File ui/aura/root_window.h (right): http://codereview.chromium.org/9463003/diff/5021/ui/aura/root_window.h#newcode86 ui/aura/root_window.h:86: // used. If the cursor type is kCursorCustom, then ...
8 years, 10 months ago (2012-02-24 22:48:49 UTC) #9
Daniel Erat
http://codereview.chromium.org/9463003/diff/5021/ui/aura/root_window_host_linux.cc File ui/aura/root_window_host_linux.cc (right): http://codereview.chromium.org/9463003/diff/5021/ui/aura/root_window_host_linux.cc#newcode563 ui/aura/root_window_host_linux.cc:563: XDefineCursor(xdisplay_, xwindow_, cursor); On 2012/02/24 22:48:49, sadrul wrote: > ...
8 years, 10 months ago (2012-02-24 23:19:30 UTC) #10
sadrul
http://codereview.chromium.org/9463003/diff/5021/ui/aura/root_window_host_linux.cc File ui/aura/root_window_host_linux.cc (right): http://codereview.chromium.org/9463003/diff/5021/ui/aura/root_window_host_linux.cc#newcode563 ui/aura/root_window_host_linux.cc:563: XDefineCursor(xdisplay_, xwindow_, cursor); On 2012/02/24 23:19:31, Daniel Erat wrote: ...
8 years, 10 months ago (2012-02-25 00:02:29 UTC) #11
Daniel Erat
LGTM if this isn't an issue. http://codereview.chromium.org/9463003/diff/5021/ui/aura/root_window_host_linux.cc File ui/aura/root_window_host_linux.cc (right): http://codereview.chromium.org/9463003/diff/5021/ui/aura/root_window_host_linux.cc#newcode563 ui/aura/root_window_host_linux.cc:563: XDefineCursor(xdisplay_, xwindow_, cursor); ...
8 years, 10 months ago (2012-02-25 00:38:56 UTC) #12
Ben Goodger (Google)
Owners LGTM for ui/aura, and ui/x since there's no OWNERS file there... note however that ...
8 years, 10 months ago (2012-02-25 00:44:40 UTC) #13
sadrul
On 2012/02/25 00:38:56, Daniel Erat wrote: > LGTM if this isn't an issue. > > ...
8 years, 10 months ago (2012-02-25 05:05:30 UTC) #14
Daniel Erat
http://codereview.chromium.org/9463003/diff/6042/ui/aura/cursor.h File ui/aura/cursor.h (right): http://codereview.chromium.org/9463003/diff/6042/ui/aura/cursor.h#newcode127 ui/aura/cursor.h:127: bool operator==(int type) const { return native_type_ == type; ...
8 years, 9 months ago (2012-02-27 17:53:55 UTC) #15
sadrul
Hi! I have moved all of the aura-cursor related code into ui/base/cursor/. This way, webkit ...
8 years, 9 months ago (2012-03-27 21:34:18 UTC) #16
Daniel Erat
It seems a bit strange to me to have code in ui/base that's only applicable ...
8 years, 9 months ago (2012-03-27 22:15:05 UTC) #17
sadrul
On 2012/03/27 22:15:05, Daniel Erat wrote: > It seems a bit strange to me to ...
8 years, 9 months ago (2012-03-27 22:19:10 UTC) #18
sadrul
http://codereview.chromium.org/9463003/diff/22001/ui/aura/root_window.h File ui/aura/root_window.h (right): http://codereview.chromium.org/9463003/diff/22001/ui/aura/root_window.h#newcode14 ui/aura/root_window.h:14: #include "ui/base/cursor/cursor.h" On 2012/03/27 22:15:05, Daniel Erat wrote: > ...
8 years, 9 months ago (2012-03-27 22:26:12 UTC) #19
Rick Byers
As requested I tested this CL out with a few of the example pages I ...
8 years, 8 months ago (2012-03-28 14:58:59 UTC) #20
sadrul
ping!
8 years, 8 months ago (2012-04-03 15:52:49 UTC) #21
darin (slow to review)
LGTM for src/webkit
8 years, 8 months ago (2012-04-03 17:55:03 UTC) #22
Ben Goodger (Google)
http://codereview.chromium.org/9463003/diff/22002/ui/base/cursor/cursor.h File ui/base/cursor/cursor.h (right): http://codereview.chromium.org/9463003/diff/22002/ui/base/cursor/cursor.h#newcode105 ui/base/cursor/cursor.h:105: RefCustomCursor(); please do all of this in cursor.cc
8 years, 8 months ago (2012-04-03 18:08:18 UTC) #23
sadrul
(patchset13 is patchset12 merged with ToT. patchset14 has the requested change) http://codereview.chromium.org/9463003/diff/22002/ui/base/cursor/cursor.h File ui/base/cursor/cursor.h (right): ...
8 years, 8 months ago (2012-04-03 19:16:34 UTC) #24
Ben Goodger (Google)
8 years, 8 months ago (2012-04-03 19:29:02 UTC) #25
lgtm

Powered by Google App Engine
This is Rietveld 408576698