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

Unified Diff: ash/system/palette/tools/laser_pointer_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/laser_pointer_mode.cc
diff --git a/ash/system/palette/tools/laser_pointer_mode.cc b/ash/system/palette/tools/laser_pointer_mode.cc
index d5c21d5f34a52f6d2d21aed0f57a8e26dead6f66..0e4b6cb116c219135439929974f0aef29f744715 100644
--- a/ash/system/palette/tools/laser_pointer_mode.cc
+++ b/ash/system/palette/tools/laser_pointer_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 {
@@ -30,14 +30,14 @@ PaletteToolId LaserPointerMode::GetToolId() const {
void LaserPointerMode::OnEnable() {
CommonPaletteTool::OnEnable();
- WmShell::Get()->SetLaserPointerEnabled(true);
+ ShellPort::Get()->SetLaserPointerEnabled(true);
delegate()->HidePalette();
}
void LaserPointerMode::OnDisable() {
CommonPaletteTool::OnDisable();
- WmShell::Get()->SetLaserPointerEnabled(false);
+ ShellPort::Get()->SetLaserPointerEnabled(false);
}
const gfx::VectorIcon& LaserPointerMode::GetActiveTrayIcon() const {

Powered by Google App Engine
This is Rietveld 408576698