mirror of
https://github.com/electron/electron.git
synced 2026-01-09 15:38:08 -05:00
refactor: use WidgetDelegate::SetAccessibleTitle() (#46765)
* refactor: use WidgetDelegate::SetAccessibleTitle() * test: add window.accessibleTitle tests
This commit is contained in:
@@ -447,7 +447,6 @@ class NativeWindow : public base::SupportsUserData,
|
||||
// views::WidgetDelegate:
|
||||
views::Widget* GetWidget() override;
|
||||
const views::Widget* GetWidget() const override;
|
||||
std::u16string GetAccessibleWindowTitle() const override;
|
||||
|
||||
void set_content_view(views::View* view) { content_view_ = view; }
|
||||
|
||||
@@ -532,9 +531,6 @@ class NativeWindow : public base::SupportsUserData,
|
||||
absl::flat_hash_set<BackgroundThrottlingSource*>
|
||||
background_throttling_sources_;
|
||||
|
||||
// Accessible title.
|
||||
std::u16string accessible_title_;
|
||||
|
||||
std::string vibrancy_;
|
||||
std::string background_material_;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user