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

Side by Side Diff: chrome/browser/ui/views/ash/volume_controller_chromeos.h

Issue 9570044: Rename chrome/browser/ui/views/{aura => ash}/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 8 years, 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_VIEWS_AURA_VOLUME_CONTROLLER_CHROMEOS_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_ASH_VOLUME_CONTROLLER_CHROMEOS_H_
6 #define CHROME_BROWSER_UI_VIEWS_AURA_VOLUME_CONTROLLER_CHROMEOS_H_ 6 #define CHROME_BROWSER_UI_VIEWS_ASH_VOLUME_CONTROLLER_CHROMEOS_H_
7 #pragma once 7 #pragma once
8 8
9 #include "ash/volume_control_delegate.h" 9 #include "ash/volume_control_delegate.h"
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
12 12
13 // A class which controls volume when F8-10 or a multimedia key for volume is 13 // A class which controls volume when F8-10 or a multimedia key for volume is
14 // pressed. 14 // pressed.
15 class VolumeController : public ash::VolumeControlDelegate { 15 class VolumeController : public ash::VolumeControlDelegate {
16 public: 16 public:
17 VolumeController() {} 17 VolumeController() {}
18 virtual ~VolumeController() {} 18 virtual ~VolumeController() {}
19 19
20 // Overridden from ash::VolumeControlDelegate: 20 // Overridden from ash::VolumeControlDelegate:
21 virtual bool HandleVolumeMute(const ui::Accelerator& accelerator) OVERRIDE; 21 virtual bool HandleVolumeMute(const ui::Accelerator& accelerator) OVERRIDE;
22 virtual bool HandleVolumeDown(const ui::Accelerator& accelerator) OVERRIDE; 22 virtual bool HandleVolumeDown(const ui::Accelerator& accelerator) OVERRIDE;
23 virtual bool HandleVolumeUp(const ui::Accelerator& accelerator) OVERRIDE; 23 virtual bool HandleVolumeUp(const ui::Accelerator& accelerator) OVERRIDE;
24 24
25 private: 25 private:
26 DISALLOW_COPY_AND_ASSIGN(VolumeController); 26 DISALLOW_COPY_AND_ASSIGN(VolumeController);
27 }; 27 };
28 28
29 #endif // CHROME_BROWSER_UI_VIEWS_AURA_VOLUME_CONTROLLER_CHROMEOS_H_ 29 #endif // CHROME_BROWSER_UI_VIEWS_ASH_VOLUME_CONTROLLER_CHROMEOS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698