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

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

Issue 115343006: Pepper: Remove unused interface versions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix nits. Created 6 years, 11 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) 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_PROXY_VIDEO_CAPTURE_RESOURCE_H_ 5 #ifndef PPAPI_PROXY_VIDEO_CAPTURE_RESOURCE_H_
6 #define PPAPI_PROXY_VIDEO_CAPTURE_RESOURCE_H_ 6 #define PPAPI_PROXY_VIDEO_CAPTURE_RESOURCE_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "ppapi/c/dev/ppp_video_capture_dev.h" 9 #include "ppapi/c/dev/ppp_video_capture_dev.h"
10 #include "ppapi/proxy/device_enumeration_resource_helper.h" 10 #include "ppapi/proxy/device_enumeration_resource_helper.h"
(...skipping 11 matching lines...) Expand all
22 PP_Instance instance, 22 PP_Instance instance,
23 PluginDispatcher* dispatcher); 23 PluginDispatcher* dispatcher);
24 virtual ~VideoCaptureResource(); 24 virtual ~VideoCaptureResource();
25 25
26 // PluginResource override. 26 // PluginResource override.
27 virtual thunk::PPB_VideoCapture_API* AsPPB_VideoCapture_API() OVERRIDE { 27 virtual thunk::PPB_VideoCapture_API* AsPPB_VideoCapture_API() OVERRIDE {
28 return this; 28 return this;
29 } 29 }
30 30
31 // PPB_VideoCapture_API implementation. 31 // PPB_VideoCapture_API implementation.
32 virtual int32_t EnumerateDevices0_2(
33 PP_Resource* devices,
34 scoped_refptr<TrackedCallback> callback) OVERRIDE;
35 virtual int32_t EnumerateDevices( 32 virtual int32_t EnumerateDevices(
36 const PP_ArrayOutput& output, 33 const PP_ArrayOutput& output,
37 scoped_refptr<TrackedCallback> callback) OVERRIDE; 34 scoped_refptr<TrackedCallback> callback) OVERRIDE;
38 virtual int32_t MonitorDeviceChange( 35 virtual int32_t MonitorDeviceChange(
39 PP_MonitorDeviceChangeCallback callback, 36 PP_MonitorDeviceChangeCallback callback,
40 void* user_data) OVERRIDE; 37 void* user_data) OVERRIDE;
41 virtual int32_t Open(const std::string& device_id, 38 virtual int32_t Open(const std::string& device_id,
42 const PP_VideoCaptureDeviceInfo_Dev& requested_info, 39 const PP_VideoCaptureDeviceInfo_Dev& requested_info,
43 uint32_t buffer_count, 40 uint32_t buffer_count,
44 scoped_refptr<TrackedCallback> callback) OVERRIDE; 41 scoped_refptr<TrackedCallback> callback) OVERRIDE;
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 87
91 DeviceEnumerationResourceHelper enumeration_helper_; 88 DeviceEnumerationResourceHelper enumeration_helper_;
92 89
93 DISALLOW_COPY_AND_ASSIGN(VideoCaptureResource); 90 DISALLOW_COPY_AND_ASSIGN(VideoCaptureResource);
94 }; 91 };
95 92
96 } // namespace proxy 93 } // namespace proxy
97 } // namespace ppapi 94 } // namespace ppapi
98 95
99 #endif // PPAPI_PROXY_VIDEO_CAPTURE_RESOURCE_H_ 96 #endif // PPAPI_PROXY_VIDEO_CAPTURE_RESOURCE_H_
OLDNEW
« no previous file with comments | « ppapi/proxy/device_enumeration_resource_helper.cc ('k') | ppapi/proxy/video_capture_resource.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698