| 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 #include "ui/aura/test/test_window_delegate.h" | 5 #include "ui/aura/test/test_window_delegate.h" |
| 6 | 6 |
| 7 #include "base/stringprintf.h" | 7 #include "base/stringprintf.h" |
| 8 #include "ui/aura/window.h" | 8 #include "ui/aura/window.h" |
| 9 #include "ui/base/event.h" | 9 #include "ui/base/events/event.h" |
| 10 #include "ui/base/hit_test.h" | 10 #include "ui/base/hit_test.h" |
| 11 #include "ui/gfx/canvas.h" | 11 #include "ui/gfx/canvas.h" |
| 12 #include "ui/gfx/path.h" | 12 #include "ui/gfx/path.h" |
| 13 #include "ui/gfx/skia_util.h" | 13 #include "ui/gfx/skia_util.h" |
| 14 | 14 |
| 15 namespace aura { | 15 namespace aura { |
| 16 namespace test { | 16 namespace test { |
| 17 | 17 |
| 18 //////////////////////////////////////////////////////////////////////////////// | 18 //////////////////////////////////////////////////////////////////////////////// |
| 19 // TestWindowDelegate | 19 // TestWindowDelegate |
| (...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 209 std::string result = StringPrintf("%d %d", | 209 std::string result = StringPrintf("%d %d", |
| 210 key_press_count_, | 210 key_press_count_, |
| 211 key_release_count_); | 211 key_release_count_); |
| 212 key_press_count_ = 0; | 212 key_press_count_ = 0; |
| 213 key_release_count_ = 0; | 213 key_release_count_ = 0; |
| 214 return result; | 214 return result; |
| 215 } | 215 } |
| 216 | 216 |
| 217 } // namespace test | 217 } // namespace test |
| 218 } // namespace aura | 218 } // namespace aura |
| OLD | NEW |