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

Unified Diff: ash/sticky_keys/sticky_keys_unittest.cc

Issue 118543002: Move sticky keys files to their own directory and rename to StickyKeysController. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: update ash.gyp Created 7 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/sticky_keys/sticky_keys_controller.cc ('k') | ash/wm/sticky_keys.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/sticky_keys/sticky_keys_unittest.cc
diff --git a/ash/wm/sticky_keys_unittest.cc b/ash/sticky_keys/sticky_keys_unittest.cc
similarity index 99%
rename from ash/wm/sticky_keys_unittest.cc
rename to ash/sticky_keys/sticky_keys_unittest.cc
index 41c2238eb4e94853e4fabbabadd95b5c2551d2c9..de622892a8e3ba9e0dd2073e6f06457dc49c74d3 100644
--- a/ash/wm/sticky_keys_unittest.cc
+++ b/ash/sticky_keys/sticky_keys_unittest.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "ash/wm/sticky_keys.h"
+#include "ash/sticky_keys/sticky_keys_controller.h"
#include <X11/Xlib.h>
#undef None
@@ -759,7 +759,7 @@ TEST_F(StickyKeysTest, KeyEventDispatchImpl) {
aura::RootWindowHostDelegate* delegate = Shell::GetPrimaryRootWindow()
->GetDispatcher()->AsRootWindowHostDelegate();
Shell::GetInstance()->AddPreTargetHandler(&buffer);
- Shell::GetInstance()->sticky_keys()->Enable(true);
+ Shell::GetInstance()->sticky_keys_controller()->Enable(true);
SendActivateStickyKeyPattern(delegate, ui::VKEY_CONTROL);
scoped_ptr<ui::KeyEvent> ev;
@@ -798,7 +798,7 @@ TEST_F(StickyKeysTest, MouseEventDispatchImpl) {
aura::RootWindowHostDelegate* delegate = Shell::GetPrimaryRootWindow()
->GetDispatcher()->AsRootWindowHostDelegate();
Shell::GetInstance()->AddPreTargetHandler(&buffer);
- Shell::GetInstance()->sticky_keys()->Enable(true);
+ Shell::GetInstance()->sticky_keys_controller()->Enable(true);
scoped_ptr<ui::MouseEvent> ev;
SendActivateStickyKeyPattern(delegate, ui::VKEY_CONTROL);
@@ -834,7 +834,7 @@ TEST_F(StickyKeysTest, MouseWheelEventDispatchImpl) {
aura::RootWindowHostDelegate* delegate = Shell::GetPrimaryRootWindow()
->GetDispatcher()->AsRootWindowHostDelegate();
Shell::GetInstance()->AddPreTargetHandler(&buffer);
- Shell::GetInstance()->sticky_keys()->Enable(true);
+ Shell::GetInstance()->sticky_keys_controller()->Enable(true);
scoped_ptr<ui::MouseWheelEvent> ev;
SendActivateStickyKeyPattern(delegate, ui::VKEY_CONTROL);
« no previous file with comments | « ash/sticky_keys/sticky_keys_controller.cc ('k') | ash/wm/sticky_keys.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698