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

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

Issue 2095193002: clang-format all of //ash (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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
« no previous file with comments | « ash/test/test_lock_state_controller_delegate.cc ('k') | ash/test/test_screenshot_delegate.cc » ('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 #include "ash/test/test_overlay_delegate.h" 5 #include "ash/test/test_overlay_delegate.h"
6 6
7 namespace ash { 7 namespace ash {
8 namespace test { 8 namespace test {
9 9
10 TestOverlayDelegate::TestOverlayDelegate() 10 TestOverlayDelegate::TestOverlayDelegate() : cancel_count_(0) {}
11 : cancel_count_(0) {}
12 TestOverlayDelegate::~TestOverlayDelegate() {} 11 TestOverlayDelegate::~TestOverlayDelegate() {}
13 12
14 int TestOverlayDelegate::GetCancelCountAndReset() { 13 int TestOverlayDelegate::GetCancelCountAndReset() {
15 int count = cancel_count_; 14 int count = cancel_count_;
16 cancel_count_ = 0; 15 cancel_count_ = 0;
17 return count; 16 return count;
18 } 17 }
19 18
20 void TestOverlayDelegate::Cancel() { 19 void TestOverlayDelegate::Cancel() {
21 ++cancel_count_; 20 ++cancel_count_;
22 } 21 }
23 22
24 bool TestOverlayDelegate::IsCancelingKeyEvent(ui::KeyEvent* event) { 23 bool TestOverlayDelegate::IsCancelingKeyEvent(ui::KeyEvent* event) {
25 return false; 24 return false;
26 } 25 }
27 26
28 aura::Window* TestOverlayDelegate::GetWindow() { 27 aura::Window* TestOverlayDelegate::GetWindow() {
29 return NULL; 28 return NULL;
30 } 29 }
31 30
32 } // namespace test 31 } // namespace test
33 } // namespace ash 32 } // namespace ash
OLDNEW
« no previous file with comments | « ash/test/test_lock_state_controller_delegate.cc ('k') | ash/test/test_screenshot_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698