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

Side by Side Diff: ppapi/proxy/video_frame_resource.h

Issue 630883002: replace OVERRIDE and FINAL with override and final in ppapi/ (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 unified diff | Download patch
« no previous file with comments | « ppapi/proxy/video_destination_resource.h ('k') | ppapi/proxy/video_source_resource.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 PPAPI_PROXY_VIDEO_FRAME_RESOURCE_H_ 5 #ifndef PPAPI_PROXY_VIDEO_FRAME_RESOURCE_H_
6 #define PPAPI_PROXY_VIDEO_FRAME_RESOURCE_H_ 6 #define PPAPI_PROXY_VIDEO_FRAME_RESOURCE_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "ppapi/proxy/ppapi_proxy_export.h" 10 #include "ppapi/proxy/ppapi_proxy_export.h"
11 #include "ppapi/shared_impl/media_stream_buffer.h" 11 #include "ppapi/shared_impl/media_stream_buffer.h"
12 #include "ppapi/shared_impl/resource.h" 12 #include "ppapi/shared_impl/resource.h"
13 #include "ppapi/thunk/ppb_video_frame_api.h" 13 #include "ppapi/thunk/ppb_video_frame_api.h"
14 14
15 namespace ppapi { 15 namespace ppapi {
16 namespace proxy { 16 namespace proxy {
17 17
18 class PPAPI_PROXY_EXPORT VideoFrameResource : public Resource, 18 class PPAPI_PROXY_EXPORT VideoFrameResource : public Resource,
19 public thunk::PPB_VideoFrame_API { 19 public thunk::PPB_VideoFrame_API {
20 public: 20 public:
21 VideoFrameResource(PP_Instance instance, 21 VideoFrameResource(PP_Instance instance,
22 int32_t index, 22 int32_t index,
23 MediaStreamBuffer* buffer); 23 MediaStreamBuffer* buffer);
24 24
25 virtual ~VideoFrameResource(); 25 virtual ~VideoFrameResource();
26 26
27 // PluginResource overrides: 27 // PluginResource overrides:
28 virtual thunk::PPB_VideoFrame_API* AsPPB_VideoFrame_API() OVERRIDE; 28 virtual thunk::PPB_VideoFrame_API* AsPPB_VideoFrame_API() override;
29 29
30 // PPB_VideoFrame_API overrides: 30 // PPB_VideoFrame_API overrides:
31 virtual PP_TimeDelta GetTimestamp() OVERRIDE; 31 virtual PP_TimeDelta GetTimestamp() override;
32 virtual void SetTimestamp(PP_TimeDelta timestamp) OVERRIDE; 32 virtual void SetTimestamp(PP_TimeDelta timestamp) override;
33 virtual PP_VideoFrame_Format GetFormat() OVERRIDE; 33 virtual PP_VideoFrame_Format GetFormat() override;
34 virtual PP_Bool GetSize(PP_Size* size) OVERRIDE; 34 virtual PP_Bool GetSize(PP_Size* size) override;
35 virtual void* GetDataBuffer() OVERRIDE; 35 virtual void* GetDataBuffer() override;
36 virtual uint32_t GetDataBufferSize() OVERRIDE; 36 virtual uint32_t GetDataBufferSize() override;
37 virtual MediaStreamBuffer* GetBuffer() OVERRIDE; 37 virtual MediaStreamBuffer* GetBuffer() override;
38 virtual int32_t GetBufferIndex() OVERRIDE; 38 virtual int32_t GetBufferIndex() override;
39 virtual void Invalidate() OVERRIDE; 39 virtual void Invalidate() override;
40 40
41 // Frame index 41 // Frame index
42 int32_t index_; 42 int32_t index_;
43 43
44 MediaStreamBuffer* buffer_; 44 MediaStreamBuffer* buffer_;
45 45
46 DISALLOW_COPY_AND_ASSIGN(VideoFrameResource); 46 DISALLOW_COPY_AND_ASSIGN(VideoFrameResource);
47 }; 47 };
48 48
49 } // namespace proxy 49 } // namespace proxy
50 } // namespace ppapi 50 } // namespace ppapi
51 51
52 #endif // PPAPI_PROXY_VIDEO_FRAME_RESOURCE_H_ 52 #endif // PPAPI_PROXY_VIDEO_FRAME_RESOURCE_H_
OLDNEW
« no previous file with comments | « ppapi/proxy/video_destination_resource.h ('k') | ppapi/proxy/video_source_resource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698