| 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 f191672c9d9c21b3a98b07dc9bbd5e967c8b3dec..abe97feb53b2f8dc3af2e9f2e703386ca6a6d08d 100644
|
| --- a/content/public/browser/web_contents_delegate.h
|
| +++ b/content/public/browser/web_contents_delegate.h
|
| @@ -404,6 +404,14 @@ class CONTENT_EXPORT WebContentsDelegate {
|
| int version,
|
| const std::vector<gfx::RectF>& rects,
|
| const gfx::RectF& active_rect) {}
|
| +
|
| + // Requests the tab to show media controls to manipulate the active media
|
| + // session.
|
| + virtual void ShowMediaControls(WebContents* web_contents) {}
|
| +
|
| + // Requests the tab to hide media controls as the media session became
|
| + // inactive.
|
| + virtual void HideMediaControls(WebContents* web_contents) {}
|
| #endif
|
|
|
| // Invoked when the preferred size of the contents has been changed.
|
|
|