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

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

Issue 16335018: Add NaCl proxies for Pepper Video Source and Destination resources. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Patch ready for review. Created 7 years, 6 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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_SOURCE_RESOURCE_H_ 5 #ifndef PPAPI_PROXY_VIDEO_SOURCE_RESOURCE_H_
6 #define PPAPI_PROXY_VIDEO_SOURCE_RESOURCE_H_ 6 #define PPAPI_PROXY_VIDEO_SOURCE_RESOURCE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "ppapi/c/pp_time.h" 10 #include "ppapi/c/pp_time.h"
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 virtual void Close() OVERRIDE; 45 virtual void Close() OVERRIDE;
46 46
47 private: 47 private:
48 void OnPluginMsgOpenComplete( 48 void OnPluginMsgOpenComplete(
49 const ResourceMessageReplyParams& reply_params); 49 const ResourceMessageReplyParams& reply_params);
50 void OnPluginMsgGetFrameComplete( 50 void OnPluginMsgGetFrameComplete(
51 PP_VideoFrame_Private* frame, 51 PP_VideoFrame_Private* frame,
52 const ResourceMessageReplyParams& reply_params, 52 const ResourceMessageReplyParams& reply_params,
53 const HostResource& image_data, 53 const HostResource& image_data,
54 const PP_ImageDataDesc& image_desc_data, 54 const PP_ImageDataDesc& image_desc_data,
55 int fd,
56 PP_TimeTicks timestamp); 55 PP_TimeTicks timestamp);
57 56
58 scoped_refptr<TrackedCallback> open_callback_; 57 scoped_refptr<TrackedCallback> open_callback_;
59 scoped_refptr<TrackedCallback> get_frame_callback_; 58 scoped_refptr<TrackedCallback> get_frame_callback_;
60 bool is_open_; 59 bool is_open_;
61 60
62 DISALLOW_COPY_AND_ASSIGN(VideoSourceResource); 61 DISALLOW_COPY_AND_ASSIGN(VideoSourceResource);
63 }; 62 };
64 63
65 } // namespace proxy 64 } // namespace proxy
66 } // namespace ppapi 65 } // namespace ppapi
67 66
68 #endif // PPAPI_PROXY_VIDEO_SOURCE_RESOURCE_H_ 67 #endif // PPAPI_PROXY_VIDEO_SOURCE_RESOURCE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698