Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / content / common / cursors / webcursor.h
index 29710a3..a5e2aed 100644 (file)
@@ -23,8 +23,6 @@
 typedef struct HINSTANCE__* HINSTANCE;
 typedef struct HICON__* HICON;
 typedef HICON HCURSOR;
-#elif defined(TOOLKIT_GTK)
-typedef struct _GdkCursor GdkCursor;
 #elif defined(OS_MACOSX)
 #ifdef __OBJC__
 @class NSCursor;
@@ -117,16 +115,6 @@ class CONTENT_EXPORT WebCursor {
   // with the WebCursor instance.
   HCURSOR GetCursor(HINSTANCE module_handle);
 
-#elif defined(TOOLKIT_GTK)
-  // Return the stock GdkCursorType for this cursor, or GDK_CURSOR_IS_PIXMAP
-  // if it's a custom cursor. Return GDK_LAST_CURSOR to indicate that the cursor
-  // should be set to the system default.
-  // Returns an int so we don't need to include GDK headers in this header file.
-  int GetCursorType() const;
-
-  // Return a new GdkCursor* for this cursor.  Only valid if GetCursorType
-  // returns GDK_CURSOR_IS_PIXMAP.
-  GdkCursor* GetCustomCursor();
 #elif defined(OS_MACOSX)
   // Initialize this from the given Cocoa NSCursor.
   void InitFromNSCursor(NSCursor* cursor);
@@ -188,9 +176,6 @@ class CONTENT_EXPORT WebCursor {
 #elif defined(OS_WIN)
   // A custom cursor created from custom bitmap data by Webkit.
   HCURSOR custom_cursor_;
-#elif defined(TOOLKIT_GTK)
-  // A custom cursor created that should be unref'ed from the destructor.
-  GdkCursor* unref_;
 #endif
 };