summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webcursor_win.cc
diff options
context:
space:
mode:
authorpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-09 19:27:52 +0000
committerpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-09 19:27:52 +0000
commit652727def58ab808755d4fe9930acdf783482596 (patch)
tree69e5fa7c6188ea144bbd27b2f50ed5261b4af228 /webkit/glue/webcursor_win.cc
parentf87591e53e63812e918442f1013ab86bbbc4f84e (diff)
downloadchromium_src-652727def58ab808755d4fe9930acdf783482596.zip
chromium_src-652727def58ab808755d4fe9930acdf783482596.tar.gz
chromium_src-652727def58ab808755d4fe9930acdf783482596.tar.bz2
Minor cleanup of a couple files: sort arrays of resource IDs into order (to match .grds which were recently sorted into order).
BUG=none TEST=none Review URL: http://codereview.chromium.org/2941004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51994 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webcursor_win.cc')
-rw-r--r--webkit/glue/webcursor_win.cc18
1 files changed, 9 insertions, 9 deletions
diff --git a/webkit/glue/webcursor_win.cc b/webkit/glue/webcursor_win.cc
index 7dfe41e..4435e06 100644
--- a/webkit/glue/webcursor_win.cc
+++ b/webkit/glue/webcursor_win.cc
@@ -1,6 +1,6 @@
-// Copyright (c) 2009 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 "base/logging.h"
#include "base/pickle.h"
@@ -111,18 +111,18 @@ static WebCursorInfo::Type ToCursorType(HCURSOR cursor) {
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_SIZENWSE), WebCursorInfo::TypeNorthWestResize },
+ { LoadCursor(NULL, IDC_HELP), WebCursorInfo::TypeHelp },
{ LoadCursor(NULL, IDC_SIZENESW), WebCursorInfo::TypeNorthEastResize },
- { LoadCursor(NULL, IDC_SIZEWE), WebCursorInfo::TypeEastWestResize },
+ { LoadCursor(NULL, IDC_SIZENWSE), WebCursorInfo::TypeNorthWestResize },
{ LoadCursor(NULL, IDC_SIZENS), WebCursorInfo::TypeNorthSouthResize },
+ { LoadCursor(NULL, IDC_SIZEWE), WebCursorInfo::TypeEastWestResize },
{ LoadCursor(NULL, IDC_SIZEALL), WebCursorInfo::TypeMove },
- { LoadCursor(NULL, IDC_NO), WebCursorInfo::TypeNotAllowed },
- { LoadCursor(NULL, IDC_HAND), WebCursorInfo::TypeHand },
{ LoadCursor(NULL, IDC_APPSTARTING), WebCursorInfo::TypeProgress },
- { LoadCursor(NULL, IDC_HELP), WebCursorInfo::TypeHelp },
+ { LoadCursor(NULL, IDC_NO), WebCursorInfo::TypeNotAllowed },
};
for (int i = 0; i < arraysize(kStandardCursors); i++) {
if (cursor == kStandardCursors[i].cursor)