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

Unified Diff: content/common/cursors/webcursor.h

Issue 231733005: Delete the GTK+ port of Chrome. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remerge to ToT Created 6 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: content/common/cursors/webcursor.h
diff --git a/content/common/cursors/webcursor.h b/content/common/cursors/webcursor.h
index 29710a3b6c20d3e4dc7e9c292a966e464f330f5b..a5e2aedb17473f631da556fd9f161b4259469751 100644
--- a/content/common/cursors/webcursor.h
+++ b/content/common/cursors/webcursor.h
@@ -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
};

Powered by Google App Engine
This is Rietveld 408576698