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

Side by Side Diff: chrome/browser/ui/views/tabs/tab_strip.h

Issue 591963002: Tab audio mute control (views UI), behind a switch (off by default). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase + add about:flags experiment Created 6 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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_VIEWS_TABS_TAB_STRIP_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_TABS_TAB_STRIP_H_
6 #define CHROME_BROWSER_UI_VIEWS_TABS_TAB_STRIP_H_ 6 #define CHROME_BROWSER_UI_VIEWS_TABS_TAB_STRIP_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 void FileSupported(const GURL& url, bool supported); 206 void FileSupported(const GURL& url, bool supported);
207 207
208 // TabController overrides: 208 // TabController overrides:
209 virtual const ui::ListSelectionModel& GetSelectionModel() OVERRIDE; 209 virtual const ui::ListSelectionModel& GetSelectionModel() OVERRIDE;
210 virtual bool SupportsMultipleSelection() OVERRIDE; 210 virtual bool SupportsMultipleSelection() OVERRIDE;
211 virtual void SelectTab(Tab* tab) OVERRIDE; 211 virtual void SelectTab(Tab* tab) OVERRIDE;
212 virtual void ExtendSelectionTo(Tab* tab) OVERRIDE; 212 virtual void ExtendSelectionTo(Tab* tab) OVERRIDE;
213 virtual void ToggleSelected(Tab* tab) OVERRIDE; 213 virtual void ToggleSelected(Tab* tab) OVERRIDE;
214 virtual void AddSelectionFromAnchorTo(Tab* tab) OVERRIDE; 214 virtual void AddSelectionFromAnchorTo(Tab* tab) OVERRIDE;
215 virtual void CloseTab(Tab* tab, CloseTabSource source) OVERRIDE; 215 virtual void CloseTab(Tab* tab, CloseTabSource source) OVERRIDE;
216 virtual void ToggleTabAudioMute(Tab* tab) OVERRIDE;
216 virtual void ShowContextMenuForTab(Tab* tab, 217 virtual void ShowContextMenuForTab(Tab* tab,
217 const gfx::Point& p, 218 const gfx::Point& p,
218 ui::MenuSourceType source_type) OVERRIDE; 219 ui::MenuSourceType source_type) OVERRIDE;
219 virtual bool IsActiveTab(const Tab* tab) const OVERRIDE; 220 virtual bool IsActiveTab(const Tab* tab) const OVERRIDE;
220 virtual bool IsTabSelected(const Tab* tab) const OVERRIDE; 221 virtual bool IsTabSelected(const Tab* tab) const OVERRIDE;
221 virtual bool IsTabPinned(const Tab* tab) const OVERRIDE; 222 virtual bool IsTabPinned(const Tab* tab) const OVERRIDE;
222 virtual void MaybeStartDrag( 223 virtual void MaybeStartDrag(
223 Tab* tab, 224 Tab* tab,
224 const ui::LocatedEvent& event, 225 const ui::LocatedEvent& event,
225 const ui::ListSelectionModel& original_selection) OVERRIDE; 226 const ui::ListSelectionModel& original_selection) OVERRIDE;
(...skipping 452 matching lines...) Expand 10 before | Expand all | Expand 10 after
678 bool immersive_style_; 679 bool immersive_style_;
679 680
680 // Our observers. 681 // Our observers.
681 typedef ObserverList<TabStripObserver> TabStripObservers; 682 typedef ObserverList<TabStripObserver> TabStripObservers;
682 TabStripObservers observers_; 683 TabStripObservers observers_;
683 684
684 DISALLOW_COPY_AND_ASSIGN(TabStrip); 685 DISALLOW_COPY_AND_ASSIGN(TabStrip);
685 }; 686 };
686 687
687 #endif // CHROME_BROWSER_UI_VIEWS_TABS_TAB_STRIP_H_ 688 #endif // CHROME_BROWSER_UI_VIEWS_TABS_TAB_STRIP_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/tabs/tab_controller.h ('k') | chrome/browser/ui/views/tabs/tab_strip.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698