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

Unified Diff: ash/common/system/chromeos/palette/tools/laser_pointer_mode_test_api.cc

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_mode_test_api.cc
diff --git a/ash/common/system/chromeos/palette/tools/laser_pointer_mode_test_api.cc b/ash/common/system/chromeos/palette/tools/laser_pointer_mode_test_api.cc
deleted file mode 100644
index 29ee5687d9e4574792c805ae59c448b3f218e7cc..0000000000000000000000000000000000000000
--- a/ash/common/system/chromeos/palette/tools/laser_pointer_mode_test_api.cc
+++ /dev/null
@@ -1,35 +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.
-
-#include "ash/common/system/chromeos/palette/tools/laser_pointer_mode_test_api.h"
-
-#include "ash/common/system/chromeos/palette/tools/laser_pointer_mode.h"
-#include "ash/common/system/chromeos/palette/tools/laser_pointer_points.h"
-#include "ash/common/system/chromeos/palette/tools/laser_pointer_view.h"
-
-namespace ash {
-
-LaserPointerModeTestApi::LaserPointerModeTestApi(
- std::unique_ptr<LaserPointerMode> instance)
- : instance_(std::move(instance)) {}
-
-LaserPointerModeTestApi::~LaserPointerModeTestApi() {}
-
-void LaserPointerModeTestApi::OnEnable() {
- instance_->OnEnable();
-}
-
-void LaserPointerModeTestApi::OnDisable() {
- instance_->OnDisable();
-}
-
-const LaserPointerPoints& LaserPointerModeTestApi::laser_points() {
- return instance_->laser_pointer_view_->laser_points_;
-}
-
-const gfx::Point& LaserPointerModeTestApi::current_mouse_location() {
- return instance_->current_mouse_location_;
-}
-
-} // namespace ash

Powered by Google App Engine
This is Rietveld 408576698