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

Side by Side Diff: ash/aura/pointer_watcher_adapter_unittest.cc

Issue 2734653002: chromeos: Move files in //ash/common to //ash (Closed)
Patch Set: fix a11y tests, fix docs Created 3 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 unified diff | Download patch
« no previous file with comments | « ash/aura/key_event_watcher_aura.h ('k') | ash/aura/wm_shell_aura.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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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/common/wm_shell.h"
6 #include "ash/test/ash_test_base.h" 5 #include "ash/test/ash_test_base.h"
6 #include "ash/wm_shell.h"
7 #include "ui/events/base_event_utils.h" 7 #include "ui/events/base_event_utils.h"
8 #include "ui/events/event.h" 8 #include "ui/events/event.h"
9 #include "ui/events/test/event_generator.h" 9 #include "ui/events/test/event_generator.h"
10 #include "ui/views/pointer_watcher.h" 10 #include "ui/views/pointer_watcher.h"
11 #include "ui/views/widget/widget.h" 11 #include "ui/views/widget/widget.h"
12 12
13 namespace ash { 13 namespace ash {
14 14
15 using PointerWatcherAdapterTest = test::AshTestBase; 15 using PointerWatcherAdapterTest = test::AshTestBase;
16 16
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 GetEventGenerator().MoveTouchId(gfx::Point(20, 30), touch_id); 201 GetEventGenerator().MoveTouchId(gfx::Point(20, 30), touch_id);
202 helper.ExpectCallCount(NONE, NONE, DRAG); 202 helper.ExpectCallCount(NONE, NONE, DRAG);
203 203
204 // Release: both (contrary to mouse above, touch does not implicitly generate 204 // Release: both (contrary to mouse above, touch does not implicitly generate
205 // capture). 205 // capture).
206 GetEventGenerator().ReleaseTouchId(touch_id); 206 GetEventGenerator().ReleaseTouchId(touch_id);
207 helper.ExpectCallCount(PRESS_OR_RELEASE, PRESS_OR_RELEASE, PRESS_OR_RELEASE); 207 helper.ExpectCallCount(PRESS_OR_RELEASE, PRESS_OR_RELEASE, PRESS_OR_RELEASE);
208 } 208 }
209 209
210 } // namespace ash 210 } // namespace ash
OLDNEW
« no previous file with comments | « ash/aura/key_event_watcher_aura.h ('k') | ash/aura/wm_shell_aura.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698