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

Issue 134823003: Define Panning cursors only on Windows (Closed)

Created:
6 years, 11 months ago by oshima
Modified:
5 years, 6 months ago
Reviewers:
Rick Byers
CC:
chromium-reviews, darin-cc_chromium.org, oshima+watch_chromium.org, cpu_(ooo_6.6-7.5), Lei Zhang, Elliot Glaysher, abarth-chromium
Visibility:
Public.

Description

Define Panning cursors only on Windows Remove unused IDR_AURA_CURSOR_{BIG_}FLEUR BUG=None

Patch Set 1 : #

Patch Set 2 : #

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -47 lines) Patch
M ui/base/cursor/cursor.h View 2 chunks +3 lines, -0 lines 0 comments Download
M ui/base/cursor/cursor_loader_x11.cc View 1 chunk +0 lines, -18 lines 0 comments Download
M ui/resources/ui_resources.grd View 1 2 2 chunks +0 lines, -2 lines 0 comments Download
M webkit/common/cursors/webcursor_aura.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M webkit/common/cursors/webcursor_gtk.cc View 1 2 1 chunk +0 lines, -18 lines 0 comments Download
M webkit/common/cursors/webcursor_mac.mm View 1 2 2 chunks +0 lines, -9 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
oshima
6 years, 11 months ago (2014-01-11 01:00:08 UTC) #1
Rick Byers
Changing just chromium like this means that if blink changes in the future to use ...
6 years, 11 months ago (2014-01-13 16:33:22 UTC) #2
abarth-chromium
On 2014/01/13 16:33:22, Rick Byers wrote: > 2) Add #ifdef OS_WIN to blink (and the ...
6 years, 11 months ago (2014-01-13 17:18:43 UTC) #3
oshima
On 2014/01/13 17:18:43, abarth wrote: > On 2014/01/13 16:33:22, Rick Byers wrote: > > 2) ...
6 years, 11 months ago (2014-01-13 18:24:48 UTC) #4
Rick Byers
On 2014/01/13 18:24:48, oshima wrote: > On 2014/01/13 17:18:43, abarth wrote: > > On 2014/01/13 ...
6 years, 11 months ago (2014-01-13 18:46:56 UTC) #5
oshima
On 2014/01/13 18:46:56, Rick Byers wrote: > On 2014/01/13 18:24:48, oshima wrote: > > On ...
6 years, 11 months ago (2014-01-13 18:53:43 UTC) #6
Rick Byers
On 2014/01/13 18:53:43, oshima wrote: > On 2014/01/13 18:46:56, Rick Byers wrote: > > On ...
6 years, 11 months ago (2014-01-13 19:16:16 UTC) #7
Rick Byers
On 2014/01/13 19:16:16, Rick Byers wrote: > On 2014/01/13 18:53:43, oshima wrote: > > On ...
6 years, 11 months ago (2014-01-13 20:01:10 UTC) #8
oshima
6 years, 11 months ago (2014-01-13 21:12:32 UTC) #9
On 2014/01/13 20:01:10, Rick Byers wrote:
> On 2014/01/13 19:16:16, Rick Byers wrote:
> > On 2014/01/13 18:53:43, oshima wrote:
> > > On 2014/01/13 18:46:56, Rick Byers wrote:
> > > > On 2014/01/13 18:24:48, oshima wrote:
> > > > > On 2014/01/13 17:18:43, abarth wrote:
> > > > > > On 2014/01/13 16:33:22, Rick Byers wrote:
> > > > > > > 2) Add #ifdef OS_WIN to blink (and the webkit API) so that these
> > cursor
> > > > > types
> > > > > > > are only available on Windows
> > > > > > 
> > > > > > ^^^ This option seems best.
> > > > 
> > > > Thanks Adam.
> > > > 
> > > > > I agree, but this CL still is still needed and has to be landed first
> > right?
> > > > 
> > > > Yes.  And it looks like there are references on the other platforms
(Mac,
> > gtk)
> > > > that need to be removed from the chromium code first too.  If you prefer
> I'm
> > > > happy to land the blink side after you've cleaned up all the references
in
> > > > chromium.
> > > 
> > > Oh, sorry I thought I did that but apparently the latest patch is missing
> > them.
> > > Uploaded new patch. PTAL.
> > 
> > Thanks.  I'm building now with the blink side removed
> > (https://codereview.chromium.org/137183002) to make sure we didn't miss
> anything
> > else.  I'll let you know shortly.
> 
> Shoot, looks like pepper exposes these - search for eg.
> PP_MOUSECURSOR_TYPE_MIDDLEPANNING.  In theory a pepper app on ChromeOS could
> presumably be using this cursor type, right?  I highly doubt that's happening
in
> practice.  But it's going to require a bit of digging on the pepper side to
> determine if we can really remove these.  Sorry I didn't notice this sooner (I
> got a compiler error here once I had removed the blink definitions).

ChromeOS does not have these cursors defined, so we're using X cursor if chrome
is really using it.
My guess is that ppapi is exposing them for the same reason that blink is
exposing them, but yeah we need to
confirm that.

I'll file a bug to track & resolve the issue. Thank you for testing.

Powered by Google App Engine
This is Rietveld 408576698