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

Side by Side Diff: ppapi/cpp/private/flash.h

Issue 11016007: Implement host side of sync EnumerateVideoCaptureDevices (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 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 | Annotate | Revision Log
« no previous file with comments | « content/renderer/pepper/pepper_flash_host.cc ('k') | ppapi/cpp/private/flash.cc » ('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_PRIVATE_FLASH_H_ 5 #ifndef PPAPI_CPP_PRIVATE_FLASH_H_
6 #define PPAPI_CPP_PRIVATE_FLASH_H_ 6 #define PPAPI_CPP_PRIVATE_FLASH_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector>
9 10
10 #include "ppapi/c/private/ppb_flash.h" 11 #include "ppapi/c/private/ppb_flash.h"
11 #include "ppapi/c/pp_stdint.h" 12 #include "ppapi/c/pp_stdint.h"
12 #include "ppapi/c/pp_time.h" 13 #include "ppapi/c/pp_time.h"
13 14
14 struct PP_Point; 15 struct PP_Point;
15 16
16 namespace pp { 17 namespace pp {
17 18
19 class DeviceRef_Dev;
18 class FontDescription_Dev; 20 class FontDescription_Dev;
19 class ImageData; 21 class ImageData;
20 class InstanceHandle; 22 class InstanceHandle;
21 class Module; 23 class Module;
22 class Point; 24 class Point;
23 class Rect; 25 class Rect;
24 class URLRequestInfo; 26 class URLRequestInfo;
25 class Var; 27 class Var;
28 class VideoCapture_Dev;
26 29
27 namespace flash { 30 namespace flash {
28 31
29 class Flash { 32 class Flash {
30 public: 33 public:
31 // Returns true if the required interface is available. 34 // Returns true if the required interface is available.
32 static bool IsAvailable(); 35 static bool IsAvailable();
33 36
34 static void SetInstanceAlwaysOnTop(const InstanceHandle& instance, 37 static void SetInstanceAlwaysOnTop(const InstanceHandle& instance,
35 bool on_top); 38 bool on_top);
(...skipping 20 matching lines...) Expand all
56 static Var GetCommandLineArgs(Module* module); 59 static Var GetCommandLineArgs(Module* module);
57 static void PreloadFontWin(const void* logfontw); 60 static void PreloadFontWin(const void* logfontw);
58 static bool IsRectTopmost(const InstanceHandle& instance, const Rect& rect); 61 static bool IsRectTopmost(const InstanceHandle& instance, const Rect& rect);
59 static void UpdateActivity(const InstanceHandle& instance); 62 static void UpdateActivity(const InstanceHandle& instance);
60 static Var GetDeviceID(const InstanceHandle& instance); 63 static Var GetDeviceID(const InstanceHandle& instance);
61 static Var GetSetting(const InstanceHandle& instance, 64 static Var GetSetting(const InstanceHandle& instance,
62 PP_FlashSetting setting); 65 PP_FlashSetting setting);
63 static bool SetCrashData(const InstanceHandle& instance, 66 static bool SetCrashData(const InstanceHandle& instance,
64 PP_FlashCrashKey key, 67 PP_FlashCrashKey key,
65 const pp::Var& value); 68 const pp::Var& value);
69 static int32_t EnumerateVideoCaptureDevices(const InstanceHandle& instance,
70 const VideoCapture_Dev& video_capture,
71 std::vector<DeviceRef_Dev>* devices_out);
66 72
67 // PPB_Flash_Print. 73 // PPB_Flash_Print.
68 static bool InvokePrinting(const InstanceHandle& instance); 74 static bool InvokePrinting(const InstanceHandle& instance);
69 }; 75 };
70 76
71 } // namespace flash 77 } // namespace flash
72 } // namespace pp 78 } // namespace pp
73 79
74 #endif // PPAPI_CPP_PRIVATE_FLASH_H_ 80 #endif // PPAPI_CPP_PRIVATE_FLASH_H_
OLDNEW
« no previous file with comments | « content/renderer/pepper/pepper_flash_host.cc ('k') | ppapi/cpp/private/flash.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698