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

Side by Side Diff: ash/test/test_overlay_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_lock_state_controller_delegate.h ('k') | ash/test/test_screenshot_delegate.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_OVERLAY_DELEGATE_H_ 5 #ifndef ASH_TEST_TEST_OVERLAY_DELEGATE_H_
6 #define ASH_TEST_TEST_OVERLAY_DELEGATE_H_ 6 #define ASH_TEST_TEST_OVERLAY_DELEGATE_H_
7 7
8 #include "ash/wm/overlay_event_filter.h" 8 #include "ash/wm/overlay_event_filter.h"
9 #include "base/macros.h"
9 10
10 namespace ash { 11 namespace ash {
11 namespace test { 12 namespace test {
12 13
13 class TestOverlayDelegate : public OverlayEventFilter::Delegate { 14 class TestOverlayDelegate : public OverlayEventFilter::Delegate {
14 public: 15 public:
15 TestOverlayDelegate(); 16 TestOverlayDelegate();
16 virtual ~TestOverlayDelegate(); 17 virtual ~TestOverlayDelegate();
17 18
18 int GetCancelCountAndReset(); 19 int GetCancelCountAndReset();
19 20
20 private: 21 private:
21 // Overridden from OverlayEventFilter::Delegate: 22 // Overridden from OverlayEventFilter::Delegate:
22 void Cancel() override; 23 void Cancel() override;
23 bool IsCancelingKeyEvent(ui::KeyEvent* event) override; 24 bool IsCancelingKeyEvent(ui::KeyEvent* event) override;
24 aura::Window* GetWindow() override; 25 aura::Window* GetWindow() override;
25 26
26 int cancel_count_; 27 int cancel_count_;
27 28
28 DISALLOW_COPY_AND_ASSIGN(TestOverlayDelegate); 29 DISALLOW_COPY_AND_ASSIGN(TestOverlayDelegate);
29 }; 30 };
30 31
31 } // namespace test 32 } // namespace test
32 } // namespace ash 33 } // namespace ash
33 34
34 #endif // ASH_TEST_TEST_OVERLAY_DELEGATE_H_ 35 #endif // ASH_TEST_TEST_OVERLAY_DELEGATE_H_
OLDNEW
« no previous file with comments | « ash/test/test_lock_state_controller_delegate.h ('k') | ash/test/test_screenshot_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698