Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(275)

Side by Side Diff: chrome/renderer/chrome_content_renderer_client.h

Issue 630603003: Replacing the OVERRIDE with override in chrome/renderer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased the patch Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ 5 #ifndef CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_
6 #define CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ 6 #define CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 68
69 #if defined(ENABLE_WEBRTC) 69 #if defined(ENABLE_WEBRTC)
70 class WebRtcLoggingMessageFilter; 70 class WebRtcLoggingMessageFilter;
71 #endif 71 #endif
72 72
73 class ChromeContentRendererClient : public content::ContentRendererClient { 73 class ChromeContentRendererClient : public content::ContentRendererClient {
74 public: 74 public:
75 ChromeContentRendererClient(); 75 ChromeContentRendererClient();
76 virtual ~ChromeContentRendererClient(); 76 virtual ~ChromeContentRendererClient();
77 77
78 virtual void RenderThreadStarted() OVERRIDE; 78 virtual void RenderThreadStarted() override;
79 virtual void RenderFrameCreated(content::RenderFrame* render_frame) OVERRIDE; 79 virtual void RenderFrameCreated(content::RenderFrame* render_frame) override;
80 virtual void RenderViewCreated(content::RenderView* render_view) OVERRIDE; 80 virtual void RenderViewCreated(content::RenderView* render_view) override;
81 virtual void SetNumberOfViews(int number_of_views) OVERRIDE; 81 virtual void SetNumberOfViews(int number_of_views) override;
82 virtual SkBitmap* GetSadPluginBitmap() OVERRIDE; 82 virtual SkBitmap* GetSadPluginBitmap() override;
83 virtual SkBitmap* GetSadWebViewBitmap() OVERRIDE; 83 virtual SkBitmap* GetSadWebViewBitmap() override;
84 virtual std::string GetDefaultEncoding() OVERRIDE; 84 virtual std::string GetDefaultEncoding() override;
85 virtual bool OverrideCreatePlugin( 85 virtual bool OverrideCreatePlugin(
86 content::RenderFrame* render_frame, 86 content::RenderFrame* render_frame,
87 blink::WebLocalFrame* frame, 87 blink::WebLocalFrame* frame,
88 const blink::WebPluginParams& params, 88 const blink::WebPluginParams& params,
89 blink::WebPlugin** plugin) OVERRIDE; 89 blink::WebPlugin** plugin) override;
90 virtual blink::WebPlugin* CreatePluginReplacement( 90 virtual blink::WebPlugin* CreatePluginReplacement(
91 content::RenderFrame* render_frame, 91 content::RenderFrame* render_frame,
92 const base::FilePath& plugin_path) OVERRIDE; 92 const base::FilePath& plugin_path) override;
93 virtual bool HasErrorPage(int http_status_code, 93 virtual bool HasErrorPage(int http_status_code,
94 std::string* error_domain) OVERRIDE; 94 std::string* error_domain) override;
95 virtual bool ShouldSuppressErrorPage(content::RenderFrame* render_frame, 95 virtual bool ShouldSuppressErrorPage(content::RenderFrame* render_frame,
96 const GURL& url) OVERRIDE; 96 const GURL& url) override;
97 virtual void GetNavigationErrorStrings( 97 virtual void GetNavigationErrorStrings(
98 content::RenderView* render_view, 98 content::RenderView* render_view,
99 blink::WebFrame* frame, 99 blink::WebFrame* frame,
100 const blink::WebURLRequest& failed_request, 100 const blink::WebURLRequest& failed_request,
101 const blink::WebURLError& error, 101 const blink::WebURLError& error,
102 std::string* error_html, 102 std::string* error_html,
103 base::string16* error_description) OVERRIDE; 103 base::string16* error_description) override;
104 virtual void DeferMediaLoad(content::RenderFrame* render_frame, 104 virtual void DeferMediaLoad(content::RenderFrame* render_frame,
105 const base::Closure& closure) OVERRIDE; 105 const base::Closure& closure) override;
106 virtual bool RunIdleHandlerWhenWidgetsHidden() OVERRIDE; 106 virtual bool RunIdleHandlerWhenWidgetsHidden() override;
107 virtual bool AllowPopup() OVERRIDE; 107 virtual bool AllowPopup() override;
108 virtual bool ShouldFork(blink::WebFrame* frame, 108 virtual bool ShouldFork(blink::WebFrame* frame,
109 const GURL& url, 109 const GURL& url,
110 const std::string& http_method, 110 const std::string& http_method,
111 bool is_initial_navigation, 111 bool is_initial_navigation,
112 bool is_server_redirect, 112 bool is_server_redirect,
113 bool* send_referrer) OVERRIDE; 113 bool* send_referrer) override;
114 virtual bool WillSendRequest(blink::WebFrame* frame, 114 virtual bool WillSendRequest(blink::WebFrame* frame,
115 ui::PageTransition transition_type, 115 ui::PageTransition transition_type,
116 const GURL& url, 116 const GURL& url,
117 const GURL& first_party_for_cookies, 117 const GURL& first_party_for_cookies,
118 GURL* new_url) OVERRIDE; 118 GURL* new_url) override;
119 virtual void DidCreateScriptContext(blink::WebFrame* frame, 119 virtual void DidCreateScriptContext(blink::WebFrame* frame,
120 v8::Handle<v8::Context> context, 120 v8::Handle<v8::Context> context,
121 int extension_group, 121 int extension_group,
122 int world_id) OVERRIDE; 122 int world_id) override;
123 virtual unsigned long long VisitedLinkHash(const char* canonical_url, 123 virtual unsigned long long VisitedLinkHash(const char* canonical_url,
124 size_t length) OVERRIDE; 124 size_t length) override;
125 virtual bool IsLinkVisited(unsigned long long link_hash) OVERRIDE; 125 virtual bool IsLinkVisited(unsigned long long link_hash) override;
126 virtual blink::WebPrescientNetworking* GetPrescientNetworking() OVERRIDE; 126 virtual blink::WebPrescientNetworking* GetPrescientNetworking() override;
127 virtual bool ShouldOverridePageVisibilityState( 127 virtual bool ShouldOverridePageVisibilityState(
128 const content::RenderFrame* render_frame, 128 const content::RenderFrame* render_frame,
129 blink::WebPageVisibilityState* override_state) OVERRIDE; 129 blink::WebPageVisibilityState* override_state) override;
130 virtual const void* CreatePPAPIInterface( 130 virtual const void* CreatePPAPIInterface(
131 const std::string& interface_name) OVERRIDE; 131 const std::string& interface_name) override;
132 virtual bool IsExternalPepperPlugin(const std::string& module_name) OVERRIDE; 132 virtual bool IsExternalPepperPlugin(const std::string& module_name) override;
133 virtual blink::WebSpeechSynthesizer* OverrideSpeechSynthesizer( 133 virtual blink::WebSpeechSynthesizer* OverrideSpeechSynthesizer(
134 blink::WebSpeechSynthesizerClient* client) OVERRIDE; 134 blink::WebSpeechSynthesizerClient* client) override;
135 virtual bool ShouldReportDetailedMessageForSource( 135 virtual bool ShouldReportDetailedMessageForSource(
136 const base::string16& source) const OVERRIDE; 136 const base::string16& source) const override;
137 virtual bool ShouldEnableSiteIsolationPolicy() const OVERRIDE; 137 virtual bool ShouldEnableSiteIsolationPolicy() const override;
138 virtual blink::WebWorkerPermissionClientProxy* 138 virtual blink::WebWorkerPermissionClientProxy*
139 CreateWorkerPermissionClientProxy(content::RenderFrame* render_frame, 139 CreateWorkerPermissionClientProxy(content::RenderFrame* render_frame,
140 blink::WebFrame* frame) OVERRIDE; 140 blink::WebFrame* frame) override;
141 virtual bool AllowPepperMediaStreamAPI(const GURL& url) OVERRIDE; 141 virtual bool AllowPepperMediaStreamAPI(const GURL& url) override;
142 virtual void AddKeySystems( 142 virtual void AddKeySystems(
143 std::vector<content::KeySystemInfo>* key_systems) OVERRIDE; 143 std::vector<content::KeySystemInfo>* key_systems) override;
144 virtual bool IsPluginAllowedToUseDevChannelAPIs() OVERRIDE; 144 virtual bool IsPluginAllowedToUseDevChannelAPIs() override;
145 virtual bool IsPluginAllowedToUseCompositorAPI(const GURL& url) OVERRIDE; 145 virtual bool IsPluginAllowedToUseCompositorAPI(const GURL& url) override;
146 virtual bool IsPluginAllowedToUseVideoDecodeAPI(const GURL& url) OVERRIDE; 146 virtual bool IsPluginAllowedToUseVideoDecodeAPI(const GURL& url) override;
147 virtual content::BrowserPluginDelegate* CreateBrowserPluginDelegate( 147 virtual content::BrowserPluginDelegate* CreateBrowserPluginDelegate(
148 content::RenderFrame* render_frame, 148 content::RenderFrame* render_frame,
149 const std::string& mime_type) OVERRIDE; 149 const std::string& mime_type) override;
150 150
151 #if defined(ENABLE_EXTENSIONS) 151 #if defined(ENABLE_EXTENSIONS)
152 // Takes ownership. 152 // Takes ownership.
153 void SetExtensionDispatcherForTest( 153 void SetExtensionDispatcherForTest(
154 extensions::Dispatcher* extension_dispatcher); 154 extensions::Dispatcher* extension_dispatcher);
155 extensions::Dispatcher* GetExtensionDispatcherForTest(); 155 extensions::Dispatcher* GetExtensionDispatcherForTest();
156 #endif 156 #endif
157 157
158 #if defined(ENABLE_SPELLCHECK) 158 #if defined(ENABLE_SPELLCHECK)
159 // Sets a new |spellcheck|. Used for testing only. 159 // Sets a new |spellcheck|. Used for testing only.
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 #if defined(ENABLE_FULL_PRINTING) 234 #if defined(ENABLE_FULL_PRINTING)
235 scoped_ptr<ChromePDFPrintClient> pdf_print_client_; 235 scoped_ptr<ChromePDFPrintClient> pdf_print_client_;
236 #endif 236 #endif
237 #if defined(ENABLE_PLUGINS) 237 #if defined(ENABLE_PLUGINS)
238 std::set<std::string> allowed_compositor_origins_; 238 std::set<std::string> allowed_compositor_origins_;
239 std::set<std::string> allowed_video_decode_origins_; 239 std::set<std::string> allowed_video_decode_origins_;
240 #endif 240 #endif
241 }; 241 };
242 242
243 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ 243 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_
OLDNEW
« no previous file with comments | « chrome/renderer/benchmarking_extension.cc ('k') | chrome/renderer/chrome_content_renderer_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698