Changed StringArray options to regular js objects with boolean values for better readability from the js side

This commit is contained in:
Heilig Benedek 2015-09-10 02:10:47 +02:00
parent dbcd0a4235
commit b2af370249
6 changed files with 139 additions and 80 deletions

View file

@ -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) {}