Re-add dirtyOnly to FrameSubscriber and document API change
This commit is contained in:
parent
b9413fe59d
commit
60ba2013c4
4 changed files with 26 additions and 15 deletions
|
@ -26,7 +26,8 @@ class FrameSubscriber : public content::WebContentsObserver {
|
|||
|
||||
FrameSubscriber(v8::Isolate* isolate,
|
||||
content::WebContents* web_contents,
|
||||
const FrameCaptureCallback& callback);
|
||||
const FrameCaptureCallback& callback,
|
||||
bool only_dirty);
|
||||
~FrameSubscriber();
|
||||
|
||||
private:
|
||||
|
@ -36,6 +37,7 @@ class FrameSubscriber : public content::WebContentsObserver {
|
|||
|
||||
v8::Isolate* isolate_;
|
||||
FrameCaptureCallback callback_;
|
||||
bool only_dirty_;
|
||||
|
||||
DISALLOW_COPY_AND_ASSIGN(FrameSubscriber);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue