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

Unified Diff: webkit/glue/webcursor_win.cc

Issue 2941004: Minor cleanup of a couple files:... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' 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 | webkit/glue/webkitclient_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/webcursor_win.cc
===================================================================
--- webkit/glue/webcursor_win.cc (revision 51984)
+++ webkit/glue/webcursor_win.cc (working copy)
@@ -1,4 +1,4 @@
-// Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this
+// 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.
@@ -111,18 +111,18 @@
WebCursorInfo::Type type;
} kStandardCursors[] = {
{ LoadCursor(NULL, IDC_ARROW), WebCursorInfo::TypePointer },
+ { LoadCursor(NULL, IDC_CROSS), WebCursorInfo::TypeCross },
+ { LoadCursor(NULL, IDC_HAND), WebCursorInfo::TypeHand },
{ LoadCursor(NULL, IDC_IBEAM), WebCursorInfo::TypeIBeam },
{ LoadCursor(NULL, IDC_WAIT), WebCursorInfo::TypeWait },
- { LoadCursor(NULL, IDC_CROSS), WebCursorInfo::TypeCross },
+ { LoadCursor(NULL, IDC_HELP), WebCursorInfo::TypeHelp },
+ { LoadCursor(NULL, IDC_SIZENESW), WebCursorInfo::TypeNorthEastResize },
{ LoadCursor(NULL, IDC_SIZENWSE), WebCursorInfo::TypeNorthWestResize },
- { LoadCursor(NULL, IDC_SIZENESW), WebCursorInfo::TypeNorthEastResize },
+ { LoadCursor(NULL, IDC_SIZENS), WebCursorInfo::TypeNorthSouthResize },
{ LoadCursor(NULL, IDC_SIZEWE), WebCursorInfo::TypeEastWestResize },
- { LoadCursor(NULL, IDC_SIZENS), WebCursorInfo::TypeNorthSouthResize },
{ LoadCursor(NULL, IDC_SIZEALL), WebCursorInfo::TypeMove },
+ { LoadCursor(NULL, IDC_APPSTARTING), WebCursorInfo::TypeProgress },
{ LoadCursor(NULL, IDC_NO), WebCursorInfo::TypeNotAllowed },
- { LoadCursor(NULL, IDC_HAND), WebCursorInfo::TypeHand },
- { LoadCursor(NULL, IDC_APPSTARTING), WebCursorInfo::TypeProgress },
- { LoadCursor(NULL, IDC_HELP), WebCursorInfo::TypeHelp },
};
for (int i = 0; i < arraysize(kStandardCursors); i++) {
if (cursor == kStandardCursors[i].cursor)
« no previous file with comments | « no previous file | webkit/glue/webkitclient_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698