Changeset 260663 in webkit


Ignore:
Timestamp:
Apr 24, 2020 1:05:57 PM (4 years ago)
Author:
timothy_horton@apple.com
Message:

iPad: "Pocket City" interaction does not work with trackpad
https://bugs.webkit.org/show_bug.cgi?id=210985
<rdar://problem/62273077>

Reviewed by Wenson Hsieh.

Source/WebCore:

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

(WebCore::IOSApplication::isPocketCity):

Source/WebKit:

  • UIProcess/ios/WKContentViewInteraction.mm:

(-[WKContentView shouldUseMouseGestureRecognizer]):
Add another app to the list who fall back to touch event synthesis until rebuilt.

Location:
trunk/Source
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r260655 r260663  
     12020-04-24  Tim Horton  <timothy_horton@apple.com>
     2
     3        iPad: "Pocket City" interaction does not work with trackpad
     4        https://bugs.webkit.org/show_bug.cgi?id=210985
     5        <rdar://problem/62273077>
     6
     7        Reviewed by Wenson Hsieh.
     8
     9        * platform/RuntimeApplicationChecks.h:
     10        * platform/cocoa/RuntimeApplicationChecksCocoa.mm:
     11        (WebCore::IOSApplication::isPocketCity):
     12
    1132020-04-24  Tomoki Imai  <Tomoki.Imai@sony.com>
    214
  • trunk/Source/WebCore/platform/RuntimeApplicationChecks.h

    r260597 r260663  
    104104WEBCORE_EXPORT bool isStocks();
    105105WEBCORE_EXPORT bool isFeedly();
     106WEBCORE_EXPORT bool isPocketCity();
    106107
    107108} // IOSApplication
  • trunk/Source/WebCore/platform/cocoa/RuntimeApplicationChecksCocoa.mm

    r258721 r260663  
    364364}
    365365
     366bool IOSApplication::isPocketCity()
     367{
     368    static bool isPocketCity = applicationBundleIsEqualTo("com.codebrewgames.pocketcity"_s);
     369    return isPocketCity;
     370}
     371
    366372#endif
    367373
  • trunk/Source/WebKit/ChangeLog

    r260658 r260663  
     12020-04-24  Tim Horton  <timothy_horton@apple.com>
     2
     3        iPad: "Pocket City" interaction does not work with trackpad
     4        https://bugs.webkit.org/show_bug.cgi?id=210985
     5        <rdar://problem/62273077>
     6
     7        Reviewed by Wenson Hsieh.
     8
     9        * UIProcess/ios/WKContentViewInteraction.mm:
     10        (-[WKContentView shouldUseMouseGestureRecognizer]):
     11        Add another app to the list who fall back to touch event synthesis until rebuilt.
     12
    1132020-04-24  Alex Christensen  <achristensen@webkit.org>
    214
  • trunk/Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm

    r260485 r260663  
    84038403            return NO;
    84048404
     8405        // <rdar://problem/62273077> "Pocket City" does not respond to mouse events, only touch events
     8406        if (WebCore::IOSApplication::isPocketCity())
     8407            return NO;
     8408
    84058409        return YES;
    84068410    }();
Note: See TracChangeset for help on using the changeset viewer.