From: Cheng Zhao Date: Fri, 16 Aug 2013 02:38:02 +0000 (+0800) Subject: Should inherit brightray's default web contents delegate, fixes #31. X-Git-Tag: v0.3.5~1 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=a33c068ed1e2b75e7f88c1faa36f058a476ca030;p=electron.git Should inherit brightray's default web contents delegate, fixes #31. --- diff --git a/browser/native_window.h b/browser/native_window.h index d271a334..8823b244 100644 --- a/browser/native_window.h +++ b/browser/native_window.h @@ -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: