| Index: content/public/renderer/render_frame.h
|
| diff --git a/content/public/renderer/render_frame.h b/content/public/renderer/render_frame.h
|
| index 47b958db2ac001c1d0ebfa38c9b6f72ae9002c88..59bec7d2ecdd9842e8b7b1b02984d196666fbd23 100644
|
| --- a/content/public/renderer/render_frame.h
|
| +++ b/content/public/renderer/render_frame.h
|
| @@ -82,6 +82,11 @@ class CONTENT_EXPORT RenderFrame : public IPC::Listener,
|
| CONTENT_STATUS_NUM_ITEMS
|
| };
|
|
|
| + enum RecordPeripheralDecision {
|
| + DONT_RECORD_DECISION = 0,
|
| + RECORD_DECISION = 1
|
| + };
|
| +
|
| // Returns the RenderFrame given a WebFrame.
|
| static RenderFrame* FromWebFrame(blink::WebFrame* web_frame);
|
|
|
| @@ -177,7 +182,8 @@ class CONTENT_EXPORT RenderFrame : public IPC::Listener,
|
| virtual PeripheralContentStatus GetPeripheralContentStatus(
|
| const url::Origin& main_frame_origin,
|
| const url::Origin& content_origin,
|
| - const gfx::Size& unobscured_size) const = 0;
|
| + const gfx::Size& unobscured_size,
|
| + RecordPeripheralDecision record_decision) const = 0;
|
|
|
| // Whitelists a |content_origin| so its content will never be throttled in
|
| // this RenderFrame. Whitelist is cleared by top level navigation.
|
|
|