Index: content/browser/frame_host/render_frame_host_impl.h |
diff --git a/content/browser/frame_host/render_frame_host_impl.h b/content/browser/frame_host/render_frame_host_impl.h |
index c9193a3080131997b6b1f299a898d078efba9ae2..b7c357a39c3b68551b8ced4e50e1211041b61558 100644 |
--- a/content/browser/frame_host/render_frame_host_impl.h |
+++ b/content/browser/frame_host/render_frame_host_impl.h |
@@ -24,6 +24,7 @@ |
#include "content/public/browser/render_frame_host.h" |
#include "content/public/common/javascript_message_type.h" |
#include "net/http/http_response_headers.h" |
+#include "third_party/WebKit/public/platform/WebPageVisibilityState.h" |
#include "third_party/WebKit/public/web/WebTextDirection.h" |
#include "ui/accessibility/ax_node_data.h" |
#include "ui/base/page_transition_types.h" |
@@ -410,6 +411,10 @@ class CONTENT_EXPORT RenderFrameHostImpl |
// addition, its associated RenderWidgetHostView has to be focused. |
bool IsFocused(); |
+ // Returns the visibility state of the frame. The different visibility states |
+ // of a frame are define in Blink. |
jochen (gone - plz use gerrit)
2015/01/26 16:18:51
define*d*
mlamouri (slow - plz ping)
2015/01/26 17:40:43
Done.
|
+ blink::WebPageVisibilityState GetVisibilityState(); |
+ |
protected: |
friend class RenderFrameHostFactory; |