| Index: content/public/renderer/render_frame.h
|
| diff --git a/content/public/renderer/render_frame.h b/content/public/renderer/render_frame.h
|
| index 06fb03655f2569bb01379bc94a3d634897ca22ba..8565f094b6efb2b0b8899db15a035204655b45d8 100644
|
| --- a/content/public/renderer/render_frame.h
|
| +++ b/content/public/renderer/render_frame.h
|
| @@ -15,6 +15,7 @@
|
| #include "content/public/common/console_message_level.h"
|
| #include "ipc/ipc_listener.h"
|
| #include "ipc/ipc_sender.h"
|
| +#include "third_party/WebKit/public/platform/WebPageVisibilityState.h"
|
| #include "third_party/WebKit/public/web/WebNavigationPolicy.h"
|
|
|
| class GURL;
|
| @@ -203,6 +204,9 @@ class CONTENT_EXPORT RenderFrame : public IPC::Listener,
|
| // Whether or not this frame is currently pasting.
|
| virtual bool IsPasting() const = 0;
|
|
|
| + // Returns the current visibility of the frame.
|
| + virtual blink::WebPageVisibilityState GetVisibilityState() const = 0;
|
| +
|
| protected:
|
| ~RenderFrame() override {}
|
|
|
|
|