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

Side by Side 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 unified diff | Download patch
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_BROWSER_WINDOW_H_ 5 #ifndef CHROME_BROWSER_UI_BROWSER_WINDOW_H_
6 #define CHROME_BROWSER_UI_BROWSER_WINDOW_H_ 6 #define CHROME_BROWSER_UI_BROWSER_WINDOW_H_
7 7
8 #include "base/callback_forward.h" 8 #include "base/callback_forward.h"
9 #include "chrome/browser/lifetime/browser_close_manager.h" 9 #include "chrome/browser/lifetime/browser_close_manager.h"
10 #include "chrome/browser/signin/chrome_signin_helper.h" 10 #include "chrome/browser/signin/chrome_signin_helper.h"
11 #include "chrome/browser/ssl/security_state_model.h" 11 #include "chrome/browser/ssl/security_state_model.h"
12 #include "chrome/browser/translate/chrome_translate_client.h" 12 #include "chrome/browser/translate/chrome_translate_client.h"
13 #include "chrome/browser/ui/bookmarks/bookmark_bar.h" 13 #include "chrome/browser/ui/bookmarks/bookmark_bar.h"
14 #include "chrome/browser/ui/browser.h" 14 #include "chrome/browser/ui/browser.h"
15 #include "chrome/browser/ui/exclusive_access/exclusive_access_bubble_type.h" 15 #include "chrome/browser/ui/exclusive_access/exclusive_access_bubble_type.h"
16 #include "chrome/browser/ui/host_desktop.h" 16 #include "chrome/browser/ui/host_desktop.h"
17 #include "chrome/browser/ui/sync/one_click_signin_sync_starter.h" 17 #include "chrome/browser/ui/sync/one_click_signin_sync_starter.h"
18 #include "chrome/browser/ui/tabs/tab_utils.h"
18 #include "components/content_settings/core/common/content_settings_types.h" 19 #include "components/content_settings/core/common/content_settings_types.h"
19 #include "components/signin/core/browser/signin_header_helper.h" 20 #include "components/signin/core/browser/signin_header_helper.h"
20 #include "components/translate/core/common/translate_errors.h" 21 #include "components/translate/core/common/translate_errors.h"
21 #include "ui/base/base_window.h" 22 #include "ui/base/base_window.h"
22 #include "ui/base/window_open_disposition.h" 23 #include "ui/base/window_open_disposition.h"
23 #include "ui/gfx/native_widget_types.h" 24 #include "ui/gfx/native_widget_types.h"
24 25
25 class Browser; 26 class Browser;
26 class DownloadShelf; 27 class DownloadShelf;
27 class ExclusiveAccessContext; 28 class ExclusiveAccessContext;
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 ////////////////////////////////////////////////////////////////////////////// 87 //////////////////////////////////////////////////////////////////////////////
87 // Browser specific methods: 88 // Browser specific methods:
88 89
89 // Return the status bubble associated with the frame 90 // Return the status bubble associated with the frame
90 virtual StatusBubble* GetStatusBubble() = 0; 91 virtual StatusBubble* GetStatusBubble() = 0;
91 92
92 // Inform the frame that the selected tab favicon or title has changed. Some 93 // Inform the frame that the selected tab favicon or title has changed. Some
93 // frames may need to refresh their title bar. 94 // frames may need to refresh their title bar.
94 virtual void UpdateTitleBar() = 0; 95 virtual void UpdateTitleBar() = 0;
95 96
97 virtual void UpdateMediaState(TabMediaState media_state,
Robert Sesek 2015/10/20 13:39:47 This needs a comment describing what it does.
98 content::WebContents* contents) = 0;
Robert Sesek 2015/10/20 13:39:47 This is pure virtual, so what about the other plat
99
96 // Invoked when the state of the bookmark bar changes. This is only invoked if 100 // Invoked when the state of the bookmark bar changes. This is only invoked if
97 // the state changes for the current tab, it is not sent when switching tabs. 101 // the state changes for the current tab, it is not sent when switching tabs.
98 virtual void BookmarkBarStateChanged( 102 virtual void BookmarkBarStateChanged(
99 BookmarkBar::AnimateChangeType change_type) = 0; 103 BookmarkBar::AnimateChangeType change_type) = 0;
100 104
101 // Inform the frame that the dev tools window for the selected tab has 105 // Inform the frame that the dev tools window for the selected tab has
102 // changed. 106 // changed.
103 virtual void UpdateDevTools() = 0; 107 virtual void UpdateDevTools() = 0;
104 108
105 // Update any loading animations running in the window. |should_animate| is 109 // Update any loading animations running in the window. |should_animate| is
(...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after
391 // Returns object implementing ExclusiveAccessContext interface. 395 // Returns object implementing ExclusiveAccessContext interface.
392 virtual ExclusiveAccessContext* GetExclusiveAccessContext() = 0; 396 virtual ExclusiveAccessContext* GetExclusiveAccessContext() = 0;
393 397
394 protected: 398 protected:
395 friend class BrowserCloseManager; 399 friend class BrowserCloseManager;
396 friend class BrowserView; 400 friend class BrowserView;
397 virtual void DestroyBrowser() = 0; 401 virtual void DestroyBrowser() = 0;
398 }; 402 };
399 403
400 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_ 404 #endif // CHROME_BROWSER_UI_BROWSER_WINDOW_H_
OLDNEW
« 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