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

Unified Diff: ash/wm/system_modal_container_event_filter.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/wm/system_modal_container_event_filter.cc
diff --git a/ash/wm/system_modal_container_event_filter.cc b/ash/wm/system_modal_container_event_filter.cc
index 7352ec7cdb2b173a8324d895a08548ca25a870ea..93a3be97369777e9ddff6a450cb727b520192130 100644
--- a/ash/wm/system_modal_container_event_filter.cc
+++ b/ash/wm/system_modal_container_event_filter.cc
@@ -3,8 +3,8 @@
// found in the LICENSE file.
#include "ash/wm/system_modal_container_event_filter.h"
+#include "ash/shell_port.h"
#include "ash/wm/system_modal_container_event_filter_delegate.h"
-#include "ash/wm_shell.h"
#include "ui/aura/window.h"
#include "ui/events/event.h"
@@ -18,7 +18,7 @@ SystemModalContainerEventFilter::~SystemModalContainerEventFilter() {}
void SystemModalContainerEventFilter::OnEvent(ui::Event* event) {
// Only filter modal events if a modal window is open.
- if (!WmShell::Get()->IsSystemModalWindowOpen())
+ if (!ShellPort::Get()->IsSystemModalWindowOpen())
return;
aura::Window* target = static_cast<aura::Window*>(event->target());
if (!delegate_->CanWindowReceiveEvents(target))

Powered by Google App Engine
This is Rietveld 408576698