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

Unified Diff: ash/shelf/overflow_bubble.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/shelf/overflow_bubble.cc
diff --git a/ash/shelf/overflow_bubble.cc b/ash/shelf/overflow_bubble.cc
index df72d2d43ac5fc16d31acdcb7cf4b33d84602be5..8ba93b1c54a13c8db5e313e3233b569be4a0c7f3 100644
--- a/ash/shelf/overflow_bubble.cc
+++ b/ash/shelf/overflow_bubble.cc
@@ -8,8 +8,8 @@
#include "ash/shelf/overflow_button.h"
#include "ash/shelf/shelf_view.h"
#include "ash/shelf/wm_shelf.h"
+#include "ash/shell_port.h"
#include "ash/system/tray/tray_background_view.h"
-#include "ash/wm_shell.h"
#include "ui/gfx/geometry/rect.h"
#include "ui/views/widget/widget.h"
@@ -21,13 +21,13 @@ OverflowBubble::OverflowBubble(WmShelf* wm_shelf)
overflow_button_(nullptr),
shelf_view_(nullptr) {
DCHECK(wm_shelf_);
- WmShell::Get()->AddPointerWatcher(this,
- views::PointerWatcherEventTypes::BASIC);
+ ShellPort::Get()->AddPointerWatcher(this,
+ views::PointerWatcherEventTypes::BASIC);
}
OverflowBubble::~OverflowBubble() {
Hide();
- WmShell::Get()->RemovePointerWatcher(this);
+ ShellPort::Get()->RemovePointerWatcher(this);
}
void OverflowBubble::Show(OverflowButton* overflow_button,

Powered by Google App Engine
This is Rietveld 408576698