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

Side by Side Diff: ash/laser/laser_pointer_controller_test_api.h

Issue 2361563002: chromeos: Laser tool blocks events from propagating. (Closed)
Patch Set: Created 4 years, 3 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/laser/laser_pointer_controller.cc ('k') | ash/laser/laser_pointer_controller_test_api.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef ASH_LASER_LASER_POINTER_CONTROLLER_TEST_API_H_
6 #define ASH_LASER_LASER_POINTER_CONTROLLER_TEST_API_H_
7
8 #include "base/macros.h"
9
10 namespace ash {
11
12 class LaserPointerController;
13 class LaserPointerPoints;
14 class LaserPointerView;
15
16 // An api for testing the LaserPointerController class.
17 class LaserPointerControllerTestApi {
18 public:
19 explicit LaserPointerControllerTestApi(LaserPointerController* instance);
20 ~LaserPointerControllerTestApi();
21
22 void SetEnabled(bool enabled);
23 bool IsShowingLaserPointer();
24 const LaserPointerPoints& laser_points();
25 LaserPointerView* laser_pointer_view();
26
27 private:
28 LaserPointerController* instance_;
29
30 DISALLOW_COPY_AND_ASSIGN(LaserPointerControllerTestApi);
31 };
32
33 } // namespace ash
34
35 #endif // ASH_LASER_LASER_POINTER_CONTROLLER_TEST_API_H_
OLDNEW
« no previous file with comments | « ash/laser/laser_pointer_controller.cc ('k') | ash/laser/laser_pointer_controller_test_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698