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

Unified Diff: chrome/browser/ui/browser_window.h

Issue 1412083002: Indicate in the Window menu which Chrome window has an active sound playing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: To show which Chromium window has an active/muted sound playing Created 5 years, 2 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: chrome/browser/ui/browser_window.h
diff --git a/chrome/browser/ui/browser_window.h b/chrome/browser/ui/browser_window.h
index b377723a4d64556da41929752ca1cd52cc59ab60..63a072a8323ed14eed0603dcb0106f53cd54e95c 100644
--- a/chrome/browser/ui/browser_window.h
+++ b/chrome/browser/ui/browser_window.h
@@ -15,6 +15,7 @@
#include "chrome/browser/ui/exclusive_access/exclusive_access_bubble_type.h"
#include "chrome/browser/ui/host_desktop.h"
#include "chrome/browser/ui/sync/one_click_signin_sync_starter.h"
+#include "chrome/browser/ui/tabs/tab_utils.h"
#include "components/content_settings/core/common/content_settings_types.h"
#include "components/signin/core/browser/signin_header_helper.h"
#include "components/translate/core/common/translate_errors.h"
@@ -93,6 +94,9 @@ class BrowserWindow : public ui::BaseWindow {
// frames may need to refresh their title bar.
virtual void UpdateTitleBar() = 0;
+ virtual void UpdateMediaState(TabMediaState media_state,
Robert Sesek 2015/10/20 13:39:47 This needs a comment describing what it does.
+ content::WebContents* contents) = 0;
Robert Sesek 2015/10/20 13:39:47 This is pure virtual, so what about the other plat
+
// Invoked when the state of the bookmark bar changes. This is only invoked if
// the state changes for the current tab, it is not sent when switching tabs.
virtual void BookmarkBarStateChanged(
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/browser_window_cocoa.h » ('j') | chrome/browser/ui/cocoa/browser_window_cocoa.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698