Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1976)

Unified Diff: content/public/browser/web_contents_delegate.h

Issue 1159113006: [Android] A prototype of the interactive media notification. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed tests and Min's nits Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/public/browser/web_contents_delegate.h
diff --git a/content/public/browser/web_contents_delegate.h b/content/public/browser/web_contents_delegate.h
index 34d39f779cd801cc983f6d449a9075a16d5746aa..be239bab6a5c912b27dd394045a0ea18c2c7b58d 100644
--- a/content/public/browser/web_contents_delegate.h
+++ b/content/public/browser/web_contents_delegate.h
@@ -405,6 +405,9 @@ class CONTENT_EXPORT WebContentsDelegate {
int version,
const std::vector<gfx::RectF>& rects,
const gfx::RectF& active_rect) {}
+
+ // Notifies the tab that the state relevant to the media controls has changed.
+ virtual void UpdateMediaControls(WebContents* web_contents) {}
Ted C 2015/06/26 00:43:55 Why does this exist here? WebContentsObserver alr
whywhat 2015/06/26 19:29:32 So these methods are only used for Chromecast as f
Ted C 2015/06/30 04:56:13 The problem I have with it being in both WebConten
#endif
// Invoked when the preferred size of the contents has been changed.
« chrome/android/shell/java/AndroidManifest.xml.jinja2 ('K') | « content/public/browser/web_contents.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698