Commit 7959742b authored by brettw@chromium.org's avatar brettw@chromium.org

Add a hand grab and grabbing cursor

(Reland of 148355 with correct permissions on binary files.)

WebKit and Pepper need this, both define it as a valid image

TEST= http://trac.webkit.org/export/37902/trunk/WebCore/manual-tests/cursor.html and hover over "out grab" and "grabbing". You should see an open and closed hand cursor, respectively.
BUG=74699
Review URL: https://chromiumcodereview.appspot.com/10807090o

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148364 0039d316-1c4b-4281-b951-d872f2087c98
parent 81cf6fe4
......@@ -96,11 +96,10 @@ static LPCWSTR ToCursorID(WebCursorInfo::Type type) {
return MAKEINTRESOURCE(IDC_ZOOMIN);
case WebCursorInfo::TypeZoomOut:
return MAKEINTRESOURCE(IDC_ZOOMOUT);
// TODO(avi): get cursor images for grab/grabbing
// http://crbug.com/74699
case WebCursorInfo::TypeGrab:
return MAKEINTRESOURCE(IDC_HAND_GRAB);
case WebCursorInfo::TypeGrabbing:
return IDC_ARROW;
return MAKEINTRESOURCE(IDC_HAND_GRABBING);
}
NOTREACHED();
return NULL;
......
......@@ -10,6 +10,8 @@
<release seq="1">
<includes>
<include name="IDR_BROKENIMAGE" file="resources\broken-image.gif" type="BINDATA" />
<include name="IDC_HAND_GRAB" file="resources\hand_grab.cur" type="CURSOR" />
<include name="IDC_HAND_GRABBING" file="resources\hand_grabbing.cur" type="CURSOR" />
<include name="IDR_INPUT_SPEECH" file="resources\input_speech.png" type="BINDATA" />
<include name="IDR_INPUT_SPEECH_RECORDING" file="resources\input_speech_recording.png" type="BINDATA" />
<include name="IDR_INPUT_SPEECH_WAITING" file="resources\input_speech_waiting.png" type="BINDATA" />
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment