Changeset 91040 in webkit


Ignore:
Timestamp:
Jul 14, 2011 6:51:45 PM (13 years ago)
Author:
Darin Adler
Message:

[Mac] Use [NSCursor operationNotAllowedCursor] for CSS no-drop as well as CSS not-allowed
https://bugs.webkit.org/show_bug.cgi?id=64570

Reviewed by Alexey Proskuryakov.

Mac OS X documentation and usage makes it clear that this cursor is usually used for no-drop,
and that it's also reasonable to use it for not-allowed.

  • platform/mac/CursorMac.mm:

(WebCore::Cursor::ensurePlatformCursor): Use [NSCursor operationNotAllowedCursor] for
Cursor::NoDrop.

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r91038 r91040  
     12011-07-14  Darin Adler  <darin@apple.com>
     2
     3        [Mac] Use [NSCursor operationNotAllowedCursor] for CSS no-drop as well as CSS not-allowed
     4        https://bugs.webkit.org/show_bug.cgi?id=64570
     5
     6        Reviewed by Alexey Proskuryakov.
     7
     8        Mac OS X documentation and usage makes it clear that this cursor is usually used for no-drop,
     9        and that it's also reasonable to use it for not-allowed.
     10
     11        * platform/mac/CursorMac.mm:
     12        (WebCore::Cursor::ensurePlatformCursor): Use [NSCursor operationNotAllowedCursor] for
     13        Cursor::NoDrop.
     14
    1152011-07-14  Luke Macpherson   <macpherson@chromium.org>
    216
  • trunk/Source/WebCore/platform/mac/CursorMac.mm

    r90705 r91040  
    239239        break;
    240240    case Cursor::NoDrop:
     241#if !defined(BUILDING_ON_LEOPARD)
     242        m_platformCursor = [NSCursor operationNotAllowedCursor];
     243#else
    241244        m_platformCursor = createNamedCursor("noDropCursor", 3, 1);
     245#endif
    242246        break;
    243247    case Cursor::Copy:
Note: See TracChangeset for help on using the changeset viewer.