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

Side by Side Diff: ash/common/system/chromeos/palette/tools/laser_pointer_points_test_api.h

Issue 2239743004: Palette tool laser prototype. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@patch
Patch Set: Fixed patch set 9 errors. Created 4 years, 4 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
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_COMMON_SYSTEM_CHROMEOS_PALETTE_TOOLS_LASER_POINTER_POINTS_TESTAPI_H_
6 #define ASH_COMMON_SYSTEM_CHROMEOS_PALETTE_TOOLS_LASER_POINTER_POINTS_TESTAPI_H_
7
8 #include <memory>
9
10 #include "base/time/time.h"
11
12 namespace ash {
13
14 class LaserPointerPoints;
15
16 // An api for testing the laser_pointer_points class.
17 class LaserPointerPointsTestApi {
18 public:
19 LaserPointerPointsTestApi(std::unique_ptr<LaserPointerPoints> instance);
20 ~LaserPointerPointsTestApi();
21
22 int GetNumberOfPoints() const;
23 void MoveForwardInTime(const base::TimeDelta& delta);
jdufault 2016/08/24 00:20:57 Add a comment to this function saying it moves exi
sammiequon 2016/08/24 17:30:19 Done.
24
25 private:
26 // The time the new points are added.
27 base::Time new_point_time_;
28 std::unique_ptr<LaserPointerPoints> instance_;
29
30 DISALLOW_COPY_AND_ASSIGN(LaserPointerPointsTestApi);
31 };
32 } // namespace ash
33
34 #endif // ASH_COMMON_SYSTEM_CHROMEOS_PALETTE_TOOLS_LASER_POINTER_POINTS_TESTAPI _H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698