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

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

Issue 2642723007: chromeos: Removed enable magnifier from palette delegate. (Closed)
Patch Set: Trybot. Created 3 years, 11 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/palette_delegate.h ('k') | ash/common/test/test_palette_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 746b84e67f1412779a039f3e14f82a16ae9a6504..f3ff7b343ab512419224115ad104936b9db8458c 100644
--- a/ash/common/system/chromeos/palette/tools/magnifier_mode.cc
+++ b/ash/common/system/chromeos/palette/tools/magnifier_mode.cc
@@ -32,13 +32,13 @@ const gfx::VectorIcon& MagnifierMode::GetActiveTrayIcon() const {
void MagnifierMode::OnEnable() {
CommonPaletteTool::OnEnable();
- WmShell::Get()->palette_delegate()->SetPartialMagnifierState(true);
+ WmShell::Get()->SetPartialMagnifierEnabled(true);
delegate()->HidePalette();
}
void MagnifierMode::OnDisable() {
CommonPaletteTool::OnDisable();
- WmShell::Get()->palette_delegate()->SetPartialMagnifierState(false);
+ WmShell::Get()->SetPartialMagnifierEnabled(false);
}
views::View* MagnifierMode::CreateView() {
« no previous file with comments | « ash/common/palette_delegate.h ('k') | ash/common/test/test_palette_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698