[webkit-changes] [WebKit/WebKit] 839877: Remove more plugin remnants

Anne van Kesteren noreply at github.com
Mon Jan 20 23:24:12 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 839877cbe88444b8cbb9bd0a9c781d1d694d9e4f
      https://github.com/WebKit/WebKit/commit/839877cbe88444b8cbb9bd0a9c781d1d694d9e4f
  Author: Anne van Kesteren <annevk at annevk.nl>
  Date:   2025-01-20 (Mon, 20 Jan 2025)

  Changed paths:
    M Source/WebCore/CMakeLists.txt
    M Source/WebCore/DerivedSources-input.xcfilelist
    M Source/WebCore/DerivedSources-output.xcfilelist
    M Source/WebCore/DerivedSources.make
    M Source/WebCore/Headers.cmake
    R Source/WebCore/Resources/plugIns.js
    M Source/WebCore/Sources.txt
    M Source/WebCore/WebCore.xcodeproj/project.pbxproj
    R Source/WebCore/css/plugIns.css
    M Source/WebCore/dom/Document.cpp
    M Source/WebCore/dom/Document.h
    M Source/WebCore/en.lproj/Localizable.strings
    M Source/WebCore/page/ChromeClient.h
    M Source/WebCore/platform/LocalizedStrings.cpp
    M Source/WebCore/platform/LocalizedStrings.h
    M Source/WebCore/rendering/RenderTheme.h
    M Source/WebCore/style/InspectorCSSOMWrappers.cpp
    M Source/WebCore/style/UserAgentStyle.cpp
    M Source/WebCore/style/UserAgentStyle.h
    M Source/WebKit/WebProcess/InjectedBundle/InjectedBundlePageUIClient.cpp
    M Source/WebKit/WebProcess/InjectedBundle/InjectedBundlePageUIClient.h
    M Source/WebKit/WebProcess/WebCoreSupport/WebChromeClient.cpp
    M Source/WebKit/WebProcess/WebCoreSupport/WebChromeClient.h

  Log Message:
  -----------
  Remove more plugin remnants
https://bugs.webkit.org/show_bug.cgi?id=286254

Reviewed by Tim Horton.

This does not remove plugInStartLabelTitle and friends from
APIInjectedBundlePageUIClient as presumably that is API.

In UserAgentStyle we move the input element cases up as otherwise we
get into a bind due to the directives.

We continue to support .js files in make-css-file-arrays.pl as GTK and
WPE depend on that.

* Source/WebCore/CMakeLists.txt:
* Source/WebCore/DerivedSources-input.xcfilelist:
* Source/WebCore/DerivedSources-output.xcfilelist:
* Source/WebCore/DerivedSources.make:
* Source/WebCore/Headers.cmake:
* Source/WebCore/Resources/plugIns.js: Removed.
* Source/WebCore/Sources.txt:
* Source/WebCore/WebCore.xcodeproj/project.pbxproj:
* Source/WebCore/css/plugIns.css: Removed.
* Source/WebCore/dom/Document.cpp:
(WebCore::Document::ensurePlugInsInjectedScript): Deleted.
* Source/WebCore/dom/Document.h:
* Source/WebCore/en.lproj/Localizable.strings:
* Source/WebCore/page/ChromeClient.h:
(WebCore::ChromeClient::plugInStartLabelTitle const): Deleted.
(WebCore::ChromeClient::plugInStartLabelSubtitle const): Deleted.
(WebCore::ChromeClient::plugInExtraStyleSheet const): Deleted.
(WebCore::ChromeClient::plugInExtraScript const): Deleted.
* Source/WebCore/platform/LocalizedStrings.cpp:
(WebCore::snapshottedPlugInLabelTitle): Deleted.
(WebCore::snapshottedPlugInLabelSubtitle): Deleted.
(WebCore::useBlockedPlugInContextMenuTitle): Deleted.
* Source/WebCore/platform/LocalizedStrings.h:
* Source/WebCore/rendering/RenderTheme.h:
(WebCore::RenderTheme::extraQuirksStyleSheet):
(WebCore::RenderTheme::extraPlugInsStyleSheet): Deleted.
* Source/WebCore/style/InspectorCSSOMWrappers.cpp:
(WebCore::Style::InspectorCSSOMWrappers::collectDocumentWrappers):
* Source/WebCore/style/UserAgentStyle.cpp:
(WebCore::Style::UserAgentStyle::ensureDefaultStyleSheetsForElement):
* Source/WebCore/style/UserAgentStyle.h:
* Source/WebKit/WebProcess/InjectedBundle/InjectedBundlePageUIClient.cpp:
(WebKit::InjectedBundlePageUIClient::plugInStartLabelTitle const): Deleted.
(WebKit::InjectedBundlePageUIClient::plugInStartLabelSubtitle const): Deleted.
(WebKit::InjectedBundlePageUIClient::plugInExtraStyleSheet const): Deleted.
(WebKit::InjectedBundlePageUIClient::plugInExtraScript const): Deleted.
* Source/WebKit/WebProcess/InjectedBundle/InjectedBundlePageUIClient.h:
* Source/WebKit/WebProcess/WebCoreSupport/WebChromeClient.cpp:
(WebKit::WebChromeClient::plugInStartLabelTitle const): Deleted.
(WebKit::WebChromeClient::plugInStartLabelSubtitle const): Deleted.
(WebKit::WebChromeClient::plugInExtraStyleSheet const): Deleted.
(WebKit::WebChromeClient::plugInExtraScript const): Deleted.
* Source/WebKit/WebProcess/WebCoreSupport/WebChromeClient.h:

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