fix: chrome://accessibility not loading (#24437)
This commit is contained in:
parent
24fb498fd3
commit
3f37ff87d2
11 changed files with 668 additions and 1 deletions
|
@ -308,6 +308,8 @@ class NativeWindow : public base::SupportsUserData,
|
|||
|
||||
std::list<NativeBrowserView*> browser_views() const { return browser_views_; }
|
||||
|
||||
int32_t window_id() const { return next_id_; }
|
||||
|
||||
protected:
|
||||
NativeWindow(const gin_helper::Dictionary& options, NativeWindow* parent);
|
||||
|
||||
|
@ -329,6 +331,8 @@ class NativeWindow : public base::SupportsUserData,
|
|||
private:
|
||||
std::unique_ptr<views::Widget> widget_;
|
||||
|
||||
static int32_t next_id_;
|
||||
|
||||
// The content view, weak ref.
|
||||
views::View* content_view_ = nullptr;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue