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

Unified Diff: webkit/common/cursors/webcursor_gtk.cc

Issue 134823003: Define Panning cursors only on Windows (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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
« no previous file with comments | « webkit/common/cursors/webcursor_aura.cc ('k') | webkit/common/cursors/webcursor_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/common/cursors/webcursor_gtk.cc
diff --git a/webkit/common/cursors/webcursor_gtk.cc b/webkit/common/cursors/webcursor_gtk.cc
index eeb3aa93ea537995503560adf1bfd2483a4cc885..3ec8c9cb16bfa15bfed22579e6ec59a53e89b24e 100644
--- a/webkit/common/cursors/webcursor_gtk.cc
+++ b/webkit/common/cursors/webcursor_gtk.cc
@@ -91,24 +91,6 @@ int WebCursor::GetCursorType() const {
return GDK_SB_H_DOUBLE_ARROW; // TODO(evanm): is this correct?
case WebCursorInfo::TypeRowResize:
return GDK_SB_V_DOUBLE_ARROW; // TODO(evanm): is this correct?
- case WebCursorInfo::TypeMiddlePanning:
- return GDK_FLEUR;
- case WebCursorInfo::TypeEastPanning:
- return GDK_SB_RIGHT_ARROW;
- case WebCursorInfo::TypeNorthPanning:
- return GDK_SB_UP_ARROW;
- case WebCursorInfo::TypeNorthEastPanning:
- return GDK_TOP_RIGHT_CORNER;
- case WebCursorInfo::TypeNorthWestPanning:
- return GDK_TOP_LEFT_CORNER;
- case WebCursorInfo::TypeSouthPanning:
- return GDK_SB_DOWN_ARROW;
- case WebCursorInfo::TypeSouthEastPanning:
- return GDK_BOTTOM_RIGHT_CORNER;
- case WebCursorInfo::TypeSouthWestPanning:
- return GDK_BOTTOM_LEFT_CORNER;
- case WebCursorInfo::TypeWestPanning:
- return GDK_SB_LEFT_ARROW;
case WebCursorInfo::TypeMove:
return GDK_FLEUR;
case WebCursorInfo::TypeVerticalText:
« no previous file with comments | « webkit/common/cursors/webcursor_aura.cc ('k') | webkit/common/cursors/webcursor_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698