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

Unified Diff: remoting/client/plugin/pepper_view.h

Issue 667123002: Standardize usage of virtual/override/final in remoting/ (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 | « remoting/client/plugin/pepper_port_allocator.cc ('k') | remoting/client/software_video_renderer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/plugin/pepper_view.h
diff --git a/remoting/client/plugin/pepper_view.h b/remoting/client/plugin/pepper_view.h
index 37f3a892dcd898732093383c734d655c40d0cae2..388bd9abbd97060c0cca3af946e8bf024092b90f 100644
--- a/remoting/client/plugin/pepper_view.h
+++ b/remoting/client/plugin/pepper_view.h
@@ -38,22 +38,22 @@ class PepperView : public FrameConsumer {
// Constructs a PepperView for the |instance|. The |instance| and |context|
// must outlive this class.
PepperView(ChromotingInstance* instance, ClientContext* context);
- virtual ~PepperView();
+ ~PepperView() override;
// Allocates buffers and passes them to the FrameProducer to render into until
// the maximum number of buffers are in-flight.
void Initialize(FrameProducer* producer);
// FrameConsumer implementation.
- virtual void ApplyBuffer(const webrtc::DesktopSize& view_size,
- const webrtc::DesktopRect& clip_area,
- webrtc::DesktopFrame* buffer,
- const webrtc::DesktopRegion& region,
- const webrtc::DesktopRegion& shape) override;
- virtual void ReturnBuffer(webrtc::DesktopFrame* buffer) override;
- virtual void SetSourceSize(const webrtc::DesktopSize& source_size,
- const webrtc::DesktopVector& dpi) override;
- virtual PixelFormat GetPixelFormat() override;
+ void ApplyBuffer(const webrtc::DesktopSize& view_size,
+ const webrtc::DesktopRect& clip_area,
+ webrtc::DesktopFrame* buffer,
+ const webrtc::DesktopRegion& region,
+ const webrtc::DesktopRegion& shape) override;
+ void ReturnBuffer(webrtc::DesktopFrame* buffer) override;
+ void SetSourceSize(const webrtc::DesktopSize& source_size,
+ const webrtc::DesktopVector& dpi) override;
+ PixelFormat GetPixelFormat() override;
// Updates the PepperView's size & clipping area, taking into account the
// DIP-to-device scale factor.
« no previous file with comments | « remoting/client/plugin/pepper_port_allocator.cc ('k') | remoting/client/software_video_renderer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698