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

Unified Diff: trunk/src/ash/test/test_volume_control_delegate.cc

Issue 266223003: Revert 268181 "Enabled volume buttons when TouchView is active" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 7 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
Index: trunk/src/ash/test/test_volume_control_delegate.cc
===================================================================
--- trunk/src/ash/test/test_volume_control_delegate.cc (revision 268197)
+++ trunk/src/ash/test/test_volume_control_delegate.cc (working copy)
@@ -1,40 +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.
-
-#include "ash/test/test_volume_control_delegate.h"
-
-namespace ash {
-
-TestVolumeControlDelegate::TestVolumeControlDelegate(bool consume)
- : consume_(consume),
- handle_volume_mute_count_(0),
- handle_volume_down_count_(0),
- handle_volume_up_count_(0) {
-}
-
-TestVolumeControlDelegate::~TestVolumeControlDelegate() {
-}
-
-bool TestVolumeControlDelegate::HandleVolumeMute(
- const ui::Accelerator& accelerator) {
- ++handle_volume_mute_count_;
- last_accelerator_ = accelerator;
- return consume_;
-}
-
-bool TestVolumeControlDelegate::HandleVolumeDown(
- const ui::Accelerator& accelerator) {
- ++handle_volume_down_count_;
- last_accelerator_ = accelerator;
- return consume_;
-}
-
-bool TestVolumeControlDelegate::HandleVolumeUp(
- const ui::Accelerator& accelerator) {
- ++handle_volume_up_count_;
- last_accelerator_ = accelerator;
- return consume_;
-}
-
-} // namespace ash
« no previous file with comments | « trunk/src/ash/test/test_volume_control_delegate.h ('k') | trunk/src/ash/wm/maximize_mode/maximize_mode_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698