Index: third_party/WebKit/public/web/WebFrameClient.h |
diff --git a/third_party/WebKit/public/web/WebFrameClient.h b/third_party/WebKit/public/web/WebFrameClient.h |
index 497364f2c4a8d766800e13819bcbab489ed03925..73a068dbb5fe48c079f492c9c40f5357f98f55d9 100644 |
--- a/third_party/WebKit/public/web/WebFrameClient.h |
+++ b/third_party/WebKit/public/web/WebFrameClient.h |
@@ -51,6 +51,7 @@ |
#include "public/platform/WebFileSystem.h" |
#include "public/platform/WebFileSystemType.h" |
#include "public/platform/WebLoadingBehaviorFlag.h" |
+#include "public/platform/WebPageVisibilityState.h" |
#include "public/platform/WebSecurityOrigin.h" |
#include "public/platform/WebSetSinkIdCallbacks.h" |
#include "public/platform/WebStorageQuotaCallbacks.h" |
@@ -710,6 +711,14 @@ public: |
// Mojo ---------------------------------------------------------------- |
virtual ServiceRegistry* serviceRegistry() { return nullptr; } |
+ // Visibility ---------------------------------------------------------- |
+ |
+ // Returns the current visibility of the WebView. |
dcheng
2016/06/02 22:16:07
WebView?
lfg
2016/06/03 18:34:58
Oops. I fixed that in render_frame.h but forgot to
|
+ virtual WebPageVisibilityState visibilityState() const |
+ { |
+ return WebPageVisibilityStateVisible; |
+ } |
+ |
protected: |
virtual ~WebFrameClient() { } |
}; |