Add CommonWebContentsDelegate

This commit is contained in:
Cheng Zhao 2015-06-05 13:49:12 +08:00
parent e8f33f51fb
commit 19d742de37
7 changed files with 55 additions and 7 deletions

View file

@ -9,7 +9,7 @@
#include <vector>
#include "atom/browser/api/event_emitter.h"
#include "brightray/browser/default_web_contents_delegate.h"
#include "atom/browser/common_web_contents_delegate.h"
#include "content/public/browser/browser_plugin_guest_delegate.h"
#include "content/public/common/favicon_url.h"
#include "content/public/browser/web_contents_delegate.h"
@ -51,7 +51,7 @@ struct SetSizeParams {
class WebContents : public mate::EventEmitter,
public content::BrowserPluginGuestDelegate,
public brightray::DefaultWebContentsDelegate,
public CommonWebContentsDelegate,
public content::WebContentsObserver,
public content::GpuDataManagerObserver {
public: