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

Unified Diff: webkit/glue/webcursor_gtk.cc

Issue 6591105: Implement the grab/grabbing cursors (for Mac/GTK).... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 10 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: webkit/glue/webcursor_gtk.cc
===================================================================
--- webkit/glue/webcursor_gtk.cc (revision 76543)
+++ webkit/glue/webcursor_gtk.cc (working copy)
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 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.
@@ -153,6 +153,8 @@
NOTIMPLEMENTED(); return GDK_LAST_CURSOR;
case WebCursorInfo::TypeZoomIn:
case WebCursorInfo::TypeZoomOut:
+ case WebCursorInfo::TypeGrab:
+ case WebCursorInfo::TypeGrabbing:
case WebCursorInfo::TypeCustom:
return GDK_CURSOR_IS_PIXMAP;
}
@@ -178,6 +180,10 @@
return GetInlineCustomCursor(CustomCursorZoomIn);
case WebCursorInfo::TypeZoomOut:
return GetInlineCustomCursor(CustomCursorZoomOut);
+ case WebCursorInfo::TypeGrab:
+ return GetInlineCustomCursor(CustomCursorGrab);
+ case WebCursorInfo::TypeGrabbing:
+ return GetInlineCustomCursor(CustomCursorGrabbing);
}
if (type_ != WebCursorInfo::TypeCustom) {

Powered by Google App Engine
This is Rietveld 408576698