Should inherit brightray's default web contents delegate, fixes #31.

This commit is contained in:
Cheng Zhao 2013-08-16 10:38:02 +08:00
parent 4a70077b10
commit a33c068ed1

View file

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