Chromium Code Reviews| 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..c2f2e251767afe31cfbf925958e26629161b92f3 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 WebView. |
|
dcheng
2016/05/24 20:38:24
Frame?
lfg
2016/05/24 23:33:50
Done.
|
| + virtual blink::WebPageVisibilityState GetVisibilityState() const = 0; |
| + |
| protected: |
| ~RenderFrame() override {} |