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

Side by Side Diff: ash/content/keyboard_overlay/keyboard_overlay_view_unittest.cc

Issue 2736573002: chromeos: Move files in //ash/common to //ash, part 2 (Closed)
Patch Set: Created 3 years, 9 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
OLDNEW
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 "ash/content/keyboard_overlay/keyboard_overlay_view.h" 5 #include "ash/content/keyboard_overlay/keyboard_overlay_view.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "ash/common/accelerators/accelerator_table.h" 9 #include "ash/accelerators/accelerator_table.h"
10 #include "ash/content/keyboard_overlay/keyboard_overlay_delegate.h" 10 #include "ash/content/keyboard_overlay/keyboard_overlay_delegate.h"
11 #include "ash/content/shell_content_state.h" 11 #include "ash/content/shell_content_state.h"
12 #include "ash/test/ash_test_base.h" 12 #include "ash/test/ash_test_base.h"
13 #include "ui/web_dialogs/test/test_web_contents_handler.h" 13 #include "ui/web_dialogs/test/test_web_contents_handler.h"
14 #include "ui/web_dialogs/test/test_web_dialog_delegate.h" 14 #include "ui/web_dialogs/test/test_web_dialog_delegate.h"
15 15
16 namespace ash { 16 namespace ash {
17 17
18 typedef test::AshTestBase KeyboardOverlayViewTest; 18 typedef test::AshTestBase KeyboardOverlayViewTest;
19 19
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 85
86 // Other canceling keys should be same as opening keys. 86 // Other canceling keys should be same as opening keys.
87 EXPECT_EQ(open_keys.size(), canceling_keys.size()); 87 EXPECT_EQ(open_keys.size(), canceling_keys.size());
88 for (size_t i = 0; i < canceling_keys.size(); ++i) { 88 for (size_t i = 0; i < canceling_keys.size(); ++i) {
89 EXPECT_NE(std::find(open_keys.begin(), open_keys.end(), canceling_keys[i]), 89 EXPECT_NE(std::find(open_keys.begin(), open_keys.end(), canceling_keys[i]),
90 open_keys.end()); 90 open_keys.end());
91 } 91 }
92 } 92 }
93 93
94 } // namespace ash 94 } // namespace ash
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698