summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chromeos/status/volume_menu_button.h
diff options
context:
space:
mode:
authorsadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-04-11 17:53:33 +0000
committersadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-04-11 17:53:33 +0000
commit4801879ec26e37c437ab8b9c3f96067a2e0afcb7 (patch)
tree55a6866acd28fd4bcd4ac0e9ca53b31e22f0e759 /chrome/browser/chromeos/status/volume_menu_button.h
parentf8742e3ba254518bc11409f7b31288eb6a2e4e5a (diff)
downloadchromium_src-4801879ec26e37c437ab8b9c3f96067a2e0afcb7.zip
chromium_src-4801879ec26e37c437ab8b9c3f96067a2e0afcb7.tar.gz
chromium_src-4801879ec26e37c437ab8b9c3f96067a2e0afcb7.tar.bz2
chromeos: Remove old status-area related code.
This removes --disable-ash-uber-tray from command-line and chrome://flags, and much of the code that becomes extinct because of this. BUG=122295 TEST=none Review URL: https://chromiumcodereview.appspot.com/10056001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@131801 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/chromeos/status/volume_menu_button.h')
-rw-r--r--chrome/browser/chromeos/status/volume_menu_button.h49
1 files changed, 0 insertions, 49 deletions
diff --git a/chrome/browser/chromeos/status/volume_menu_button.h b/chrome/browser/chromeos/status/volume_menu_button.h
deleted file mode 100644
index 9d236b7..0000000
--- a/chrome/browser/chromeos/status/volume_menu_button.h
+++ /dev/null
@@ -1,49 +0,0 @@
-// Copyright (c) 2012 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 CHROME_BROWSER_CHROMEOS_STATUS_VOLUME_MENU_BUTTON_H_
-#define CHROME_BROWSER_CHROMEOS_STATUS_VOLUME_MENU_BUTTON_H_
-#pragma once
-
-#include "base/compiler_specific.h"
-#include "chrome/browser/chromeos/audio/audio_handler.h"
-#include "chrome/browser/chromeos/status/status_area_button.h"
-#include "ui/views/controls/button/menu_button_listener.h"
-#include "ui/views/controls/menu/menu_delegate.h"
-
-namespace chromeos {
-
-// The volume button in the status area.
-class VolumeMenuButton : public StatusAreaButton,
- public views::MenuDelegate,
- public views::MenuButtonListener,
- public AudioHandler::VolumeObserver {
- public:
- explicit VolumeMenuButton(StatusAreaButton::Delegate* delegate);
- virtual ~VolumeMenuButton();
-
- // Update the volume icon.
- void UpdateIcon();
-
- protected:
- // StatusAreaButton implementation.
- virtual int icon_width() OVERRIDE;
-
- private:
- // views::View implementation.
- virtual void OnLocaleChanged() OVERRIDE;
-
- // views::MenuButtonListener implementation.
- virtual void OnMenuButtonClicked(views::View* source,
- const gfx::Point& point) OVERRIDE;
-
- // AudioHandler::VolumeObserver implementation.
- virtual void OnVolumeChanged() OVERRIDE;
-
- DISALLOW_COPY_AND_ASSIGN(VolumeMenuButton);
-};
-
-} // namespace chromeos
-
-#endif // CHROME_BROWSER_CHROMEOS_STATUS_VOLUME_MENU_BUTTON_H_