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

Side by Side Diff: ash/test/test_volume_control_delegate.h

Issue 1540753002: Switch to standard integer types in ash/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: arraysize Created 5 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 unified diff | Download patch
« no previous file with comments | « ash/test/test_user_wallpaper_delegate.h ('k') | ash/test/tray_cast_test_api.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 ASH_TEST_TEST_VOLUME_CONTROL_DELEGATE_H_ 5 #ifndef ASH_TEST_TEST_VOLUME_CONTROL_DELEGATE_H_
6 #define ASH_TEST_TEST_VOLUME_CONTROL_DELEGATE_H_ 6 #define ASH_TEST_TEST_VOLUME_CONTROL_DELEGATE_H_
7 7
8 #include "ash/volume_control_delegate.h" 8 #include "ash/volume_control_delegate.h"
9 #include "base/macros.h"
9 #include "ui/base/accelerators/accelerator.h" 10 #include "ui/base/accelerators/accelerator.h"
10 11
11 namespace ash { 12 namespace ash {
12 13
13 // A simple test double for a VolumeControlDelegate 14 // A simple test double for a VolumeControlDelegate
14 // Will count the number of times the HandleVolumeMute, HandleVolumeDown and 15 // Will count the number of times the HandleVolumeMute, HandleVolumeDown and
15 // HandleVolumeUp methods are invoked. 16 // HandleVolumeUp methods are invoked.
16 class TestVolumeControlDelegate : public ash::VolumeControlDelegate { 17 class TestVolumeControlDelegate : public ash::VolumeControlDelegate {
17 public: 18 public:
18 TestVolumeControlDelegate(); 19 TestVolumeControlDelegate();
(...skipping 25 matching lines...) Expand all
44 int handle_volume_down_count_; 45 int handle_volume_down_count_;
45 int handle_volume_up_count_; 46 int handle_volume_up_count_;
46 ui::Accelerator last_accelerator_; 47 ui::Accelerator last_accelerator_;
47 48
48 DISALLOW_COPY_AND_ASSIGN(TestVolumeControlDelegate); 49 DISALLOW_COPY_AND_ASSIGN(TestVolumeControlDelegate);
49 }; 50 };
50 51
51 } // namespace ash 52 } // namespace ash
52 53
53 #endif // ASH_TEST_TEST_VOLUME_CONTROL_DELEGATE_H_ 54 #endif // ASH_TEST_TEST_VOLUME_CONTROL_DELEGATE_H_
OLDNEW
« no previous file with comments | « ash/test/test_user_wallpaper_delegate.h ('k') | ash/test/tray_cast_test_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698