diff options
author | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-14 20:43:09 +0000 |
---|---|---|
committer | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-14 20:43:09 +0000 |
commit | 6164c8d2a67aa8346b9f7735d849f4ee4f1c63cd (patch) | |
tree | 470de74957da9bdf7d0f4ccde464d95451db2fe8 /webkit/glue/webcursor_gtk.cc | |
parent | df44190fe0ec903cd9878bcc2ab8330a6adb6148 (diff) | |
download | chromium_src-6164c8d2a67aa8346b9f7735d849f4ee4f1c63cd.zip chromium_src-6164c8d2a67aa8346b9f7735d849f4ee4f1c63cd.tar.gz chromium_src-6164c8d2a67aa8346b9f7735d849f4ee4f1c63cd.tar.bz2 |
linux: use some more GDK_ cursor constants for panning cursors
These aren't the greatest, but I don't think there are better options.
Review URL: http://codereview.chromium.org/2931011
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52386 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webcursor_gtk.cc')
-rw-r--r-- | webkit/glue/webcursor_gtk.cc | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/webkit/glue/webcursor_gtk.cc b/webkit/glue/webcursor_gtk.cc index 011005f..a184e69 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: |