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

Unified Diff: ash/system/audio/audio_detailed_view.h

Issue 2831023003: Refactor AddScrollListItem() in system menu detailed views (Closed)
Patch Set: Rebased Created 3 years, 8 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
« no previous file with comments | « no previous file | ash/system/audio/audio_detailed_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/audio/audio_detailed_view.h
diff --git a/ash/system/audio/audio_detailed_view.h b/ash/system/audio/audio_detailed_view.h
index 5e2d3fde02a55117927f8c25e7b7cb6bcd4c2fbc..7478ba8220c35e7a44f6b7856dfece4b65c21a99 100644
--- a/ash/system/audio/audio_detailed_view.h
+++ b/ash/system/audio/audio_detailed_view.h
@@ -15,13 +15,7 @@ namespace gfx {
struct VectorIcon;
}
-namespace views {
-class View;
-}
-
namespace ash {
-class HoverHighlightView;
-
namespace tray {
class AudioDetailedView : public TrayDetailsView {
@@ -33,15 +27,9 @@ class AudioDetailedView : public TrayDetailsView {
void Update();
private:
- // Helper functions to add non-clickable header rows within the scrollable
+ // Helper function to add non-clickable header rows within the scrollable
// list.
- void AddInputHeader();
- void AddOutputHeader();
- void AddScrollListInfoItem(int text_id, const gfx::VectorIcon& icon);
-
- HoverHighlightView* AddScrollListItem(const base::string16& text,
- bool highlight,
- bool checked);
+ void AddAudioSubHeader(const gfx::VectorIcon& icon, int text_id);
void CreateItems();
« no previous file with comments | « no previous file | ash/system/audio/audio_detailed_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698