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

Issue 7273056: [Mac] Create transparent cursor when given empty custom data. (Closed)

Created:
9 years, 5 months ago by Scott Hess - ex-Googler
Modified:
9 years, 5 months ago
Reviewers:
Avi (use Gerrit)
CC:
chromium-reviews, darin-cc_chromium.org
Visibility:
Public.

Description

[Mac] Create transparent cursor when given empty custom data. Based on webcursor_win.cc's implementation of GetCursor(). BUG=73356 TEST=Watch crash server. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=91452

Patch Set 1 #

Total comments: 2

Patch Set 2 : Handle empty size. Revert breakpad logging. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -29 lines) Patch
M chrome/browser/renderer_host/render_widget_host_view_mac.mm View 1 3 chunks +0 lines, -13 lines 0 comments Download
M webkit/glue/webcursor.h View 1 1 chunk +0 lines, -3 lines 0 comments Download
M webkit/glue/webcursor_mac.mm View 1 3 chunks +20 lines, -13 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Scott Hess - ex-Googler
Tested by replacing the TypeCustom stanza with: return CreateCustomCursor(std::vector<char>(), custom_size_, hotspot_); Unfortunately, I've not been ...
9 years, 5 months ago (2011-06-29 00:06:54 UTC) #1
Scott Hess - ex-Googler
In addition to the Windows impl of GetCursor() simply skipping SetDIBits() in this case, things ...
9 years, 5 months ago (2011-06-29 00:08:35 UTC) #2
Avi (use Gerrit)
okey dokey! LGTM http://codereview.chromium.org/7273056/diff/1/webkit/glue/webcursor_mac.mm File webkit/glue/webcursor_mac.mm (right): http://codereview.chromium.org/7273056/diff/1/webkit/glue/webcursor_mac.mm#newcode48 webkit/glue/webcursor_mac.mm:48: CGBitmapContextCreate(data, You can do that, pass ...
9 years, 5 months ago (2011-06-29 00:22:47 UTC) #3
Scott Hess - ex-Googler
http://codereview.chromium.org/7273056/diff/1/webkit/glue/webcursor_mac.mm File webkit/glue/webcursor_mac.mm (right): http://codereview.chromium.org/7273056/diff/1/webkit/glue/webcursor_mac.mm#newcode48 webkit/glue/webcursor_mac.mm:48: CGBitmapContextCreate(data, On 2011/06/29 00:22:47, Avi wrote: > You can ...
9 years, 5 months ago (2011-06-29 01:06:13 UTC) #4
Scott Hess - ex-Googler
[Sigh. Juggling and not thinking, I just have just put up a TBR review to ...
9 years, 5 months ago (2011-06-29 01:30:50 UTC) #5
Scott Hess - ex-Googler
On 2011/06/29 01:30:50, shess wrote: > [Sigh. Juggling and not thinking, I just have just ...
9 years, 5 months ago (2011-07-01 21:03:35 UTC) #6
Scott Hess - ex-Googler
On 2011/07/01 21:03:35, shess wrote: > On 2011/06/29 01:30:50, shess wrote: > > [Sigh. Juggling ...
9 years, 5 months ago (2011-07-01 22:20:38 UTC) #7
Avi (use Gerrit)
9 years, 5 months ago (2011-07-01 23:15:59 UTC) #8
LGTM

Powered by Google App Engine
This is Rietveld 408576698