| Index: chrome/browser/chromeos/status/volume_menu_button.h
|
| 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 9d236b77bb118af07c8f9232e7bc1de6a27aad18..0000000000000000000000000000000000000000
|
| --- 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_
|
|
|