OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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/shell.h" | 5 #include "ash/shell.h" |
| 6 #include "base/macros.h" |
6 #include "components/exo/buffer.h" | 7 #include "components/exo/buffer.h" |
7 #include "components/exo/keyboard.h" | 8 #include "components/exo/keyboard.h" |
8 #include "components/exo/keyboard_delegate.h" | 9 #include "components/exo/keyboard_delegate.h" |
9 #include "components/exo/shell_surface.h" | 10 #include "components/exo/shell_surface.h" |
10 #include "components/exo/surface.h" | 11 #include "components/exo/surface.h" |
11 #include "components/exo/test/exo_test_base.h" | 12 #include "components/exo/test/exo_test_base.h" |
12 #include "components/exo/test/exo_test_helper.h" | 13 #include "components/exo/test/exo_test_helper.h" |
13 #include "testing/gmock/include/gmock/gmock.h" | 14 #include "testing/gmock/include/gmock/gmock.h" |
14 #include "third_party/khronos/GLES2/gl2.h" | 15 #include "third_party/khronos/GLES2/gl2.h" |
15 #include "ui/aura/client/focus_client.h" | 16 #include "ui/aura/client/focus_client.h" |
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
183 EXPECT_CALL(delegate, OnKeyboardKey(testing::_, ui::DomCode::KEY_B, false)); | 184 EXPECT_CALL(delegate, OnKeyboardKey(testing::_, ui::DomCode::KEY_B, false)); |
184 EXPECT_CALL(delegate, OnKeyboardModifiers(0)); | 185 EXPECT_CALL(delegate, OnKeyboardModifiers(0)); |
185 generator.ReleaseKey(ui::VKEY_B, 0); | 186 generator.ReleaseKey(ui::VKEY_B, 0); |
186 | 187 |
187 EXPECT_CALL(delegate, OnKeyboardDestroying(keyboard.get())); | 188 EXPECT_CALL(delegate, OnKeyboardDestroying(keyboard.get())); |
188 keyboard.reset(); | 189 keyboard.reset(); |
189 } | 190 } |
190 | 191 |
191 } // namespace | 192 } // namespace |
192 } // namespace exo | 193 } // namespace exo |
OLD | NEW |