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

Unified Diff: webkit/common/cursors/webcursor_aura.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 | « ui/resources/ui_resources.grd ('k') | webkit/common/cursors/webcursor_gtk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/common/cursors/webcursor_aura.cc
diff --git a/webkit/common/cursors/webcursor_aura.cc b/webkit/common/cursors/webcursor_aura.cc
index a7378683a56f56220dcbc5333718908366886880..103fb4b8f58b9844f220a4336f4cc4ef352b2690 100644
--- a/webkit/common/cursors/webcursor_aura.cc
+++ b/webkit/common/cursors/webcursor_aura.cc
@@ -52,6 +52,7 @@ gfx::NativeCursor WebCursor::GetNativeCursor() {
return ui::kCursorColumnResize;
case WebCursorInfo::TypeRowResize:
return ui::kCursorRowResize;
+#if defined(OS_WIN)
case WebCursorInfo::TypeMiddlePanning:
return ui::kCursorMiddlePanning;
case WebCursorInfo::TypeEastPanning:
@@ -70,6 +71,7 @@ gfx::NativeCursor WebCursor::GetNativeCursor() {
return ui::kCursorSouthWestPanning;
case WebCursorInfo::TypeWestPanning:
return ui::kCursorWestPanning;
+#endif
case WebCursorInfo::TypeMove:
return ui::kCursorMove;
case WebCursorInfo::TypeVerticalText:
« no previous file with comments | « ui/resources/ui_resources.grd ('k') | webkit/common/cursors/webcursor_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698