Should inherit brightray's default web contents delegate, fixes #31.
This commit is contained in:
parent
4a70077b10
commit
a33c068ed1
1 changed files with 2 additions and 2 deletions
|
@ -12,8 +12,8 @@
|
|||
#include "browser/native_window_observer.h"
|
||||
#include "content/public/browser/notification_registrar.h"
|
||||
#include "content/public/browser/notification_observer.h"
|
||||
#include "content/public/browser/web_contents_delegate.h"
|
||||
#include "content/public/browser/web_contents_observer.h"
|
||||
#include "vendor/brightray/browser/default_web_contents_delegate.h"
|
||||
|
||||
namespace base {
|
||||
class DictionaryValue;
|
||||
|
@ -39,7 +39,7 @@ namespace atom {
|
|||
|
||||
class AtomJavaScriptDialogManager;
|
||||
|
||||
class NativeWindow : public content::WebContentsDelegate,
|
||||
class NativeWindow : public brightray::DefaultWebContentsDelegate,
|
||||
public content::WebContentsObserver,
|
||||
public content::NotificationObserver {
|
||||
public:
|
||||
|
|
Loading…
Reference in a new issue