[webkit-changes] [WebKit/WebKit] e4825f: [cocoa] Change color profile of HTTPSOnly warning

Commit Queue noreply at github.com
Thu Aug 8 17:58:19 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e4825f2fe0bd944db35d381c16123fe6c6bcfc8c
      https://github.com/WebKit/WebKit/commit/e4825f2fe0bd944db35d381c16123fe6c6bcfc8c
  Author: Matthew Finkel <m_finkel at apple.com>
  Date:   2024-08-08 (Thu, 08 Aug 2024)

  Changed paths:
    A Source/WebKit/HTTPSBrowsingWarning.xcassets/Contents.json
    A Source/WebKit/HTTPSBrowsingWarning.xcassets/WKHTTPSBackground.colorset/Contents.json
    A Source/WebKit/HTTPSBrowsingWarning.xcassets/WKHTTPSBrowsingWarningText.colorset/Contents.json
    A Source/WebKit/HTTPSBrowsingWarning.xcassets/WKHTTPSBrowsingWarningTitle.colorset/Contents.json
    A Source/WebKit/HTTPSBrowsingWarning.xcassets/WKHTTPSWarningBoxBackground.colorset/Contents.json
    A Source/WebKit/HTTPSBrowsingWarning.xcassets/WKHTTPSWarningText.colorset/Contents.json
    A Source/WebKit/HTTPSBrowsingWarning.xcassets/WKHTTPSWarningTitle.colorset/Contents.json
    M Source/WebKit/UIProcess/Cocoa/_WKWarningView.h
    M Source/WebKit/UIProcess/Cocoa/_WKWarningView.mm
    M Source/WebKit/WebKit.xcodeproj/project.pbxproj

  Log Message:
  -----------
  [cocoa] Change color profile of HTTPSOnly warning
https://bugs.webkit.org/show_bug.cgi?id=277780
rdar://133420418

Reviewed by Alex Christensen.

This patch uses gray backgrounds for the warning, instead of red, and
associated text colors.

Also use const-ref parameters in another switchOn.

* Source/WebKit/HTTPSBrowsingWarning.xcassets/Contents.json: Added.
* Source/WebKit/HTTPSBrowsingWarning.xcassets/WKHTTPSBackground.colorset/Contents.json: Added.
* Source/WebKit/HTTPSBrowsingWarning.xcassets/WKHTTPSBrowsingWarningText.colorset/Contents.json: Added.
* Source/WebKit/HTTPSBrowsingWarning.xcassets/WKHTTPSBrowsingWarningTitle.colorset/Contents.json: Added.
* Source/WebKit/HTTPSBrowsingWarning.xcassets/WKHTTPSWarningBoxBackground.colorset/Contents.json: Added.
* Source/WebKit/HTTPSBrowsingWarning.xcassets/WKHTTPSWarningText.colorset/Contents.json: Added.
* Source/WebKit/HTTPSBrowsingWarning.xcassets/WKHTTPSWarningTitle.colorset/Contents.json: Added.
* Source/WebKit/UIProcess/Cocoa/_WKWarningView.h:
* Source/WebKit/UIProcess/Cocoa/_WKWarningView.mm:
(colorForItem):
(-[_WKWarningView initWithFrame:browsingWarning:completionHandler:]):
* Source/WebKit/WebKit.xcodeproj/project.pbxproj:

Canonical link: https://commits.webkit.org/282025@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