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

Unified Diff: Source/WebCore/platform/Cursor.h

Issue 13687007: Remove PLATFORM(BLACKBERRY) support. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/WebCore/platform/Cursor.h
diff --git a/Source/WebCore/platform/Cursor.h b/Source/WebCore/platform/Cursor.h
index c673e94c9d2cb19a11cbbb52be34e6ff381a1529..7950cd2cfe6625c3f26ed8ced698661d544a77d1 100644
--- a/Source/WebCore/platform/Cursor.h
+++ b/Source/WebCore/platform/Cursor.h
@@ -42,8 +42,6 @@ typedef HICON HCURSOR;
#include "GRefPtrGtk.h"
#elif PLATFORM(QT)
#include <QCursor>
-#elif PLATFORM(BLACKBERRY)
-#include <BlackBerryPlatformCursor.h>
#endif
#if PLATFORM(MAC) && !PLATFORM(IOS)
@@ -55,10 +53,7 @@ typedef struct HICON__ *HICON;
typedef HICON HCURSOR;
#endif
-// Looks like it's just PLATFORM(BLACKBERRY) still not using this?
-#if PLATFORM(WIN) || PLATFORM(MAC) || PLATFORM(GTK) || PLATFORM(QT) || PLATFORM(CHROMIUM)
#define WTF_USE_LAZY_NATIVE_CURSOR 1
-#endif
namespace WebCore {
@@ -82,8 +77,6 @@ namespace WebCore {
#elif PLATFORM(QT) && !defined(QT_NO_CURSOR)
// Do not need to be shared but need to be created dynamically via ensurePlatformCursor.
typedef QCursor* PlatformCursor;
-#elif PLATFORM(BLACKBERRY)
- typedef BlackBerry::Platform::BlackBerryCursor PlatformCursor;
#else
typedef void* PlatformCursor;
#endif
@@ -141,7 +134,7 @@ namespace WebCore {
static const Cursor& fromType(Cursor::Type);
Cursor()
-#if !PLATFORM(IOS) && !PLATFORM(BLACKBERRY)
+#if !PLATFORM(IOS)
#if USE(LAZY_NATIVE_CURSOR)
// This is an invalid Cursor and should never actually get used.
: m_type(static_cast<Type>(-1))
@@ -149,7 +142,7 @@ namespace WebCore {
#else
: m_platformCursor(0)
#endif // USE(LAZY_NATIVE_CURSOR)
-#endif // !PLATFORM(IOS) && !PLATFORM(BLACKBERRY)
+#endif // !PLATFORM(IOS)
{
}

Powered by Google App Engine
This is Rietveld 408576698