⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 267394 in webkit


Ignore:
Timestamp:
Sep 21, 2020, 9:44:47 PM (6 years ago)
Author:
timothy_horton@apple.com
Message:

paper.io ad close buttons cannot be iteracted with via trackpad on iPad
https://bugs.webkit.org/show_bug.cgi?id=216812
<rdar://problem/68738585>

Reviewed by Wenson Hsieh.

Source/WebCore:

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

(WebCore::IOSApplication::isPaperIO):

Source/WebKit:

  • UIProcess/ios/WKContentViewInteraction.mm:

(applicationIsKnownToIgnoreMouseEvents):

Location:
trunk/Source
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r267388 r267394  
     12020-09-21  Tim Horton  <timothy_horton@apple.com>
     2
     3        paper.io ad close buttons cannot be iteracted with via trackpad on iPad
     4        https://bugs.webkit.org/show_bug.cgi?id=216812
     5        <rdar://problem/68738585>
     6
     7        Reviewed by Wenson Hsieh.
     8
     9        * platform/RuntimeApplicationChecks.h:
     10        * platform/cocoa/RuntimeApplicationChecksCocoa.mm:
     11        (WebCore::IOSApplication::isPaperIO):
     12
    1132020-09-21  Chris Dumez  <cdumez@apple.com>
    214
  • trunk/Source/WebCore/platform/RuntimeApplicationChecks.h

    r266485 r267394  
    113113WEBCORE_EXPORT bool isOKCupid();
    114114WEBCORE_EXPORT bool isJWLibrary();
     115WEBCORE_EXPORT bool isPaperIO();
    115116
    116117} // IOSApplication
  • trunk/Source/WebCore/platform/cocoa/RuntimeApplicationChecksCocoa.mm

    r266485 r267394  
    429429}
    430430
     431bool IOSApplication::isPaperIO()
     432{
     433    static bool isPaperIO = applicationBundleIsEqualTo("io.voodoo.paperio"_s);
     434    return isPaperIO;
     435}
     436
    431437#endif
    432438
  • trunk/Source/WebKit/ChangeLog

    r267387 r267394  
     12020-09-21  Tim Horton  <timothy_horton@apple.com>
     2
     3        paper.io ad close buttons cannot be iteracted with via trackpad on iPad
     4        https://bugs.webkit.org/show_bug.cgi?id=216812
     5        <rdar://problem/68738585>
     6
     7        Reviewed by Wenson Hsieh.
     8
     9        * UIProcess/ios/WKContentViewInteraction.mm:
     10        (applicationIsKnownToIgnoreMouseEvents):
     11
    1122020-09-21  Timothy Hatcher  <timothy@apple.com>
    213
  • trunk/Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm

    r267298 r267394  
    85728572            || WebCore::IOSApplication::isNoggin() // <rdar://problem/64830335>
    85738573            || WebCore::IOSApplication::isOKCupid() // <rdar://problem/65698496>
    8574             || WebCore::IOSApplication::isJWLibrary()) { // <rdar://problem/68104852>
     8574            || WebCore::IOSApplication::isJWLibrary() // <rdar://problem/68104852>
     8575            || WebCore::IOSApplication::isPaperIO()) { // <rdar://problem/68738585>
    85758576            warningVersion = "14.2";
    85768577            return YES;
Note: See TracChangeset for help on using the changeset viewer.