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

Unified Diff: webkit/glue/webcursor_gtk.cc

Issue 2931011: linux: use some more GDK_ cursor constants for panning cursors (Closed)
Patch Set: license Created 10 years, 5 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/webcursor_gtk.cc
diff --git a/webkit/glue/webcursor_gtk.cc b/webkit/glue/webcursor_gtk.cc
index 011005fb590a4468deee5885cf7e9d0c42cc801e..a184e6962e2ea4947cc645115e1cc92a61176eb4 100644
--- a/webkit/glue/webcursor_gtk.cc
+++ b/webkit/glue/webcursor_gtk.cc
@@ -1,6 +1,6 @@
-// Copyright (c) 2008 The Chromium Authors. All rights reserved. Use of this
-// source code is governed by a BSD-style license that can be found in the
-// LICENSE file.
+// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
#include "webkit/glue/webcursor.h"
@@ -86,23 +86,23 @@ int WebCursor::GetCursorType() const {
case WebCursorInfo::TypeRowResize:
return GDK_SB_V_DOUBLE_ARROW; // TODO(evanm): is this correct?
case WebCursorInfo::TypeMiddlePanning:
- NOTIMPLEMENTED(); return GDK_LAST_CURSOR;
+ return GDK_FLEUR;
case WebCursorInfo::TypeEastPanning:
- NOTIMPLEMENTED(); return GDK_LAST_CURSOR;
+ return GDK_SB_RIGHT_ARROW;
case WebCursorInfo::TypeNorthPanning:
- NOTIMPLEMENTED(); return GDK_LAST_CURSOR;
+ return GDK_SB_UP_ARROW;
case WebCursorInfo::TypeNorthEastPanning:
- NOTIMPLEMENTED(); return GDK_LAST_CURSOR;
+ return GDK_TOP_RIGHT_CORNER;
case WebCursorInfo::TypeNorthWestPanning:
- NOTIMPLEMENTED(); return GDK_LAST_CURSOR;
+ return GDK_TOP_LEFT_CORNER;
case WebCursorInfo::TypeSouthPanning:
- NOTIMPLEMENTED(); return GDK_LAST_CURSOR;
+ return GDK_SB_DOWN_ARROW;
case WebCursorInfo::TypeSouthEastPanning:
- NOTIMPLEMENTED(); return GDK_LAST_CURSOR;
+ return GDK_BOTTOM_RIGHT_CORNER;
case WebCursorInfo::TypeSouthWestPanning:
- NOTIMPLEMENTED(); return GDK_LAST_CURSOR;
+ return GDK_BOTTOM_LEFT_CORNER;
case WebCursorInfo::TypeWestPanning:
- NOTIMPLEMENTED(); return GDK_LAST_CURSOR;
+ return GDK_SB_LEFT_ARROW;
case WebCursorInfo::TypeMove:
return GDK_FLEUR;
case WebCursorInfo::TypeVerticalText:
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698