Changeset 135076 in webkit
- Timestamp:
- Nov 18, 2012 10:46:28 AM (11 years ago)
- Location:
- trunk/Source/WebKit/chromium
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/chromium/ChangeLog
r135048 r135076 1 2012-11-18 Rick Byers <rbyers@chromium.org> 2 3 [chromium] add WebCursorInfo::imageScaleFactor 4 https://bugs.webkit.org/show_bug.cgi?id=102612 5 6 Reviewed by Adam Barth. 7 8 Add cursor image scale factor (currently always 1) to chromium API, in preparation for 9 high-dpi cursor support in bug 99493. 10 11 * public/WebCursorInfo.h: 12 (WebKit::WebCursorInfo::WebCursorInfo): 13 * src/WebCursorInfo.cpp: 14 (WebKit::WebCursorInfo::WebCursorInfo): 15 1 16 2012-11-17 Sheriff Bot <webkit.review.bot@gmail.com> 2 17 -
trunk/Source/WebKit/chromium/public/WebCursorInfo.h
r101224 r135076 96 96 Type type; 97 97 WebPoint hotSpot; 98 float imageScaleFactor; 98 99 WebImage customImage; 99 100 … … 108 109 explicit WebCursorInfo(Type type = TypePointer) 109 110 : type(type) 111 , imageScaleFactor(1) 110 112 { 111 113 #ifdef WIN32 -
trunk/Source/WebKit/chromium/src/WebCursorInfo.cpp
r134149 r135076 39 39 40 40 WebCursorInfo::WebCursorInfo(const Cursor& cursor) 41 : type(static_cast<Type>(cursor.type())) 42 , hotSpot(cursor.hotSpot()) 43 , imageScaleFactor(1) 44 , customImage(cursor.image()) 45 #ifdef WIN32 46 , externalHandle(0) 47 #endif 41 48 { 42 type = static_cast<Type>(cursor.type());43 hotSpot = cursor.hotSpot();44 customImage = cursor.image();45 #ifdef WIN3246 externalHandle = 0;47 #endif48 49 } 49 50
Note: See TracChangeset
for help on using the changeset viewer.