This commit is contained in:
Cheng Zhao 2013-04-12 23:16:16 +08:00
parent cb2116f725
commit e49861b45b
5 changed files with 15 additions and 15 deletions

View file

@ -10,11 +10,11 @@
namespace atom { namespace atom {
class AtomMainDelegate : public brightray::MainDelegate { class AtomMainDelegate : public brightray::MainDelegate {
public: public:
AtomMainDelegate(); AtomMainDelegate();
~AtomMainDelegate(); ~AtomMainDelegate();
private: private:
virtual content::ContentBrowserClient* CreateContentBrowserClient() OVERRIDE; virtual content::ContentBrowserClient* CreateContentBrowserClient() OVERRIDE;
virtual content::ContentRendererClient* virtual content::ContentRendererClient*
CreateContentRendererClient() OVERRIDE; CreateContentRendererClient() OVERRIDE;

View file

@ -10,16 +10,16 @@
namespace atom { namespace atom {
class AtomBrowserClient : public brightray::BrowserClient { class AtomBrowserClient : public brightray::BrowserClient {
public: public:
AtomBrowserClient(); AtomBrowserClient();
~AtomBrowserClient(); virtual ~AtomBrowserClient();
protected: protected:
virtual void OverrideWebkitPrefs(content::RenderViewHost* render_view_host, virtual void OverrideWebkitPrefs(content::RenderViewHost* render_view_host,
const GURL& url, const GURL& url,
webkit_glue::WebPreferences* prefs) OVERRIDE; webkit_glue::WebPreferences* prefs) OVERRIDE;
private: private:
virtual brightray::BrowserMainParts* OverrideCreateBrowserMainParts( virtual brightray::BrowserMainParts* OverrideCreateBrowserMainParts(
const content::MainFunctionParams&) OVERRIDE; const content::MainFunctionParams&) OVERRIDE;

View file

@ -10,11 +10,11 @@
namespace atom { namespace atom {
class AtomBrowserMainParts : public brightray::BrowserMainParts { class AtomBrowserMainParts : public brightray::BrowserMainParts {
public: public:
AtomBrowserMainParts(); AtomBrowserMainParts();
~AtomBrowserMainParts(); virtual ~AtomBrowserMainParts();
protected: protected:
virtual void PreMainMessageLoopRun() OVERRIDE; virtual void PreMainMessageLoopRun() OVERRIDE;
DISALLOW_COPY_AND_ASSIGN(AtomBrowserMainParts); DISALLOW_COPY_AND_ASSIGN(AtomBrowserMainParts);

View file

@ -10,11 +10,11 @@
namespace atom { namespace atom {
class AtomRenderViewObserver : content::RenderViewObserver { class AtomRenderViewObserver : content::RenderViewObserver {
public: public:
explicit AtomRenderViewObserver(content::RenderView*); explicit AtomRenderViewObserver(content::RenderView*);
private: private:
~AtomRenderViewObserver(); virtual ~AtomRenderViewObserver();
virtual void DidClearWindowObject(WebKit::WebFrame*) OVERRIDE; virtual void DidClearWindowObject(WebKit::WebFrame*) OVERRIDE;

View file

@ -10,11 +10,11 @@
namespace atom { namespace atom {
class AtomRendererClient : public content::ContentRendererClient { class AtomRendererClient : public content::ContentRendererClient {
public: public:
AtomRendererClient(); AtomRendererClient();
~AtomRendererClient(); virtual ~AtomRendererClient();
private: private:
virtual void RenderViewCreated(content::RenderView*) OVERRIDE; virtual void RenderViewCreated(content::RenderView*) OVERRIDE;
DISALLOW_COPY_AND_ASSIGN(AtomRendererClient); DISALLOW_COPY_AND_ASSIGN(AtomRendererClient);