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

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

Issue 2368713002: cros: Small tweaks to palette behavior. (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 | « no previous file | ash/common/system/chromeos/palette/tools/magnifier_mode.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 6766eafb7cc55aec52c64af67aac3b08f550deb3..2106131db850ea07f496edcfc33ccfcb5c423b64 100644
--- a/ash/common/system/chromeos/palette/tools/laser_pointer_mode.cc
+++ b/ash/common/system/chromeos/palette/tools/laser_pointer_mode.cc
@@ -31,6 +31,7 @@ void LaserPointerMode::OnEnable() {
CommonPaletteTool::OnEnable();
WmShell::Get()->SetLaserPointerEnabled(true);
+ delegate()->HidePalette();
}
void LaserPointerMode::OnDisable() {
« no previous file with comments | « no previous file | ash/common/system/chromeos/palette/tools/magnifier_mode.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698