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

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

Issue 2113113002: mash: Move chromeos audio system tray files to //ash/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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: ash/system/chromeos/audio/audio_detailed_view.h
diff --git a/ash/system/chromeos/audio/audio_detailed_view.h b/ash/system/chromeos/audio/audio_detailed_view.h
deleted file mode 100644
index acf54bbe6ad9a7a37f7e1f20cb7a5116e59ef1c9..0000000000000000000000000000000000000000
--- a/ash/system/chromeos/audio/audio_detailed_view.h
+++ /dev/null
@@ -1,59 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef ASH_SYSTEM_CHROMEOS_AUDIO_AUDIO_DETAILED_VIEW_H_
-#define ASH_SYSTEM_CHROMEOS_AUDIO_AUDIO_DETAILED_VIEW_H_
-
-#include "ash/common/system/tray/tray_details_view.h"
-#include "ash/common/system/tray/view_click_listener.h"
-#include "base/macros.h"
-#include "chromeos/audio/audio_device.h"
-#include "ui/gfx/font.h"
-
-namespace views {
-class View;
-}
-
-namespace ash {
-class HoverHighlightView;
-
-namespace tray {
-
-class AudioDetailedView : public TrayDetailsView, public ViewClickListener {
- public:
- explicit AudioDetailedView(SystemTrayItem* owner);
-
- ~AudioDetailedView() override;
-
- void Update();
-
- private:
- void AddScrollListInfoItem(const base::string16& text);
-
- HoverHighlightView* AddScrollListItem(const base::string16& text,
- bool highlight,
- bool checked);
-
- void CreateHeaderEntry();
- void CreateItems();
-
- void UpdateScrollableList();
- void UpdateAudioDevices();
-
- // Overridden from ViewClickListener.
- void OnViewClicked(views::View* sender) override;
-
- typedef std::map<views::View*, chromeos::AudioDevice> AudioDeviceMap;
-
- chromeos::AudioDeviceList output_devices_;
- chromeos::AudioDeviceList input_devices_;
- AudioDeviceMap device_map_;
-
- DISALLOW_COPY_AND_ASSIGN(AudioDetailedView);
-};
-
-} // namespace tray
-} // namespace ash
-
-#endif // ASH_SYSTEM_CHROMEOS_AUDIO_AUDIO_DETAILED_VIEW_H_
« no previous file with comments | « ash/common/system/chromeos/audio/tray_audio_delegate_chromeos.cc ('k') | ash/system/chromeos/audio/audio_detailed_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698