Title: [93900] trunk/Source/WebCore
Revision
93900
Author
[email protected]
Date
2011-08-26 11:59:54 -0700 (Fri, 26 Aug 2011)

Log Message

[Mac] Use the progress cursor instead of the wristwatch for CSS "wait" cursor
https://bugs.webkit.org/show_bug.cgi?id=67049

Reviewed by Beth Dakin.

* platform/mac/CursorMac.mm:
(WebCore::Cursor::ensurePlatformCursor): Use BusyButClickable cursor for wait
as well as for Progress.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (93899 => 93900)


--- trunk/Source/WebCore/ChangeLog	2011-08-26 18:41:57 UTC (rev 93899)
+++ trunk/Source/WebCore/ChangeLog	2011-08-26 18:59:54 UTC (rev 93900)
@@ -1,3 +1,14 @@
+2011-08-26  Darin Adler  <[email protected]>
+
+        [Mac] Use the progress cursor instead of the wristwatch for CSS "wait" cursor
+        https://bugs.webkit.org/show_bug.cgi?id=67049
+
+        Reviewed by Beth Dakin.
+
+        * platform/mac/CursorMac.mm:
+        (WebCore::Cursor::ensurePlatformCursor): Use BusyButClickable cursor for wait
+        as well as for Progress.
+
 2011-08-26  Nate Chapin  <[email protected]>
 
         Fix gtk build after r93886.

Modified: trunk/Source/WebCore/platform/mac/CursorMac.mm (93899 => 93900)


--- trunk/Source/WebCore/platform/mac/CursorMac.mm	2011-08-26 18:41:57 UTC (rev 93899)
+++ trunk/Source/WebCore/platform/mac/CursorMac.mm	2011-08-26 18:59:54 UTC (rev 93900)
@@ -95,7 +95,11 @@
         m_platformCursor = [NSCursor IBeamCursor];
         break;
     case Cursor::Wait:
+#if !defined(BUILDING_ON_LEOPARD) && !defined(BUILDING_ON_SNOW_LEOPARD)
+        m_platformCursor = wkCursor("BusyButClickable");
+#else
         m_platformCursor = createNamedCursor("waitCursor", 7, 7);
+#endif
         break;
     case Cursor::Help:
         m_platformCursor = createNamedCursor("helpCursor", 8, 8);
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to