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

Changeset 267682 in webkit


Ignore:
Timestamp:
Sep 27, 2020, 1:00:40 PM (6 years ago)
Author:
Alan Coon
Message:

Cherry-pick r267394. rdar://problem/69593980

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):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@267394 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Location:
branches/safari-610-branch/Source
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • branches/safari-610-branch/Source/WebCore/ChangeLog

    r267681 r267682  
     12020-09-27  Alan Coon  <alancoon@apple.com>
     2
     3        Cherry-pick r267394. rdar://problem/69593980
     4
     5    paper.io ad close buttons cannot be iteracted with via trackpad on iPad
     6    https://bugs.webkit.org/show_bug.cgi?id=216812
     7    <rdar://problem/68738585>
     8   
     9    Reviewed by Wenson Hsieh.
     10   
     11    Source/WebCore:
     12   
     13    * platform/RuntimeApplicationChecks.h:
     14    * platform/cocoa/RuntimeApplicationChecksCocoa.mm:
     15    (WebCore::IOSApplication::isPaperIO):
     16   
     17    Source/WebKit:
     18   
     19    * UIProcess/ios/WKContentViewInteraction.mm:
     20    (applicationIsKnownToIgnoreMouseEvents):
     21   
     22   
     23    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@267394 268f45cc-cd09-0410-ab3c-d52691b4dbfc
     24
     25    2020-09-21  Tim Horton  <timothy_horton@apple.com>
     26
     27            paper.io ad close buttons cannot be iteracted with via trackpad on iPad
     28            https://bugs.webkit.org/show_bug.cgi?id=216812
     29            <rdar://problem/68738585>
     30
     31            Reviewed by Wenson Hsieh.
     32
     33            * platform/RuntimeApplicationChecks.h:
     34            * platform/cocoa/RuntimeApplicationChecksCocoa.mm:
     35            (WebCore::IOSApplication::isPaperIO):
     36
    1372020-09-27  Alan Coon  <alancoon@apple.com>
    238
  • branches/safari-610-branch/Source/WebCore/platform/RuntimeApplicationChecks.h

    r266864 r267682  
    113113WEBCORE_EXPORT bool isOKCupid();
    114114WEBCORE_EXPORT bool isJWLibrary();
     115WEBCORE_EXPORT bool isPaperIO();
    115116
    116117} // IOSApplication
  • branches/safari-610-branch/Source/WebCore/platform/cocoa/RuntimeApplicationChecksCocoa.mm

    r266864 r267682  
    429429}
    430430
     431bool IOSApplication::isPaperIO()
     432{
     433    static bool isPaperIO = applicationBundleIsEqualTo("io.voodoo.paperio"_s);
     434    return isPaperIO;
     435}
     436
    431437#endif
    432438
  • branches/safari-610-branch/Source/WebKit/ChangeLog

    r267680 r267682  
     12020-09-27  Alan Coon  <alancoon@apple.com>
     2
     3        Cherry-pick r267394. rdar://problem/69593980
     4
     5    paper.io ad close buttons cannot be iteracted with via trackpad on iPad
     6    https://bugs.webkit.org/show_bug.cgi?id=216812
     7    <rdar://problem/68738585>
     8   
     9    Reviewed by Wenson Hsieh.
     10   
     11    Source/WebCore:
     12   
     13    * platform/RuntimeApplicationChecks.h:
     14    * platform/cocoa/RuntimeApplicationChecksCocoa.mm:
     15    (WebCore::IOSApplication::isPaperIO):
     16   
     17    Source/WebKit:
     18   
     19    * UIProcess/ios/WKContentViewInteraction.mm:
     20    (applicationIsKnownToIgnoreMouseEvents):
     21   
     22   
     23    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@267394 268f45cc-cd09-0410-ab3c-d52691b4dbfc
     24
     25    2020-09-21  Tim Horton  <timothy_horton@apple.com>
     26
     27            paper.io ad close buttons cannot be iteracted with via trackpad on iPad
     28            https://bugs.webkit.org/show_bug.cgi?id=216812
     29            <rdar://problem/68738585>
     30
     31            Reviewed by Wenson Hsieh.
     32
     33            * UIProcess/ios/WKContentViewInteraction.mm:
     34            (applicationIsKnownToIgnoreMouseEvents):
     35
    1362020-09-27  Alan Coon  <alancoon@apple.com>
    237
  • branches/safari-610-branch/Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm

    r267628 r267682  
    86348634            || WebCore::IOSApplication::isNoggin() // <rdar://problem/64830335>
    86358635            || WebCore::IOSApplication::isOKCupid() // <rdar://problem/65698496>
    8636             || WebCore::IOSApplication::isJWLibrary()) { // <rdar://problem/68104852>
     8636            || WebCore::IOSApplication::isJWLibrary() // <rdar://problem/68104852>
     8637            || WebCore::IOSApplication::isPaperIO()) { // <rdar://problem/68738585>
    86378638            warningVersion = "14.2";
    86388639            return YES;
Note: See TracChangeset for help on using the changeset viewer.