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

Unified Diff: content/child/npapi/webplugin_delegate_impl.h

Issue 671663002: Standardize usage of virtual/override/final in content/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/child/npapi/plugin_url_fetcher.h ('k') | content/child/power_monitor_broadcast_source.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/npapi/webplugin_delegate_impl.h
diff --git a/content/child/npapi/webplugin_delegate_impl.h b/content/child/npapi/webplugin_delegate_impl.h
index b201293c93baabe3e97345f5d4db25859b11464e..e37a651a1e42ee60b566e74ecbe5b1af262f2009 100644
--- a/content/child/npapi/webplugin_delegate_impl.h
+++ b/content/child/npapi/webplugin_delegate_impl.h
@@ -78,53 +78,55 @@ class WebPluginDelegateImpl : public WebPluginDelegate {
const std::string& mime_type);
// WebPluginDelegate implementation
- virtual bool Initialize(const GURL& url,
- const std::vector<std::string>& arg_names,
- const std::vector<std::string>& arg_values,
- bool load_manually) override;
- virtual void PluginDestroyed() override;
- virtual void UpdateGeometry(const gfx::Rect& window_rect,
- const gfx::Rect& clip_rect) override;
- virtual void Paint(SkCanvas* canvas, const gfx::Rect& rect) override;
- virtual void SetFocus(bool focused) override;
- virtual bool HandleInputEvent(const blink::WebInputEvent& event,
- WebCursor::CursorInfo* cursor_info) override;
- virtual NPObject* GetPluginScriptableObject() override;
- virtual NPP GetPluginNPP() override;
- virtual bool GetFormValue(base::string16* value) override;
- virtual void DidFinishLoadWithReason(const GURL& url,
- NPReason reason,
- int notify_id) override;
- virtual int GetProcessId() override;
- virtual void SendJavaScriptStream(const GURL& url,
- const std::string& result,
- bool success,
- int notify_id) override;
- virtual void DidReceiveManualResponse(const GURL& url,
- const std::string& mime_type,
- const std::string& headers,
- uint32 expected_length,
- uint32 last_modified) override;
- virtual void DidReceiveManualData(const char* buffer, int length) override;
- virtual void DidFinishManualLoading() override;
- virtual void DidManualLoadFail() override;
- virtual WebPluginResourceClient* CreateResourceClient(
- unsigned long resource_id, const GURL& url, int notify_id) override;
- virtual WebPluginResourceClient* CreateSeekableResourceClient(
- unsigned long resource_id, int range_request_id) override;
- virtual void FetchURL(unsigned long resource_id,
- int notify_id,
- const GURL& url,
- const GURL& first_party_for_cookies,
- const std::string& method,
- const char* buf,
- unsigned int len,
- const GURL& referrer,
- bool notify_redirects,
- bool is_plugin_src_load,
- int origin_pid,
- int render_frame_id,
- int render_view_id) override;
+ bool Initialize(const GURL& url,
+ const std::vector<std::string>& arg_names,
+ const std::vector<std::string>& arg_values,
+ bool load_manually) override;
+ void PluginDestroyed() override;
+ void UpdateGeometry(const gfx::Rect& window_rect,
+ const gfx::Rect& clip_rect) override;
+ void Paint(SkCanvas* canvas, const gfx::Rect& rect) override;
+ void SetFocus(bool focused) override;
+ bool HandleInputEvent(const blink::WebInputEvent& event,
+ WebCursor::CursorInfo* cursor_info) override;
+ NPObject* GetPluginScriptableObject() override;
+ NPP GetPluginNPP() override;
+ bool GetFormValue(base::string16* value) override;
+ void DidFinishLoadWithReason(const GURL& url,
+ NPReason reason,
+ int notify_id) override;
+ int GetProcessId() override;
+ void SendJavaScriptStream(const GURL& url,
+ const std::string& result,
+ bool success,
+ int notify_id) override;
+ void DidReceiveManualResponse(const GURL& url,
+ const std::string& mime_type,
+ const std::string& headers,
+ uint32 expected_length,
+ uint32 last_modified) override;
+ void DidReceiveManualData(const char* buffer, int length) override;
+ void DidFinishManualLoading() override;
+ void DidManualLoadFail() override;
+ WebPluginResourceClient* CreateResourceClient(unsigned long resource_id,
+ const GURL& url,
+ int notify_id) override;
+ WebPluginResourceClient* CreateSeekableResourceClient(
+ unsigned long resource_id,
+ int range_request_id) override;
+ void FetchURL(unsigned long resource_id,
+ int notify_id,
+ const GURL& url,
+ const GURL& first_party_for_cookies,
+ const std::string& method,
+ const char* buf,
+ unsigned int len,
+ const GURL& referrer,
+ bool notify_redirects,
+ bool is_plugin_src_load,
+ int origin_pid,
+ int render_frame_id,
+ int render_view_id) override;
// End of WebPluginDelegate implementation.
gfx::PluginWindowHandle windowed_handle() const { return windowed_handle_; }
@@ -197,7 +199,7 @@ class WebPluginDelegateImpl : public WebPluginDelegate {
friend class WebPluginDelegate;
WebPluginDelegateImpl(WebPlugin* plugin, PluginInstance* instance);
- virtual ~WebPluginDelegateImpl();
+ ~WebPluginDelegateImpl() override;
// Called by Initialize() for platform-specific initialization.
// If this returns false, the plugin shouldn't be started--see Initialize().
« no previous file with comments | « content/child/npapi/plugin_url_fetcher.h ('k') | content/child/power_monitor_broadcast_source.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698