Index: content/browser/web_contents/web_contents_impl.h |
diff --git a/content/browser/web_contents/web_contents_impl.h b/content/browser/web_contents/web_contents_impl.h |
index a88e34b8ef5da81a1023f346a20218e1bc04520b..5e5a641d725fb855cdd6e9d9ee6bb82ca383fb16 100644 |
--- a/content/browser/web_contents/web_contents_impl.h |
+++ b/content/browser/web_contents/web_contents_impl.h |
@@ -572,6 +572,7 @@ class CONTENT_EXPORT WebContentsImpl |
bool IsOverridingUserAgent() override; |
bool IsJavaScriptDialogShowing() const override; |
bool HideDownloadUI() const override; |
+ bool HasPersistentVideo() const override; |
// NavigatorDelegate --------------------------------------------------------- |
@@ -791,6 +792,9 @@ class CONTENT_EXPORT WebContentsImpl |
void IncrementBluetoothConnectedDeviceCount(); |
void DecrementBluetoothConnectedDeviceCount(); |
+ // Called when the WebContents gains or loses a persistent video. |
+ void SetHasPersistentVideo(bool value); |
+ |
#if defined(OS_ANDROID) |
// Called by FindRequestManager when all of the find match rects are in. |
void NotifyFindMatchRectsReply(int version, |
@@ -1172,6 +1176,10 @@ class CONTENT_EXPORT WebContentsImpl |
// certificate via --allow-insecure-localhost. |
void ShowInsecureLocalhostWarningIfNeeded(); |
+ // Notify this WebContents that the preferences have changed. This will send |
+ // an IPC to all the renderer process associated with this WebContents. |
+ void NotifyPreferencesChanged(); |
+ |
// Data for core operation --------------------------------------------------- |
// Delegate for notifying our owner about stuff. Not owned by us. |
@@ -1498,6 +1506,8 @@ class CONTENT_EXPORT WebContentsImpl |
int currently_playing_video_count_ = 0; |
+ bool has_persistent_video_ = false; |
+ |
base::WeakPtrFactory<WebContentsImpl> loading_weak_factory_; |
base::WeakPtrFactory<WebContentsImpl> weak_factory_; |