Changed StringArray options to regular js objects with boolean values for better readability from the js side
This commit is contained in:
parent
dbcd0a4235
commit
b2af370249
6 changed files with 139 additions and 80 deletions
|
@ -332,6 +332,7 @@ class NativeWindow : public content::WebContentsObserver,
|
|||
DISALLOW_COPY_AND_ASSIGN(NativeWindow);
|
||||
};
|
||||
|
||||
//This class provides a way to listen to frame renders and to use the rendered frames for offscreen rendering
|
||||
class RenderSubscriber : public content::RenderWidgetHostViewFrameSubscriber {
|
||||
public:
|
||||
RenderSubscriber(gfx::Size size, base::Callback<void(bool, scoped_refptr<media::VideoFrame>)> callback) : size_(size), callback_(callback) {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue