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

Side by Side Diff: ash/system/ime/tray_ime_chromeos_unittest.cc

Issue 2734733002: Revert "chromeos: Move files in //ash/common to //ash, part 3" (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
« no previous file with comments | « ash/system/ime/tray_ime_chromeos.cc ('k') | ash/system/ime_menu/ime_list_view.cc » ('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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/system/ime/tray_ime_chromeos.h" 5 #include "ash/system/ime/tray_ime_chromeos.h"
6 6
7 #include "ash/accessibility_delegate.h" 7 #include "ash/common/accessibility_delegate.h"
8 #include "ash/accessibility_types.h" 8 #include "ash/common/accessibility_types.h"
9 #include "ash/common/wm_shell.h"
9 #include "ash/system/ime_menu/ime_list_view.h" 10 #include "ash/system/ime_menu/ime_list_view.h"
10 #include "ash/system/tray/system_tray_notifier.h" 11 #include "ash/system/tray/system_tray_notifier.h"
11 #include "ash/test/ash_test_base.h" 12 #include "ash/test/ash_test_base.h"
12 #include "ash/wm_shell.h"
13 #include "base/strings/utf_string_conversions.h" 13 #include "base/strings/utf_string_conversions.h"
14 #include "ui/events/devices/device_data_manager.h" 14 #include "ui/events/devices/device_data_manager.h"
15 #include "ui/keyboard/keyboard_util.h" 15 #include "ui/keyboard/keyboard_util.h"
16 16
17 namespace ash { 17 namespace ash {
18 18
19 class TrayIMETest : public test::AshTestBase { 19 class TrayIMETest : public test::AshTestBase {
20 public: 20 public:
21 TrayIMETest() {} 21 TrayIMETest() {}
22 ~TrayIMETest() override {} 22 ~TrayIMETest() override {}
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 // Clicking again should disable the keyboard. 195 // Clicking again should disable the keyboard.
196 toggle = GetToggleView(); 196 toggle = GetToggleView();
197 tap = ui::GestureEvent(0, 0, 0, base::TimeTicks(), 197 tap = ui::GestureEvent(0, 0, 0, base::TimeTicks(),
198 ui::GestureEventDetails(ui::ET_GESTURE_TAP)); 198 ui::GestureEventDetails(ui::ET_GESTURE_TAP));
199 toggle->OnGestureEvent(&tap); 199 toggle->OnGestureEvent(&tap);
200 EXPECT_FALSE(keyboard::IsKeyboardEnabled()); 200 EXPECT_FALSE(keyboard::IsKeyboardEnabled());
201 EXPECT_TRUE(default_view()->visible()); 201 EXPECT_TRUE(default_view()->visible());
202 } 202 }
203 203
204 } // namespace ash 204 } // namespace ash
OLDNEW
« no previous file with comments | « ash/system/ime/tray_ime_chromeos.cc ('k') | ash/system/ime_menu/ime_list_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698