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

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

Issue 11274036: Refactor video capture to new design (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 1 month 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
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_FLASH_RESOURCE_H_ 5 #ifndef PPAPI_PROXY_FLASH_RESOURCE_H_
6 #define PPAPI_PROXY_FLASH_RESOURCE_H_ 6 #define PPAPI_PROXY_FLASH_RESOURCE_H_
7 7
8 #include "ppapi/proxy/connection.h" 8 #include "ppapi/proxy/connection.h"
9 #include "ppapi/proxy/plugin_resource.h" 9 #include "ppapi/proxy/plugin_resource.h"
10 #include "ppapi/proxy/ppapi_proxy_export.h" 10 #include "ppapi/proxy/ppapi_proxy_export.h"
11 #include "ppapi/thunk/ppb_flash_functions_api.h" 11 #include "ppapi/thunk/ppb_flash_functions_api.h"
12 12
13 struct PP_ArrayOutput; 13 struct PP_ArrayOutput;
yzshen1 2012/11/14 06:54:16 you don't need this now.
victorhsieh 2012/11/14 08:22:27 Done.
14 14
15 namespace ppapi { 15 namespace ppapi {
16 namespace proxy { 16 namespace proxy {
17 17
18 class PPAPI_PROXY_EXPORT FlashResource 18 class PPAPI_PROXY_EXPORT FlashResource
19 : public PluginResource, 19 : public PluginResource,
20 public NON_EXPORTED_BASE(thunk::PPB_Flash_Functions_API) { 20 public NON_EXPORTED_BASE(thunk::PPB_Flash_Functions_API) {
21 public: 21 public:
22 FlashResource(Connection connection, PP_Instance instance); 22 FlashResource(Connection connection, PP_Instance instance);
23 virtual ~FlashResource(); 23 virtual ~FlashResource();
24 24
25 // Resource overrides. 25 // Resource overrides.
26 virtual thunk::PPB_Flash_Functions_API* AsPPB_Flash_Functions_API() OVERRIDE; 26 virtual thunk::PPB_Flash_Functions_API* AsPPB_Flash_Functions_API() OVERRIDE;
27 27
28 // PPB_Flash_Functions_API.
29 virtual int32_t EnumerateVideoCaptureDevices(
30 PP_Instance instance,
31 PP_Resource video_capture,
32 const PP_ArrayOutput& devices) OVERRIDE;
33
34 private: 28 private:
35 DISALLOW_COPY_AND_ASSIGN(FlashResource); 29 DISALLOW_COPY_AND_ASSIGN(FlashResource);
36 }; 30 };
37 31
38 } // namespace proxy 32 } // namespace proxy
39 } // namespace ppapi 33 } // namespace ppapi
40 34
41 #endif // PPAPI_PROXY_FLASH_RESOURCE_H_ 35 #endif // PPAPI_PROXY_FLASH_RESOURCE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698