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

Side by Side Diff: ash/test/test_lock_state_controller_delegate.cc

Issue 263813002: Take a screenshot in maximize mode when volume down and power are pressed. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "ash/test/test_lock_state_controller_delegate.h"
6
7 namespace ash {
8 namespace test {
9
10 TestLockStateControllerDelegate::TestLockStateControllerDelegate()
11 : num_lock_requests_(0),
12 num_shutdown_requests_(0) {
13 }
14
15 TestLockStateControllerDelegate::~TestLockStateControllerDelegate() {
16 }
17
18 void TestLockStateControllerDelegate::RequestLockScreen() {
19 ++num_lock_requests_;
20 }
21
22 void TestLockStateControllerDelegate::RequestShutdown() {
23 ++num_shutdown_requests_;
24 }
25
26 } // namespace test
27 } // namespace ash
OLDNEW
« no previous file with comments | « ash/test/test_lock_state_controller_delegate.h ('k') | ash/wm/lock_state_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698