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

Unified Diff: ash/common/system/chromeos/palette/tools/magnifier_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
Index: ash/common/system/chromeos/palette/tools/magnifier_mode.cc
diff --git a/ash/common/system/chromeos/palette/tools/magnifier_mode.cc b/ash/common/system/chromeos/palette/tools/magnifier_mode.cc
index b7cf5f04b2ff7540bac34c5b855fbbea4500da8c..746b84e67f1412779a039f3e14f82a16ae9a6504 100644
--- a/ash/common/system/chromeos/palette/tools/magnifier_mode.cc
+++ b/ash/common/system/chromeos/palette/tools/magnifier_mode.cc
@@ -33,6 +33,7 @@ const gfx::VectorIcon& MagnifierMode::GetActiveTrayIcon() const {
void MagnifierMode::OnEnable() {
CommonPaletteTool::OnEnable();
WmShell::Get()->palette_delegate()->SetPartialMagnifierState(true);
+ delegate()->HidePalette();
}
void MagnifierMode::OnDisable() {

Powered by Google App Engine
This is Rietveld 408576698