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

Unified Diff: ash/laser/laser_pointer_controller.cc

Issue 2644713002: cros: Use runtime stylus detection for ash palette. (Closed)
Patch Set: Fix test Created 3 years, 10 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/test/test_palette_delegate.cc ('k') | ash/magnifier/partial_magnification_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/laser/laser_pointer_controller.cc
diff --git a/ash/laser/laser_pointer_controller.cc b/ash/laser/laser_pointer_controller.cc
index 3559bad40e6c381fb8839302ac29236b151b61bd..e979549d70281e9299c140dcda8a25e91ac058ed 100644
--- a/ash/laser/laser_pointer_controller.cc
+++ b/ash/laser/laser_pointer_controller.cc
@@ -70,7 +70,7 @@ void LaserPointerController::OnTouchEvent(ui::TouchEvent* event) {
// Start a new laser session if the stylus is pressed but not pressed over the
// palette.
if (event->type() == ui::ET_TOUCH_PRESSED &&
- !PaletteContainsPointInScreen(event_location)) {
+ !palette_utils::PaletteContainsPointInScreen(event_location)) {
DestroyLaserPointerView();
UpdateLaserPointerView(current_window, event_location, event);
}
« no previous file with comments | « ash/common/test/test_palette_delegate.cc ('k') | ash/magnifier/partial_magnification_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698