| 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 aa09796f670264040a0f85fc2c41d9c337707972..dc97487f72898c28ec76c4257ee79df231806fce 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"
|
| @@ -704,6 +705,14 @@ public:
|
| // Mojo ----------------------------------------------------------------
|
| virtual ServiceRegistry* serviceRegistry() { return nullptr; }
|
|
|
| + // Visibility ----------------------------------------------------------
|
| +
|
| + // Returns the current visibility of the WebFrame.
|
| + virtual WebPageVisibilityState visibilityState() const
|
| + {
|
| + return WebPageVisibilityStateVisible;
|
| + }
|
| +
|
| protected:
|
| virtual ~WebFrameClient() { }
|
| };
|
|
|