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

Side by Side Diff: ash/accelerators/magnifier_key_scroller_unittest.cc

Issue 164823005: Long press menu (shift+f6) to toggle spoken feedback. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase 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
« no previous file with comments | « ash/accelerators/magnifier_key_scroller.cc ('k') | ash/accelerators/spoken_feedback_toggler.h » ('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/magnifier/magnifier_key_scroller.h" 5 #include "ash/accelerators/magnifier_key_scroller.h"
6 6
7 #include "ash/magnifier/magnification_controller.h" 7 #include "ash/magnifier/magnification_controller.h"
8 #include "ash/shell.h" 8 #include "ash/shell.h"
9 #include "ash/test/ash_test_base.h" 9 #include "ash/test/ash_test_base.h"
10 #include "ash/wm/window_util.h" 10 #include "ash/wm/window_util.h"
11 #include "ui/aura/test/event_generator.h" 11 #include "ui/aura/test/event_generator.h"
12 #include "ui/aura/test/test_window_delegate.h" 12 #include "ui/aura/test/test_window_delegate.h"
13 13
14 namespace ash { 14 namespace ash {
15 namespace { 15 namespace {
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 EXPECT_EQ(ui::ET_KEY_PRESSED, delegate.event()->type()); 102 EXPECT_EQ(ui::ET_KEY_PRESSED, delegate.event()->type());
103 delegate.reset(); 103 delegate.reset();
104 104
105 generator.ReleaseKey(ui::VKEY_DOWN, 0); 105 generator.ReleaseKey(ui::VKEY_DOWN, 0);
106 EXPECT_TRUE(delegate.event()); 106 EXPECT_TRUE(delegate.event());
107 EXPECT_EQ(ui::ET_KEY_RELEASED, delegate.event()->type()); 107 EXPECT_EQ(ui::ET_KEY_RELEASED, delegate.event()->type());
108 delegate.reset(); 108 delegate.reset();
109 } 109 }
110 110
111 } // namespace ash 111 } // namespace ash
OLDNEW
« no previous file with comments | « ash/accelerators/magnifier_key_scroller.cc ('k') | ash/accelerators/spoken_feedback_toggler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698