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

Side by Side Diff: ppapi/cpp/dev/video_decoder_client_dev.h

Issue 2539033005: ppapi: Cleanup class/struct forward declarations (Closed)
Patch Set: Add missing forward declaration in content/renderer/pepper Created 4 years 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/cpp/dev/file_chooser_dev.h ('k') | ppapi/cpp/instance.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 (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 PPAPI_CPP_DEV_VIDEO_DECODER_CLIENT_DEV_H_ 5 #ifndef PPAPI_CPP_DEV_VIDEO_DECODER_CLIENT_DEV_H_
6 #define PPAPI_CPP_DEV_VIDEO_DECODER_CLIENT_DEV_H_ 6 #define PPAPI_CPP_DEV_VIDEO_DECODER_CLIENT_DEV_H_
7 7
8 #include "ppapi/c/pp_stdint.h" 8 #include "ppapi/c/pp_stdint.h"
9 #include "ppapi/c/dev/pp_video_dev.h" 9 #include "ppapi/c/dev/pp_video_dev.h"
10 #include "ppapi/cpp/instance_handle.h" 10 #include "ppapi/cpp/instance_handle.h"
11 11
12 namespace pp { 12 namespace pp {
13 13
14 class Instance; 14 class Instance;
15 class VideoDecoder_Dev;
16 15
17 // This class provides a C++ interface for callbacks related to video decoding. 16 // This class provides a C++ interface for callbacks related to video decoding.
18 // It is the C++ counterpart to PPP_VideoDecoder_Dev. 17 // It is the C++ counterpart to PPP_VideoDecoder_Dev.
19 // You would normally use multiple inheritance to derive from this class in your 18 // You would normally use multiple inheritance to derive from this class in your
20 // instance. 19 // instance.
21 class VideoDecoderClient_Dev { 20 class VideoDecoderClient_Dev {
22 public: 21 public:
23 VideoDecoderClient_Dev(Instance* instance); 22 VideoDecoderClient_Dev(Instance* instance);
24 virtual ~VideoDecoderClient_Dev(); 23 virtual ~VideoDecoderClient_Dev();
25 24
(...skipping 16 matching lines...) Expand all
42 virtual void NotifyError(PP_Resource decoder, 41 virtual void NotifyError(PP_Resource decoder,
43 PP_VideoDecodeError_Dev error) = 0; 42 PP_VideoDecodeError_Dev error) = 0;
44 43
45 private: 44 private:
46 InstanceHandle associated_instance_; 45 InstanceHandle associated_instance_;
47 }; 46 };
48 47
49 } // namespace pp 48 } // namespace pp
50 49
51 #endif // PPAPI_CPP_DEV_VIDEO_DECODER_CLIENT_DEV_H_ 50 #endif // PPAPI_CPP_DEV_VIDEO_DECODER_CLIENT_DEV_H_
OLDNEW
« no previous file with comments | « ppapi/cpp/dev/file_chooser_dev.h ('k') | ppapi/cpp/instance.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698