fix: chrome://accessibility not loading (#24437)

This commit is contained in:
Shelley Vohr 2020-07-16 10:14:54 -07:00 committed by GitHub
parent 24fb498fd3
commit 3f37ff87d2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 668 additions and 1 deletions

View file

@ -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;