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

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

Issue 2808723004: Renames WmShell to ShellPort (Closed)
Patch Set: feedback Created 3 years, 8 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/system/palette/tools/magnifier_mode.cc
diff --git a/ash/system/palette/tools/magnifier_mode.cc b/ash/system/palette/tools/magnifier_mode.cc
index 411f81d9b30b8b2a917a61d555a70591e9543cd1..29b6db7c8707587c08beca63c32a5ba9c274dc9f 100644
--- a/ash/system/palette/tools/magnifier_mode.cc
+++ b/ash/system/palette/tools/magnifier_mode.cc
@@ -6,9 +6,9 @@
#include "ash/palette_delegate.h"
#include "ash/resources/vector_icons/vector_icons.h"
+#include "ash/shell_port.h"
#include "ash/strings/grit/ash_strings.h"
#include "ash/system/palette/palette_ids.h"
-#include "ash/wm_shell.h"
#include "ui/base/l10n/l10n_util.h"
namespace ash {
@@ -32,13 +32,13 @@ const gfx::VectorIcon& MagnifierMode::GetActiveTrayIcon() const {
void MagnifierMode::OnEnable() {
CommonPaletteTool::OnEnable();
- WmShell::Get()->SetPartialMagnifierEnabled(true);
+ ShellPort::Get()->SetPartialMagnifierEnabled(true);
delegate()->HidePalette();
}
void MagnifierMode::OnDisable() {
CommonPaletteTool::OnDisable();
- WmShell::Get()->SetPartialMagnifierEnabled(false);
+ ShellPort::Get()->SetPartialMagnifierEnabled(false);
}
views::View* MagnifierMode::CreateView() {

Powered by Google App Engine
This is Rietveld 408576698