Changeset 261180 in webkit


Ignore:
Timestamp:
May 5, 2020 10:10:42 AM (4 years ago)
Author:
timothy_horton@apple.com
Message:

"Essential Skeleton" does not respond to mouse events, only touch events
https://bugs.webkit.org/show_bug.cgi?id=211439
<rdar://problem/62694519>

Reviewed by Wenson Hsieh.

Source/WebCore:

  • platform/RuntimeApplicationChecks.h:
  • platform/cocoa/RuntimeApplicationChecksCocoa.mm:

(WebCore::IOSApplication::isEssentialSkeleton):

Source/WebKit:

  • UIProcess/ios/WKContentViewInteraction.mm:

(-[WKContentView shouldUseMouseGestureRecognizer]):
Add a quirk.

Location:
trunk/Source
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r261177 r261180  
     12020-05-05  Timothy Horton  <timothy_horton@apple.com>
     2
     3        "Essential Skeleton" does not respond to mouse events, only touch events
     4        https://bugs.webkit.org/show_bug.cgi?id=211439
     5        <rdar://problem/62694519>
     6
     7        Reviewed by Wenson Hsieh.
     8
     9        * platform/RuntimeApplicationChecks.h:
     10        * platform/cocoa/RuntimeApplicationChecksCocoa.mm:
     11        (WebCore::IOSApplication::isEssentialSkeleton):
     12
    1132020-05-05  Megan Gardner  <megan_gardner@apple.com>
    214
  • trunk/Source/WebCore/platform/RuntimeApplicationChecks.h

    r260663 r261180  
    105105WEBCORE_EXPORT bool isFeedly();
    106106WEBCORE_EXPORT bool isPocketCity();
     107WEBCORE_EXPORT bool isEssentialSkeleton();
    107108
    108109} // IOSApplication
  • trunk/Source/WebCore/platform/cocoa/RuntimeApplicationChecksCocoa.mm

    r260969 r261180  
    370370}
    371371
     372bool IOSApplication::isEssentialSkeleton()
     373{
     374    static bool isEssentialSkeleton = applicationBundleIsEqualTo("com.3d4medical.EssentialSkeleton"_s);
     375    return isEssentialSkeleton;
     376}
     377
    372378#endif
    373379
  • trunk/Source/WebKit/ChangeLog

    r261178 r261180  
     12020-05-05  Timothy Horton  <timothy_horton@apple.com>
     2
     3        "Essential Skeleton" does not respond to mouse events, only touch events
     4        https://bugs.webkit.org/show_bug.cgi?id=211439
     5        <rdar://problem/62694519>
     6
     7        Reviewed by Wenson Hsieh.
     8
     9        * UIProcess/ios/WKContentViewInteraction.mm:
     10        (-[WKContentView shouldUseMouseGestureRecognizer]):
     11        Add a quirk.
     12
    1132020-05-05  Víctor Manuel Jáquez Leal  <vjaquez@igalia.com>
    214
  • trunk/Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm

    r261138 r261180  
    84228422            return NO;
    84238423
     8424        // <rdar://problem/62694519> "Essential Skeleton" does not respond to mouse events, only touch events
     8425        if (WebCore::IOSApplication::isEssentialSkeleton())
     8426            return NO;
     8427
    84248428        return YES;
    84258429    }();
Note: See TracChangeset for help on using the changeset viewer.