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

Side by Side Diff: components/exo/keyboard_unittest.cc

Issue 1546143002: Switch to standard integer types in components/, part 1 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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 | « components/exo/display.h ('k') | components/exo/shared_memory.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 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
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
OLDNEW
« no previous file with comments | « components/exo/display.h ('k') | components/exo/shared_memory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698