Changeset 206137 in webkit
- Timestamp:
- Sep 19, 2016 7:00:10 PM (8 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r206135 r206137 1 2016-09-19 Wenson Hsieh <wenson_hsieh@apple.com> 2 3 Unreviewed build fix after r206135 4 5 NSEventMaskLeftMouseDown and friends are only available on 10.12. 6 7 * TestWebKitAPI/mac/TestWKWebViewMac.mm: 8 (__simulated_forceClickAssociatedEventsMask): 9 1 10 2016-09-19 Wenson Hsieh <wenson_hsieh@apple.com> 2 11 -
trunk/Tools/TestWebKitAPI/mac/TestWKWebViewMac.mm
r206135 r206137 71 71 NSEventMask __simulated_forceClickAssociatedEventsMask(id self, SEL _cmd) 72 72 { 73 #if __MAC_OS_X_VERSION_MIN_REQUIRED >= 101200 73 74 return NSEventMaskPressure | NSEventMaskLeftMouseDown | NSEventMaskLeftMouseUp | NSEventMaskLeftMouseDragged; 75 #else 76 return NSEventMaskPressure | (1 << NSLeftMouseDown) | (1 << NSLeftMouseUp) | (1 << NSLeftMouseDragged); 77 #endif 74 78 } 75 79 #endif
Note: See TracChangeset
for help on using the changeset viewer.