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

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

Issue 2271393002: Wires up drags to pointer watcher adapter. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: Fixed patch set 8 errors. 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
« no previous file with comments | « ash/common/shelf/shelf_tooltip_manager.cc ('k') | ash/common/system/tray/tray_event_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/system/chromeos/palette/tools/laser_pointer_mode.cc
diff --git a/ash/common/system/chromeos/palette/tools/laser_pointer_mode.cc b/ash/common/system/chromeos/palette/tools/laser_pointer_mode.cc
index ab34ea582575ae253385439f3fd4ebb932dea4a1..a6594061e888e63a8d049beae3fccd54e368c31d 100644
--- a/ash/common/system/chromeos/palette/tools/laser_pointer_mode.cc
+++ b/ash/common/system/chromeos/palette/tools/laser_pointer_mode.cc
@@ -35,7 +35,8 @@ LaserPointerMode::LaserPointerMode(Delegate* delegate)
FROM_HERE, base::TimeDelta::FromMilliseconds(kAddStationaryPointsDelayMs),
base::Bind(&LaserPointerMode::AddStationaryPoint, base::Unretained(this)),
true));
- WmShell::Get()->AddPointerWatcher(this, true);
+ WmShell::Get()->AddPointerWatcher(this,
+ views::PointerWatcherEventTypes::DRAGS);
}
LaserPointerMode::~LaserPointerMode() {
« no previous file with comments | « ash/common/shelf/shelf_tooltip_manager.cc ('k') | ash/common/system/tray/tray_event_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698