Changeset 185679 in webkit
- Timestamp:
- Jun 17, 2015, 5:03:42 PM (11 years ago)
- Location:
- trunk/Source
- Files:
-
- 1 added
- 4 edited
-
WebCore/ChangeLog (modified) (1 diff)
-
WebCore/WebCore.xcodeproj/project.pbxproj (modified) (4 diffs)
-
WebCore/platform/spi/mac/NSEventSPI.h (added)
-
WebKit2/ChangeLog (modified) (1 diff)
-
WebKit2/UIProcess/mac/ViewGestureControllerMac.mm (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r185678 r185679 1 2015-06-17 Tim Horton <timothy_horton@apple.com> 2 3 Swipe gesture can get stuck, preventing scrolling and other gestures 4 https://bugs.webkit.org/show_bug.cgi?id=146088 5 <rdar://problem/16056087> 6 7 Reviewed by Darin Adler. 8 9 * WebCore.xcodeproj/project.pbxproj: 10 * platform/spi/mac/NSEventSPI.h: Added. 11 Add an SPI header. 12 1 13 2015-06-16 Matt Rajca <mrajca@apple.com> 2 14 -
trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj
r185658 r185679 1146 1146 2D9A247615B9C2F400D34527 /* DOMDOMSecurityPolicy.h in Copy Generated Headers */ = {isa = PBXBuildFile; fileRef = 2D9A247015B9C29500D34527 /* DOMDOMSecurityPolicy.h */; }; 1147 1147 2D9F0E1314FF1CBF00BA0FF7 /* linearSRGB.icc in Resources */ = {isa = PBXBuildFile; fileRef = 2D9F0E1214FF1CBF00BA0FF7 /* linearSRGB.icc */; }; 1148 2DB9C4AA1B3231F40070F27F /* NSEventSPI.h in Headers */ = {isa = PBXBuildFile; fileRef = 2DB9C4A91B3231F40070F27F /* NSEventSPI.h */; settings = {ATTRIBUTES = (Private, ); }; }; 1148 1149 2DCB837919F99BBA00A7FBE4 /* NSSharingServicePickerSPI.h in Headers */ = {isa = PBXBuildFile; fileRef = 2DCB837719F99BBA00A7FBE4 /* NSSharingServicePickerSPI.h */; settings = {ATTRIBUTES = (Private, ); }; }; 1149 1150 2DCB837A19F99BBA00A7FBE4 /* NSSharingServiceSPI.h in Headers */ = {isa = PBXBuildFile; fileRef = 2DCB837819F99BBA00A7FBE4 /* NSSharingServiceSPI.h */; settings = {ATTRIBUTES = (Private, ); }; }; … … 8298 8299 2DAAE32C19DCAF6000E002D2 /* MockPageOverlayClient.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = MockPageOverlayClient.cpp; sourceTree = "<group>"; }; 8299 8300 2DAAE32D19DCAF6000E002D2 /* MockPageOverlayClient.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MockPageOverlayClient.h; sourceTree = "<group>"; }; 8301 2DB9C4A91B3231F40070F27F /* NSEventSPI.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NSEventSPI.h; sourceTree = "<group>"; }; 8300 8302 2DCB837719F99BBA00A7FBE4 /* NSSharingServicePickerSPI.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NSSharingServicePickerSPI.h; sourceTree = "<group>"; }; 8301 8303 2DCB837819F99BBA00A7FBE4 /* NSSharingServiceSPI.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NSSharingServiceSPI.h; sourceTree = "<group>"; }; … … 17971 17973 2D59F1BE1A0044C6001F3D29 /* DataDetectorsSPI.h */, 17972 17974 2D413F601A187A3F0041A521 /* LookupSPI.h */, 17975 2DB9C4A91B3231F40070F27F /* NSEventSPI.h */, 17973 17976 1C6466271A12C3F90094603C /* NSFontSPI.h */, 17974 17977 9321D58F1A3906FA008052BE /* NSImmediateActionGestureRecognizerSPI.h */, … … 24365 24368 85E711920AC5D5350053270F /* DOMCSSRuleListInternal.h in Headers */, 24366 24369 85032DE50AA8C9BE007D3B7D /* DOMCSSStyleDeclaration.h in Headers */, 24370 2DB9C4AA1B3231F40070F27F /* NSEventSPI.h in Headers */, 24367 24371 85E711930AC5D5350053270F /* DOMCSSStyleDeclarationInternal.h in Headers */, 24368 24372 85032DE70AA8C9BE007D3B7D /* DOMCSSStyleRule.h in Headers */, -
trunk/Source/WebKit2/ChangeLog
r185677 r185679 1 2015-06-17 Tim Horton <timothy_horton@apple.com> 2 3 Swipe gesture can get stuck, preventing scrolling and other gestures 4 https://bugs.webkit.org/show_bug.cgi?id=146088 5 <rdar://problem/16056087> 6 7 Reviewed by Darin Adler. 8 9 * UIProcess/mac/ViewGestureControllerMac.mm: 10 (WebKit::ViewGestureController::trackSwipeGesture): 11 Ignore mouse events that come in while we're doing a swipe. 12 This prevents potentially problematic mouse events (especially context menus) 13 won't be processed during a swipe, avoiding situations that can cause 14 the swipe gesture to get stuck. 15 1 16 2015-06-17 Sungmann Cho <sungmann.cho@navercorp.com> 2 17 -
trunk/Source/WebKit2/UIProcess/mac/ViewGestureControllerMac.mm
r183349 r185679 42 42 #import <Cocoa/Cocoa.h> 43 43 #import <WebCore/IOSurface.h> 44 #import <WebCore/NSEventSPI.h> 44 45 #import <WebCore/QuartzCoreSPI.h> 45 46 #import <WebCore/WebActionDisablingCALayerDelegate.h> … … 408 409 m_swipeCancellationTracker = swipeCancellationTracker; 409 410 410 [event trackSwipeEventWithOptions: 0dampenAmountThresholdMin:minProgress max:maxProgress usingHandler:^(CGFloat progress, NSEventPhase phase, BOOL isComplete, BOOL *stop) {411 [event trackSwipeEventWithOptions:NSEventSwipeTrackingConsumeMouseEvents dampenAmountThresholdMin:minProgress max:maxProgress usingHandler:^(CGFloat progress, NSEventPhase phase, BOOL isComplete, BOOL *stop) { 411 412 if ([swipeCancellationTracker isCancelled]) { 412 413 *stop = YES;
Note:
See TracChangeset
for help on using the changeset viewer.