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

Unified Diff: chrome/browser/ui/ash/palette_delegate_chromeos.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
« no previous file with comments | « chrome/browser/ui/ash/palette_delegate_chromeos.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/ash/palette_delegate_chromeos.cc
diff --git a/chrome/browser/ui/ash/palette_delegate_chromeos.cc b/chrome/browser/ui/ash/palette_delegate_chromeos.cc
index bcc0fddc2223ce400eae27cd22543c7140bd79a9..b777bd476236a1a47f08bfb46cccfe2883506c3f 100644
--- a/chrome/browser/ui/ash/palette_delegate_chromeos.cc
+++ b/chrome/browser/ui/ash/palette_delegate_chromeos.cc
@@ -222,16 +222,4 @@ void PaletteDelegateChromeOS::CancelPartialScreenshot() {
void PaletteDelegateChromeOS::OnStylusStateChanged(ui::StylusState state) {
on_stylus_state_changed_.Run(state);
}
-
-void PaletteDelegateChromeOS::OnLaserPointerEnabled() {
- // We lock the cursor after we hide it because compound_event_filter.cc will
- // attempt to call ShowCursor every time it recieves a mouse event.
- ash::Shell::GetInstance()->cursor_manager()->HideCursor();
- ash::Shell::GetInstance()->cursor_manager()->LockCursor();
-}
-
-void PaletteDelegateChromeOS::OnLaserPointerDisabled() {
- ash::Shell::GetInstance()->cursor_manager()->UnlockCursor();
- ash::Shell::GetInstance()->cursor_manager()->ShowCursor();
-}
} // namespace chromeos
« no previous file with comments | « chrome/browser/ui/ash/palette_delegate_chromeos.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698