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

Issue 10316019: Aura: Adds custom cursors for drag and drop. (Closed)

Created:
8 years, 7 months ago by varunjain
Modified:
8 years, 7 months ago
CC:
chromium-reviews, sadrul, dcheng, ben+watch_chromium.org, Rick Byers
Visibility:
Public.

Description

Patch Set 1 #

Patch Set 2 : patch #

Total comments: 16

Patch Set 3 : patch #

Total comments: 5

Patch Set 4 : patch #

Total comments: 2

Patch Set 5 : patch #

Patch Set 6 : patch #

Patch Set 7 : patch #

Patch Set 8 : patch #

Patch Set 9 : patch #

Patch Set 10 : patch #

Patch Set 11 : patch #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+144 lines, -52 lines) Patch
M ash/drag_drop/drag_drop_controller.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/test/DEPS View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -1 line 1 comment Download
M content/test/content_test_suite.h View 1 2 3 4 5 6 7 9 10 1 chunk +1 line, -0 lines 0 comments Download
M content/test/content_test_suite.cc View 1 2 3 4 5 6 7 9 10 2 chunks +6 lines, -0 lines 0 comments Download
M ui/aura/aura.gyp View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M ui/aura/root_window_host_linux.h View 1 chunk +3 lines, -0 lines 0 comments Download
M ui/aura/root_window_host_linux.cc View 1 2 3 4 5 6 7 6 chunks +54 lines, -1 line 0 comments Download
M ui/base/x/x11_util.h View 1 2 3 chunks +7 lines, -0 lines 0 comments Download
M ui/base/x/x11_util.cc View 1 2 3 4 2 chunks +21 lines, -0 lines 0 comments Download
M ui/gfx/codec/png_codec.cc View 1 2 3 4 2 chunks +2 lines, -19 lines 0 comments Download
M ui/gfx/skia_util.h View 1 2 3 4 5 2 chunks +6 lines, -1 line 0 comments Download
M ui/gfx/skia_util.cc View 1 2 3 4 2 chunks +25 lines, -0 lines 0 comments Download
M ui/resources/ui_resources_2x.grd View 1 chunk +2 lines, -0 lines 0 comments Download
M ui/resources/ui_resources_standard.grd View 1 1 chunk +2 lines, -0 lines 0 comments Download
M ui/resources/ui_resources_touch.grd View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M ui/ui.gyp View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M webkit/glue/webcursor_aurax11.cc View 1 2 2 chunks +6 lines, -29 lines 0 comments Download

Messages

Total messages: 29 (0 generated)
varunjain
8 years, 7 months ago (2012-05-03 17:15:58 UTC) #1
varunjain
+sail,flackr to check that resources are added properly in the right place.
8 years, 7 months ago (2012-05-03 18:00:24 UTC) #2
sail
https://chromiumcodereview.appspot.com/10316019/diff/3002/ui/aura/root_window_host_linux.cc File ui/aura/root_window_host_linux.cc (right): https://chromiumcodereview.appspot.com/10316019/diff/3002/ui/aura/root_window_host_linux.cc#newcode315 ui/aura/root_window_host_linux.cc:315: XFreeCursor(xdisplay_, it->second.first); instead of doing your own reference counting ...
8 years, 7 months ago (2012-05-03 18:11:05 UTC) #3
sail
LGTM! The GRD stuff looks good to me by the way.
8 years, 7 months ago (2012-05-03 18:11:29 UTC) #4
flackr
https://chromiumcodereview.appspot.com/10316019/diff/3002/ui/resources/ui_resources_2x.grd File ui/resources/ui_resources_2x.grd (right): https://chromiumcodereview.appspot.com/10316019/diff/3002/ui/resources/ui_resources_2x.grd#newcode82 ui/resources/ui_resources_2x.grd:82: <include name="IDR_AURA_CURSOR_COPY" file="aura/left_ptr_copy_2x.png" type="BINDATA" /> You must also keep ...
8 years, 7 months ago (2012-05-03 18:12:25 UTC) #5
sky
https://chromiumcodereview.appspot.com/10316019/diff/3002/ui/aura/root_window_host_linux.cc File ui/aura/root_window_host_linux.cc (right): https://chromiumcodereview.appspot.com/10316019/diff/3002/ui/aura/root_window_host_linux.cc#newcode312 ui/aura/root_window_host_linux.cc:312: virtual ~ImageCursors() { no virtual. https://chromiumcodereview.appspot.com/10316019/diff/3002/ui/aura/root_window_host_linux.cc#newcode314 ui/aura/root_window_host_linux.cc:314: for (it ...
8 years, 7 months ago (2012-05-03 19:12:52 UTC) #6
varunjain
+jamesr for webkit/ OWNERS https://chromiumcodereview.appspot.com/10316019/diff/3002/ui/aura/root_window_host_linux.cc File ui/aura/root_window_host_linux.cc (right): https://chromiumcodereview.appspot.com/10316019/diff/3002/ui/aura/root_window_host_linux.cc#newcode312 ui/aura/root_window_host_linux.cc:312: virtual ~ImageCursors() { On 2012/05/03 ...
8 years, 7 months ago (2012-05-03 19:48:54 UTC) #7
sail
lgtm https://chromiumcodereview.appspot.com/10316019/diff/17/ui/aura/root_window_host_linux.cc File ui/aura/root_window_host_linux.cc (right): https://chromiumcodereview.appspot.com/10316019/diff/17/ui/aura/root_window_host_linux.cc#newcode313 ui/aura/root_window_host_linux.cc:313: ui::UnrefCustomXCursor(it->second); I was thinking that you could just ...
8 years, 7 months ago (2012-05-03 20:00:46 UTC) #8
flackr
LGTM with nit http://codereview.chromium.org/10316019/diff/17/ui/aura/aura.gyp File ui/aura/aura.gyp (right): http://codereview.chromium.org/10316019/diff/17/ui/aura/aura.gyp#newcode22 ui/aura/aura.gyp:22: '../ui.gyp:ui_resources_2x', I don't think this actually ...
8 years, 7 months ago (2012-05-03 20:33:28 UTC) #9
sky
https://chromiumcodereview.appspot.com/10316019/diff/17/ui/base/x/x11_util.cc File ui/base/x/x11_util.cc (right): https://chromiumcodereview.appspot.com/10316019/diff/17/ui/base/x/x11_util.cc#newcode420 ui/base/x/x11_util.cc:420: XcursorImage* image = XcursorImageCreate(bitmap->width(), bitmap->height()); Can you move ConvertSkiatoRGBA ...
8 years, 7 months ago (2012-05-03 21:09:44 UTC) #10
varunjain
http://codereview.chromium.org/10316019/diff/17/ui/aura/aura.gyp File ui/aura/aura.gyp (right): http://codereview.chromium.org/10316019/diff/17/ui/aura/aura.gyp#newcode22 ui/aura/aura.gyp:22: '../ui.gyp:ui_resources_2x', On 2012/05/03 20:33:28, flackr wrote: > I don't ...
8 years, 7 months ago (2012-05-03 22:12:20 UTC) #11
sky
LGTM http://codereview.chromium.org/10316019/diff/23001/ui/gfx/skia_util.h File ui/gfx/skia_util.h (right): http://codereview.chromium.org/10316019/diff/23001/ui/gfx/skia_util.h#newcode54 ui/gfx/skia_util.h:54: UI_EXPORT void ConvertSkiatoRGBA(const unsigned char* skia, To
8 years, 7 months ago (2012-05-03 22:46:49 UTC) #12
varunjain
+ darin since jamesr is away
8 years, 7 months ago (2012-05-04 16:15:38 UTC) #13
darin (slow to review)
LGTM for src/webkit
8 years, 7 months ago (2012-05-04 16:32:36 UTC) #14
varunjain
http://codereview.chromium.org/10316019/diff/23001/ui/gfx/skia_util.h File ui/gfx/skia_util.h (right): http://codereview.chromium.org/10316019/diff/23001/ui/gfx/skia_util.h#newcode54 ui/gfx/skia_util.h:54: UI_EXPORT void ConvertSkiatoRGBA(const unsigned char* skia, On 2012/05/03 22:46:49, ...
8 years, 7 months ago (2012-05-04 17:06:52 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/varunjain@chromium.org/10316019/33001
8 years, 7 months ago (2012-05-04 17:08:23 UTC) #16
commit-bot: I haz the power
Try job failure for 10316019-33001 (retry) on win_rel for step "runhooks". It's a second try, ...
8 years, 7 months ago (2012-05-04 17:28:05 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/varunjain@chromium.org/10316019/38003
8 years, 7 months ago (2012-05-04 19:17:09 UTC) #18
commit-bot: I haz the power
Change committed as 135426
8 years, 7 months ago (2012-05-04 21:02:17 UTC) #19
sky
LGTM Are you sure don't need to update any subclasses?
8 years, 7 months ago (2012-05-04 22:30:52 UTC) #20
varunjain
On 2012/05/04 22:30:52, sky wrote: > LGTM Are you sure don't need to update any ...
8 years, 7 months ago (2012-05-04 22:34:25 UTC) #21
jam
lgtm as discussed, all the aura intilization should move out in a future change similar ...
8 years, 7 months ago (2012-05-04 23:42:53 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/varunjain@chromium.org/10316019/43023
8 years, 7 months ago (2012-05-05 01:19:30 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/varunjain@chromium.org/10316019/32016
8 years, 7 months ago (2012-05-05 04:55:19 UTC) #24
commit-bot: I haz the power
Change committed as 135533
8 years, 7 months ago (2012-05-05 09:43:18 UTC) #25
jochen (gone - plz use gerrit)
http://codereview.chromium.org/10316019/diff/32016/content/test/DEPS File content/test/DEPS (right): http://codereview.chromium.org/10316019/diff/32016/content/test/DEPS#newcode8 content/test/DEPS:8: "+ui/base/resource/resource_bundle.h", please revert this CL: - this is a ...
8 years, 7 months ago (2012-05-07 23:21:29 UTC) #26
Nico
On 2012/05/07 23:21:29, jochen wrote: > http://codereview.chromium.org/10316019/diff/32016/content/test/DEPS > File content/test/DEPS (right): > > http://codereview.chromium.org/10316019/diff/32016/content/test/DEPS#newcode8 > ...
8 years, 7 months ago (2012-05-07 23:34:51 UTC) #27
varunjain
Hi guys... apologies for breaking the build... I am not sure why I did not ...
8 years, 7 months ago (2012-05-08 15:17:57 UTC) #28
jochen (gone - plz use gerrit)
8 years, 7 months ago (2012-05-08 15:27:38 UTC) #29
On Tue, May 8, 2012 at 8:17 AM, <varunjain@chromium.org> wrote:

> Hi guys... apologies for breaking the build... I am not sure why I did not
> receive any email about this buildbot failure.
>

yeah, that's a bug :-/



> I am aware of the layering violation. But the agreement with jam was to
> submit
> this for now since this is fixing a m20 p1 and work on fixing the
> violation in
> another CL.


The problem is that it's not just a style thing, but it just won't work.


>
>
>
> On 2012/05/07 23:34:51, Nico wrote:
>
>> On 2012/05/07 23:21:29, jochen wrote:
>> > http://codereview.chromium.**org/10316019/diff/32016/**
>>
content/test/DEPS<http://codereview.chromium.org/10316019/diff/32016/content/test/DEPS>
>> > File content/test/DEPS (right):
>> >
>> >
>>
> http://codereview.chromium.**org/10316019/diff/32016/**
>
content/test/DEPS#newcode8<http://codereview.chromium.org/10316019/diff/32016/content/test/DEPS#newcode8>
>
>> > content/test/DEPS:8: "+ui/base/resource/resource_**bundle.h",
>> > please revert this CL:
>> >
>> > - this is a layering violation, ui/base/resource depends on chrome (see
>> > content/DEPS)
>> > - on Mac, the resource bundle is part of the Chrome framework, but
>> content
>> > itself doesn't build a framework
>>
>
>  Because of this second reason, this CL made all content_unittests fail in
>>
> debug
>
>> builds on mac. That's not visible on main and try waterfalls due to
>> http://crbug.com/126558 , but bots that don't shard tests have been red
>> since
>> this landed (e.g.
>> http://build.chromium.org/p/**chromium.fyi/builders/**
>>
Chromium%2520Mac%2520Ninja<http://build.chromium.org/p/chromium.fyi/builders/Chromium%2520Mac%2520Ninja>)
>>
>
>
>
>
http://codereview.chromium.**org/10316019/<http://codereview.chromium.org/103...
>

Powered by Google App Engine
This is Rietveld 408576698