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

Unified Diff: ash/frame/header_view.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/frame/header_view.cc
diff --git a/ash/frame/header_view.cc b/ash/frame/header_view.cc
index ccc45ad5539dd97e6107ee9efbdcfb09080037b4..c59c5774b4fe34a00977d05bd1801c147549afc7 100644
--- a/ash/frame/header_view.cc
+++ b/ash/frame/header_view.cc
@@ -8,7 +8,7 @@
#include "ash/frame/default_header_painter.h"
#include "ash/session/session_state_delegate.h"
#include "ash/shell.h"
-#include "ash/wm_shell.h"
+#include "ash/shell_port.h"
#include "ash/wm_window.h"
#include "ui/gfx/canvas.h"
#include "ui/views/controls/image_view.h"
@@ -66,7 +66,7 @@ int HeaderView::GetMinimumWidth() const {
}
void HeaderView::UpdateAvatarIcon() {
- SessionStateDelegate* delegate = WmShell::Get()->GetSessionStateDelegate();
+ SessionStateDelegate* delegate = ShellPort::Get()->GetSessionStateDelegate();
WmWindow* window = WmWindow::Get(target_widget_->GetNativeWindow());
bool show = delegate->ShouldShowAvatar(window);
if (!show) {

Powered by Google App Engine
This is Rietveld 408576698