OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 UI_AURA_TEST_TEST_WINDOW_DELEGATE_H_ | 5 #ifndef UI_AURA_TEST_TEST_WINDOW_DELEGATE_H_ |
6 #define UI_AURA_TEST_TEST_WINDOW_DELEGATE_H_ | 6 #define UI_AURA_TEST_TEST_WINDOW_DELEGATE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
11 #include "third_party/skia/include/core/SkColor.h" | 11 #include "third_party/skia/include/core/SkColor.h" |
12 #include "ui/aura/window_delegate.h" | 12 #include "ui/aura/window_delegate.h" |
13 #include "ui/events/keycodes/keyboard_codes.h" | 13 #include "ui/events/keycodes/keyboard_codes.h" |
14 #include "ui/gfx/rect.h" | 14 #include "ui/gfx/geometry/rect.h" |
15 | 15 |
16 namespace aura { | 16 namespace aura { |
17 namespace test { | 17 namespace test { |
18 | 18 |
19 // WindowDelegate implementation with all methods stubbed out. | 19 // WindowDelegate implementation with all methods stubbed out. |
20 class TestWindowDelegate : public WindowDelegate { | 20 class TestWindowDelegate : public WindowDelegate { |
21 public: | 21 public: |
22 TestWindowDelegate(); | 22 TestWindowDelegate(); |
23 ~TestWindowDelegate() override; | 23 ~TestWindowDelegate() override; |
24 | 24 |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
142 int key_release_count_; | 142 int key_release_count_; |
143 int gesture_count_; | 143 int gesture_count_; |
144 | 144 |
145 DISALLOW_COPY_AND_ASSIGN(EventCountDelegate); | 145 DISALLOW_COPY_AND_ASSIGN(EventCountDelegate); |
146 }; | 146 }; |
147 | 147 |
148 } // namespace test | 148 } // namespace test |
149 } // namespace aura | 149 } // namespace aura |
150 | 150 |
151 #endif // UI_AURA_TEST_TEST_WINDOW_DELEGATE_H_ | 151 #endif // UI_AURA_TEST_TEST_WINDOW_DELEGATE_H_ |
OLD | NEW |