[webkit-changes] [WebKit/WebKit] 90658f: Adjust the Safe Browsing warning UI for tvOS

Wenson Hsieh noreply at github.com
Wed Sep 18 19:07:40 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 90658f0a3207ffb21d6d8eae8c4b56d413863f54
      https://github.com/WebKit/WebKit/commit/90658f0a3207ffb21d6d8eae8c4b56d413863f54
  Author: Wenson Hsieh <wenson_hsieh at apple.com>
  Date:   2024-09-18 (Wed, 18 Sep 2024)

  Changed paths:
    M Source/WebKit/UIProcess/Cocoa/_WKWarningView.mm

  Log Message:
  -----------
  Adjust the Safe Browsing warning UI for tvOS
https://bugs.webkit.org/show_bug.cgi?id=279925
rdar://133849959

Reviewed by Aditya Keerthi.

Adjust `_WKWarningView` to use the same `0.2` multiplier between the top anchors and bottom anchors,
which we currently use on watchOS. Also do some light refactoring when creating and activating these
constraints, to reduce code duplication.

* Source/WebKit/UIProcess/Cocoa/_WKWarningView.mm:
(-[_WKWarningView addContent]):

Canonical link: https://commits.webkit.org/283884@main



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list