OVERRIDE => override in atom_browser_client.h

This commit is contained in:
Cheng Zhao 2014-10-31 18:26:01 +08:00
parent 9b1bcf51c6
commit 7d15aa2321

View file

@ -18,25 +18,25 @@ class AtomBrowserClient : public brightray::BrowserClient {
protected: protected:
// content::ContentBrowserClient: // content::ContentBrowserClient:
virtual void RenderProcessWillLaunch( void RenderProcessWillLaunch(
content::RenderProcessHost* host) OVERRIDE; content::RenderProcessHost* host) override;
virtual content::SpeechRecognitionManagerDelegate* content::SpeechRecognitionManagerDelegate*
GetSpeechRecognitionManagerDelegate() override; GetSpeechRecognitionManagerDelegate() override;
virtual content::AccessTokenStore* CreateAccessTokenStore() OVERRIDE; content::AccessTokenStore* CreateAccessTokenStore() override;
virtual void OverrideWebkitPrefs(content::RenderViewHost* render_view_host, void OverrideWebkitPrefs(content::RenderViewHost* render_view_host,
const GURL& url, const GURL& url,
content::WebPreferences* prefs) OVERRIDE; content::WebPreferences* prefs) override;
virtual bool ShouldSwapBrowsingInstancesForNavigation( bool ShouldSwapBrowsingInstancesForNavigation(
content::SiteInstance* site_instance, content::SiteInstance* site_instance,
const GURL& current_url, const GURL& current_url,
const GURL& new_url) OVERRIDE; const GURL& new_url) override;
virtual std::string GetApplicationLocale() OVERRIDE; std::string GetApplicationLocale() override;
virtual void AppendExtraCommandLineSwitches(base::CommandLine* command_line, void AppendExtraCommandLineSwitches(base::CommandLine* command_line,
int child_process_id) OVERRIDE; int child_process_id) override;
private: private:
virtual brightray::BrowserMainParts* OverrideCreateBrowserMainParts( brightray::BrowserMainParts* OverrideCreateBrowserMainParts(
const content::MainFunctionParams&) OVERRIDE; const content::MainFunctionParams&) override;
// The render process which would be swapped out soon. // The render process which would be swapped out soon.
content::RenderProcessHost* dying_render_process_; content::RenderProcessHost* dying_render_process_;