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

Unified Diff: ash/common/system/chromeos/palette/tools/laser_pointer_points_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 side-by-side diff with in-line comments
Download patch
Index: ash/common/system/chromeos/palette/tools/laser_pointer_points_test_api.h
diff --git a/ash/common/system/chromeos/palette/tools/laser_pointer_points_test_api.h b/ash/common/system/chromeos/palette/tools/laser_pointer_points_test_api.h
deleted file mode 100644
index e4b2c293ed1eb5a4d13dd75d9afa69f3796798fe..0000000000000000000000000000000000000000
--- a/ash/common/system/chromeos/palette/tools/laser_pointer_points_test_api.h
+++ /dev/null
@@ -1,36 +0,0 @@
-// Copyright 2016 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef ASH_COMMON_SYSTEM_CHROMEOS_PALETTE_TOOLS_LASER_POINTER_POINTS_TESTAPI_H_
-#define ASH_COMMON_SYSTEM_CHROMEOS_PALETTE_TOOLS_LASER_POINTER_POINTS_TESTAPI_H_
-
-#include <memory>
-
-#include "base/time/time.h"
-
-namespace ash {
-
-class LaserPointerPoints;
-
-// An api for testing the laser_pointer_points class.
-class LaserPointerPointsTestApi {
- public:
- LaserPointerPointsTestApi(std::unique_ptr<LaserPointerPoints> instance);
- ~LaserPointerPointsTestApi();
-
- int GetNumberOfPoints() const;
- // Moves existing points back in time by |delta| and adds a new point at
- // (0,0).
- void MoveForwardInTime(const base::TimeDelta& delta);
-
- private:
- // The time the new points are added.
- base::Time new_point_time_;
- std::unique_ptr<LaserPointerPoints> instance_;
-
- DISALLOW_COPY_AND_ASSIGN(LaserPointerPointsTestApi);
-};
-} // namespace ash
-
-#endif // ASH_COMMON_SYSTEM_CHROMEOS_PALETTE_TOOLS_LASER_POINTER_POINTS_TESTAPI_H_

Powered by Google App Engine
This is Rietveld 408576698