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

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

Issue 2734653002: chromeos: Move files in //ash/common to //ash (Closed)
Patch Set: fix a11y tests, fix docs Created 3 years, 10 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 | « ash/common/system/chromeos/DEPS ('k') | ash/common/system/chromeos/audio/audio_detailed_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/system/chromeos/audio/audio_detailed_view.h
diff --git a/ash/common/system/chromeos/audio/audio_detailed_view.h b/ash/common/system/chromeos/audio/audio_detailed_view.h
deleted file mode 100644
index 1b33e446508d3253390936f62051cd53320934cb..0000000000000000000000000000000000000000
--- a/ash/common/system/chromeos/audio/audio_detailed_view.h
+++ /dev/null
@@ -1,66 +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_COMMON_SYSTEM_CHROMEOS_AUDIO_AUDIO_DETAILED_VIEW_H_
-#define ASH_COMMON_SYSTEM_CHROMEOS_AUDIO_AUDIO_DETAILED_VIEW_H_
-
-#include <map>
-
-#include "ash/common/system/tray/tray_details_view.h"
-#include "base/macros.h"
-#include "chromeos/audio/audio_device.h"
-
-namespace gfx {
-struct VectorIcon;
-}
-
-namespace views {
-class View;
-}
-
-namespace ash {
-class HoverHighlightView;
-
-namespace tray {
-
-class AudioDetailedView : public TrayDetailsView {
- public:
- explicit AudioDetailedView(SystemTrayItem* owner);
-
- ~AudioDetailedView() override;
-
- void Update();
-
- private:
- // Helper functions 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 CreateItems();
-
- void UpdateScrollableList();
- void UpdateAudioDevices();
-
- // TrayDetailsView:
- void HandleViewClicked(views::View* view) 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_COMMON_SYSTEM_CHROMEOS_AUDIO_AUDIO_DETAILED_VIEW_H_
« no previous file with comments | « ash/common/system/chromeos/DEPS ('k') | ash/common/system/chromeos/audio/audio_detailed_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698