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

Unified Diff: ash/sticky_keys/sticky_keys_unittest.cc

Issue 212603005: Don't handle NaturalScroll in Chrome but pass it to CMT instead (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed Ash unit tests Created 6 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/chromeos/chrome_browser_main_chromeos.cc » ('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/sticky_keys/sticky_keys_unittest.cc b/ash/sticky_keys/sticky_keys_unittest.cc
index 8ae0a1d402f5da4b5334a72fae940d49a0c2c4b6..8f7a2a33b756a6bae9e6cf513478ccbe5e51839b 100644
--- a/ash/sticky_keys/sticky_keys_unittest.cc
+++ b/ash/sticky_keys/sticky_keys_unittest.cc
@@ -618,9 +618,6 @@ TEST_F(StickyKeysTest, MouseEventLocked) {
}
TEST_F(StickyKeysTest, ScrollEventOneshot) {
- // Disable Australlian scrolling.
- ui::DeviceDataManager::GetInstance()->set_natural_scroll_enabled(true);
-
scoped_ptr<ui::ScrollEvent> ev;
scoped_ptr<ui::KeyEvent> kev;
MockStickyKeysHandlerDelegate* mock_delegate =
@@ -670,9 +667,6 @@ TEST_F(StickyKeysTest, ScrollEventOneshot) {
}
TEST_F(StickyKeysTest, ScrollDirectionChanged) {
- // Disable Australlian scrolling.
- ui::DeviceDataManager::GetInstance()->set_natural_scroll_enabled(true);
-
scoped_ptr<ui::ScrollEvent> ev;
scoped_ptr<ui::KeyEvent> kev;
MockStickyKeysHandlerDelegate* mock_delegate =
@@ -707,9 +701,6 @@ TEST_F(StickyKeysTest, ScrollDirectionChanged) {
}
TEST_F(StickyKeysTest, ScrollEventLocked) {
- // Disable Australlian scrolling.
- ui::DeviceDataManager::GetInstance()->set_natural_scroll_enabled(true);
-
scoped_ptr<ui::ScrollEvent> ev;
scoped_ptr<ui::KeyEvent> kev;
MockStickyKeysHandlerDelegate* mock_delegate =
« no previous file with comments | « no previous file | chrome/browser/chromeos/chrome_browser_main_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698