-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
https://bugs.webkit.org/show_bug.cgi?id=266539 Reviewed by Aditya Keerthi. At this point in its life ThemeMac is mainly responsible for determining the sizing of a couple of form controls as the GPU process has taken over most of the theming aspects. And to determine the sizing of these form controls no cells are needed so all that code can be removed. And then we also remove some code that eventually does not do anything, such as StyleAppearance::ColorWell which do to not having the correct bezel style (which is itself a concept that can be removed) never ends up being impacted by inflateControlPaintRect(). * Source/WebCore/platform/Theme.h: (WebCore::Theme::inflateControlPaintRect const): * Source/WebCore/platform/mac/ThemeMac.h: * Source/WebCore/platform/mac/ThemeMac.mm: (WebCore::radioSize): (WebCore::ThemeMac::inflateControlPaintRect const): (WebCore::setControlSize): Deleted. (WebCore::updateStates): Deleted. (WebCore::configureToggleButton): Deleted. (WebCore::createToggleButtonCell): Deleted. (WebCore::sharedRadioCell): Deleted. (WebCore::sharedCheckboxCell): Deleted. (WebCore::buttonCell): Deleted. (WebCore::setUpButtonCell): Deleted. (WebCore::button): Deleted. * Source/WebCore/rendering/RenderThemeMac.mm: (WebCore::RenderThemeMac::adjustRepaintRect): Canonical link: https://commits.webkit.org/272218@main
- Loading branch information
Showing
4 changed files
with
20 additions
and
170 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters