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

Side by Side Diff: chrome/browser/chromeos/accessibility/sticky_keys_browsertest.cc

Issue 2808723004: Renames WmShell to ShellPort (Closed)
Patch Set: feedback Created 3 years, 8 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 <stddef.h> 5 #include <stddef.h>
6 6
7 #include "ash/shell.h" 7 #include "ash/shell.h"
8 #include "ash/sticky_keys/sticky_keys_controller.h" 8 #include "ash/sticky_keys/sticky_keys_controller.h"
9 #include "ash/sticky_keys/sticky_keys_overlay.h" 9 #include "ash/sticky_keys/sticky_keys_overlay.h"
10 #include "ash/system/tray/system_tray.h" 10 #include "ash/system/tray/system_tray.h"
11 #include "ash/wm_shell.h"
12 #include "base/command_line.h" 11 #include "base/command_line.h"
13 #include "base/macros.h" 12 #include "base/macros.h"
14 #include "chrome/browser/chromeos/accessibility/accessibility_manager.h" 13 #include "chrome/browser/chromeos/accessibility/accessibility_manager.h"
15 #include "chrome/browser/profiles/profile.h" 14 #include "chrome/browser/profiles/profile.h"
16 #include "chrome/browser/ui/browser.h" 15 #include "chrome/browser/ui/browser.h"
17 #include "chrome/browser/ui/browser_window.h" 16 #include "chrome/browser/ui/browser_window.h"
18 #include "chrome/browser/ui/location_bar/location_bar.h" 17 #include "chrome/browser/ui/location_bar/location_bar.h"
19 #include "chrome/browser/ui/tabs/tab_strip_model.h" 18 #include "chrome/browser/ui/tabs/tab_strip_model.h"
20 #include "chrome/browser/ui/view_ids.h" 19 #include "chrome/browser/ui/view_ids.h"
21 #include "chrome/common/pref_names.h" 20 #include "chrome/common/pref_names.h"
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
225 EXPECT_TRUE(sticky_keys_overlay->is_visible()); 224 EXPECT_TRUE(sticky_keys_overlay->is_visible());
226 DisableStickyKeys(); 225 DisableStickyKeys();
227 EXPECT_FALSE(controller->GetOverlayForTest()); 226 EXPECT_FALSE(controller->GetOverlayForTest());
228 for (auto key_code : modifier_keys) { 227 for (auto key_code : modifier_keys) {
229 SendKeyPress(key_code); 228 SendKeyPress(key_code);
230 EXPECT_FALSE(controller->GetOverlayForTest()); 229 EXPECT_FALSE(controller->GetOverlayForTest());
231 } 230 }
232 } 231 }
233 232
234 } // namespace chromeos 233 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698