refactor: Make NativeWindow inherit WidgetDelegate
This commit is contained in:
parent
ee2c3607ad
commit
6d18bd0633
4 changed files with 8 additions and 7 deletions
|
@ -16,6 +16,7 @@
|
|||
#include "base/supports_user_data.h"
|
||||
#include "content/public/browser/web_contents_user_data.h"
|
||||
#include "extensions/browser/app_window/size_constraints.h"
|
||||
#include "ui/views/widget/widget_delegate.h"
|
||||
|
||||
class SkRegion;
|
||||
|
||||
|
@ -47,7 +48,8 @@ class NativeBrowserView;
|
|||
|
||||
struct DraggableRegion;
|
||||
|
||||
class NativeWindow : public base::SupportsUserData {
|
||||
class NativeWindow : public base::SupportsUserData,
|
||||
public views::WidgetDelegate {
|
||||
public:
|
||||
~NativeWindow() override;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue