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

Side by Side Diff: Source/core/page/EventHandler.cpp

Issue 288303007: Unprefix CSS cursor values zoom-in and zoom-out (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: switch Created 6 years, 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserv ed. 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserv ed.
3 * Copyright (C) 2006 Alexey Proskuryakov (ap@webkit.org) 3 * Copyright (C) 2006 Alexey Proskuryakov (ap@webkit.org)
4 * Copyright (C) 2012 Digia Plc. and/or its subsidiary(-ies) 4 * Copyright (C) 2012 Digia Plc. and/or its subsidiary(-ies)
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions 7 * modification, are permitted provided that the following conditions
8 * are met: 8 * are met:
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 1120 matching lines...) Expand 10 before | Expand all | Expand 10 after
1131 case CURSOR_ALIAS: 1131 case CURSOR_ALIAS:
1132 return aliasCursor(); 1132 return aliasCursor();
1133 case CURSOR_COPY: 1133 case CURSOR_COPY:
1134 return copyCursor(); 1134 return copyCursor();
1135 case CURSOR_NONE: 1135 case CURSOR_NONE:
1136 return noneCursor(); 1136 return noneCursor();
1137 case CURSOR_NOT_ALLOWED: 1137 case CURSOR_NOT_ALLOWED:
1138 return notAllowedCursor(); 1138 return notAllowedCursor();
1139 case CURSOR_DEFAULT: 1139 case CURSOR_DEFAULT:
1140 return pointerCursor(); 1140 return pointerCursor();
1141 case CURSOR_WEBKIT_ZOOM_IN: 1141 case CURSOR_ZOOM_IN:
1142 return zoomInCursor(); 1142 return zoomInCursor();
1143 case CURSOR_WEBKIT_ZOOM_OUT: 1143 case CURSOR_ZOOM_OUT:
1144 return zoomOutCursor(); 1144 return zoomOutCursor();
1145 case CURSOR_WEBKIT_GRAB: 1145 case CURSOR_WEBKIT_GRAB:
1146 return grabCursor(); 1146 return grabCursor();
1147 case CURSOR_WEBKIT_GRABBING: 1147 case CURSOR_WEBKIT_GRABBING:
1148 return grabbingCursor(); 1148 return grabbingCursor();
1149 } 1149 }
1150 return pointerCursor(); 1150 return pointerCursor();
1151 } 1151 }
1152 1152
1153 OptionalCursor EventHandler::selectAutoCursor(const HitTestResult& result, Node* node, const Cursor& iBeam) 1153 OptionalCursor EventHandler::selectAutoCursor(const HitTestResult& result, Node* node, const Cursor& iBeam)
(...skipping 2576 matching lines...) Expand 10 before | Expand all | Expand 10 after
3730 unsigned EventHandler::accessKeyModifiers() 3730 unsigned EventHandler::accessKeyModifiers()
3731 { 3731 {
3732 #if OS(MACOSX) 3732 #if OS(MACOSX)
3733 return PlatformEvent::CtrlKey | PlatformEvent::AltKey; 3733 return PlatformEvent::CtrlKey | PlatformEvent::AltKey;
3734 #else 3734 #else
3735 return PlatformEvent::AltKey; 3735 return PlatformEvent::AltKey;
3736 #endif 3736 #endif
3737 } 3737 }
3738 3738
3739 } // namespace WebCore 3739 } // namespace WebCore
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698