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

Side by Side Diff: ash/sticky_keys/sticky_keys_overlay_unittest.cc

Issue 2908333003: [mus+ash] Removes WmWindow from ash (app_list, frame, metrics, session, system, wallpaper) (Closed)
Patch Set: [mus ash] Removes WmWindow from ash (rebase, nits and cleanup of use of ResizeHandleWindowTargeter) Created 3 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
« no previous file with comments | « ash/shell_unittest.cc ('k') | ash/system/session/logout_confirmation_dialog.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/sticky_keys/sticky_keys_overlay.h" 5 #include "ash/sticky_keys/sticky_keys_overlay.h"
6 6
7 #include "ash/public/cpp/config.h" 7 #include "ash/public/cpp/config.h"
8 #include "ash/shell.h" 8 #include "ash/shell.h"
9 #include "ash/shell_port.h" 9 #include "ash/shell_port.h"
10 #include "ash/sticky_keys/sticky_keys_controller.h" 10 #include "ash/sticky_keys/sticky_keys_controller.h"
11 #include "ash/test/ash_test_base.h" 11 #include "ash/test/ash_test_base.h"
12 #include "ash/wm_window.h"
13 #include "ui/display/display_layout.h" 12 #include "ui/display/display_layout.h"
14 #include "ui/display/manager/display_manager.h" 13 #include "ui/display/manager/display_manager.h"
15 #include "ui/display/test/display_manager_test_api.h" 14 #include "ui/display/test/display_manager_test_api.h"
16 #include "ui/events/event.h" 15 #include "ui/events/event.h"
17 #include "ui/views/widget/widget.h" 16 #include "ui/views/widget/widget.h"
18 17
19 namespace ash { 18 namespace ash {
20 19
21 using StickyKeysOverlayTest = test::AshTestBase; 20 using StickyKeysOverlayTest = test::AshTestBase;
22 21
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 overlay.GetModifierKeyState(ui::EF_SHIFT_DOWN)); 81 overlay.GetModifierKeyState(ui::EF_SHIFT_DOWN));
83 overlay.SetModifierKeyState(ui::EF_SHIFT_DOWN, STICKY_KEY_STATE_DISABLED); 82 overlay.SetModifierKeyState(ui::EF_SHIFT_DOWN, STICKY_KEY_STATE_DISABLED);
84 EXPECT_EQ(STICKY_KEY_STATE_DISABLED, 83 EXPECT_EQ(STICKY_KEY_STATE_DISABLED,
85 overlay.GetModifierKeyState(ui::EF_SHIFT_DOWN)); 84 overlay.GetModifierKeyState(ui::EF_SHIFT_DOWN));
86 } 85 }
87 86
88 // Additional sticky key overlay tests that depend on ui::EventRewriterChromeOS 87 // Additional sticky key overlay tests that depend on ui::EventRewriterChromeOS
89 // are now in chrome/browser/chromeos/events/event_rewriter_unittest.cc . 88 // are now in chrome/browser/chromeos/events/event_rewriter_unittest.cc .
90 89
91 } // namespace ash 90 } // namespace ash
OLDNEW
« no previous file with comments | « ash/shell_unittest.cc ('k') | ash/system/session/logout_confirmation_dialog.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698