chore: deprecate systemPreferences.isAeroGlassEnabled()
(#45434)
This commit is contained in:
parent
14fe0932f0
commit
e055ce7c39
8 changed files with 30 additions and 43 deletions
|
@ -60,9 +60,7 @@ gin::ObjectTemplateBuilder SystemPreferences::GetObjectTemplateBuilder(
|
|||
&SystemPreferences::GetMediaAccessStatus)
|
||||
#endif
|
||||
|
||||
#if BUILDFLAG(IS_WIN)
|
||||
.SetMethod("isAeroGlassEnabled", &SystemPreferences::IsAeroGlassEnabled)
|
||||
#elif BUILDFLAG(IS_MAC)
|
||||
#if BUILDFLAG(IS_MAC)
|
||||
.SetMethod("postNotification", &SystemPreferences::PostNotification)
|
||||
.SetMethod("subscribeNotification",
|
||||
&SystemPreferences::SubscribeNotification)
|
||||
|
|
|
@ -63,8 +63,6 @@ class SystemPreferences final
|
|||
const std::string& media_type);
|
||||
#endif
|
||||
#if BUILDFLAG(IS_WIN)
|
||||
bool IsAeroGlassEnabled();
|
||||
|
||||
void InitializeWindow();
|
||||
|
||||
// gfx::SysColorChangeListener:
|
||||
|
|
|
@ -76,10 +76,6 @@ std::string ConvertDeviceAccessStatus(DeviceAccessStatus value) {
|
|||
|
||||
namespace api {
|
||||
|
||||
bool SystemPreferences::IsAeroGlassEnabled() {
|
||||
return true;
|
||||
}
|
||||
|
||||
std::string hexColorDWORDToRGBA(DWORD color) {
|
||||
DWORD rgba = color << 8 | color >> 24;
|
||||
std::ostringstream stream;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue