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

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

Issue 2048443002: ABANDONED: mash: Move shell delegate interfaces to ash/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@moveshelfmodel
Patch Set: Created 4 years, 6 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 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/shell.h" 8 #include "ash/shell.h"
9 #include "ash/system/status_area_widget.h" 9 #include "ash/system/status_area_widget.h"
10 #include "ash/system/tray/system_tray_notifier.h" 10 #include "ash/system/tray/system_tray_notifier.h"
11 #include "ash/test/ash_test_base.h" 11 #include "ash/test/ash_test_base.h"
12 #include "ash/test/status_area_widget_test_helper.h" 12 #include "ash/test/status_area_widget_test_helper.h"
13 #include "ash/test/virtual_keyboard_test_helper.h" 13 #include "ash/test/virtual_keyboard_test_helper.h"
14 #include "base/command_line.h" 14 #include "base/command_line.h"
15 #include "ui/keyboard/keyboard_util.h" 15 #include "ui/keyboard/keyboard_util.h"
16 16
17 namespace ash { 17 namespace ash {
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 toggle = GetScrollChildView(0); 152 toggle = GetScrollChildView(0);
153 // Clicking again should disable the keyboard. 153 // Clicking again should disable the keyboard.
154 tap = ui::GestureEvent(0, 0, 0, base::TimeDelta(), 154 tap = ui::GestureEvent(0, 0, 0, base::TimeDelta(),
155 ui::GestureEventDetails(ui::ET_GESTURE_TAP)); 155 ui::GestureEventDetails(ui::ET_GESTURE_TAP));
156 toggle->OnGestureEvent(&tap); 156 toggle->OnGestureEvent(&tap);
157 EXPECT_FALSE(keyboard::IsKeyboardEnabled()); 157 EXPECT_FALSE(keyboard::IsKeyboardEnabled());
158 EXPECT_TRUE(default_view()->visible()); 158 EXPECT_TRUE(default_view()->visible());
159 } 159 }
160 160
161 } // namespace ash 161 } // namespace ash
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698