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

Unified Diff: chrome/browser/ui/ash/volume_controller_chromeos.h

Issue 2552483002: mash: Have chrome set itself as a controller interface for changing volume (Closed)
Patch Set: comment Created 4 years 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: chrome/browser/ui/ash/volume_controller_chromeos.h
diff --git a/chrome/browser/ui/ash/volume_controller_chromeos.h b/chrome/browser/ui/ash/volume_controller_chromeos.h
deleted file mode 100644
index 532b3bafc0d73b90c5cf78706e3496dbde746f6d..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/ash/volume_controller_chromeos.h
+++ /dev/null
@@ -1,32 +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_UI_ASH_VOLUME_CONTROLLER_CHROMEOS_H_
-#define CHROME_BROWSER_UI_ASH_VOLUME_CONTROLLER_CHROMEOS_H_
-
-#include "ash/public/interfaces/volume.mojom.h"
-#include "base/macros.h"
-#include "mojo/public/cpp/bindings/binding_set.h"
-
-// Controls the volume when F8-10 or a multimedia key for volume is pressed.
-class VolumeController : public ash::mojom::VolumeController {
- public:
- VolumeController();
- ~VolumeController() override;
-
- // Binds the mojom::VolumeController interface request to this object.
- void BindRequest(ash::mojom::VolumeControllerRequest request);
-
- // Overridden from ash::mojom::VolumeController:
- void VolumeMute() override;
- void VolumeDown() override;
- void VolumeUp() override;
-
- private:
- mojo::BindingSet<ash::mojom::VolumeController> bindings_;
-
- DISALLOW_COPY_AND_ASSIGN(VolumeController);
-};
-
-#endif // CHROME_BROWSER_UI_ASH_VOLUME_CONTROLLER_CHROMEOS_H_
« no previous file with comments | « chrome/browser/ui/ash/volume_controller_browsertest_chromeos.cc ('k') | chrome/browser/ui/ash/volume_controller_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698