Chromium Code Reviews| 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..e0058950c37edd78819d05a9147408e91cb2b189 100644 |
| --- a/chrome/browser/ui/ash/palette_delegate_chromeos.cc |
| +++ b/chrome/browser/ui/ash/palette_delegate_chromeos.cc |
| @@ -6,6 +6,7 @@ |
| #include "ash/accelerators/accelerator_controller_delegate_aura.h" |
| #include "ash/common/system/chromeos/palette/palette_utils.h" |
| +#include "ash/laser/laser_pointer_controller.h" |
|
jdufault
2016/09/16 19:58:41
Remove?
sammiequon
2016/09/16 20:37:40
Done.
|
| #include "ash/magnifier/partial_magnification_controller.h" |
| #include "ash/screenshot_delegate.h" |
| #include "ash/shell.h" |
| @@ -222,16 +223,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 |