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

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

Issue 174803002: Move root_window.* to window_event_dispatcher.* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 10 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 | Annotate | Revision Log
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 "ash/shell.h" 5 #include "ash/shell.h"
6 #include "ash/system/tray/system_tray.h" 6 #include "ash/system/tray/system_tray.h"
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/prefs/pref_service.h" 8 #include "base/prefs/pref_service.h"
9 #include "chrome/browser/chromeos/accessibility/accessibility_manager.h" 9 #include "chrome/browser/chromeos/accessibility/accessibility_manager.h"
10 #include "chrome/browser/profiles/profile.h" 10 #include "chrome/browser/profiles/profile.h"
11 #include "chrome/browser/ui/browser.h" 11 #include "chrome/browser/ui/browser.h"
12 #include "chrome/browser/ui/tabs/tab_strip_model.h" 12 #include "chrome/browser/ui/tabs/tab_strip_model.h"
13 #include "chrome/browser/ui/view_ids.h" 13 #include "chrome/browser/ui/view_ids.h"
14 #include "chrome/common/pref_names.h" 14 #include "chrome/common/pref_names.h"
15 #include "chrome/test/base/in_process_browser_test.h" 15 #include "chrome/test/base/in_process_browser_test.h"
16 #include "chrome/test/base/interactive_test_utils.h" 16 #include "chrome/test/base/interactive_test_utils.h"
17 #include "ui/aura/root_window.h" 17 #include "ui/aura/window_event_dispatcher.h"
18 #include "ui/events/keycodes/keyboard_codes.h" 18 #include "ui/events/keycodes/keyboard_codes.h"
19 #include "ui/gfx/native_widget_types.h" 19 #include "ui/gfx/native_widget_types.h"
20 20
21 namespace chromeos { 21 namespace chromeos {
22 22
23 class StickyKeysBrowserTest : public InProcessBrowserTest { 23 class StickyKeysBrowserTest : public InProcessBrowserTest {
24 protected: 24 protected:
25 StickyKeysBrowserTest() {} 25 StickyKeysBrowserTest() {}
26 virtual ~StickyKeysBrowserTest() {} 26 virtual ~StickyKeysBrowserTest() {}
27 27
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 EXPECT_EQ(tab_count, tab_strip_model->count()); 133 EXPECT_EQ(tab_count, tab_strip_model->count());
134 134
135 // Test disabling sticky keys prevent modified mouse click. 135 // Test disabling sticky keys prevent modified mouse click.
136 DisableStickyKeys(); 136 DisableStickyKeys();
137 SendKeyPress(ui::VKEY_CONTROL); 137 SendKeyPress(ui::VKEY_CONTROL);
138 ui_test_utils::ClickOnView(browser(), VIEW_ID_HOME_BUTTON); 138 ui_test_utils::ClickOnView(browser(), VIEW_ID_HOME_BUTTON);
139 EXPECT_EQ(tab_count, tab_strip_model->count()); 139 EXPECT_EQ(tab_count, tab_strip_model->count());
140 } 140 }
141 141
142 } // namespace chromeos 142 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chrome_plugin_browsertest.cc ('k') | chrome/browser/chromeos/events/event_rewriter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698