| Index: content/public/browser/content_browser_client.h
|
| diff --git a/content/public/browser/content_browser_client.h b/content/public/browser/content_browser_client.h
|
| index e5f40c49df315be90985403a2285daf5c5517490..c2f5343954bf648ff7002b2e0c7c4683f93f71c8 100644
|
| --- a/content/public/browser/content_browser_client.h
|
| +++ b/content/public/browser/content_browser_client.h
|
| @@ -28,6 +28,7 @@
|
| #include "net/url_request/url_request_interceptor.h"
|
| #include "net/url_request/url_request_job_factory.h"
|
| #include "storage/browser/fileapi/file_system_context.h"
|
| +#include "third_party/WebKit/public/platform/WebPageVisibilityState.h"
|
| #include "ui/base/window_open_disposition.h"
|
|
|
| #if defined(OS_POSIX) && !defined(OS_MACOSX)
|
| @@ -588,6 +589,12 @@ class CONTENT_EXPORT ContentBrowserClient {
|
| // RenderProcessHost.
|
| virtual void OverrideRenderProcessMojoServices(ServiceRegistry* registry) {}
|
|
|
| + // Allows to override the visibility state of a RenderFrameHost.
|
| + // |visibility_state| should not be null. It will only be set if needed.
|
| + virtual void OverridePageVisibilityState(
|
| + RenderFrameHost* render_frame_host,
|
| + blink::WebPageVisibilityState* visibility_state) {}
|
| +
|
| #if defined(OS_POSIX) && !defined(OS_MACOSX)
|
| // Populates |mappings| with all files that need to be mapped before launching
|
| // a child process.
|
|
|