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

Unified Diff: ash/display/display_util.cc

Issue 2192613002: Moves NewWindowDelegate to ash/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: order Created 4 years, 5 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
« no previous file with comments | « ash/common/wm_shell.cc ('k') | ash/mus/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/display/display_util.cc
diff --git a/ash/display/display_util.cc b/ash/display/display_util.cc
index bd1c2e326f2fc95b531f81daf68fea91430aa688..f5fba968680a112b38bb2a59174d05430082685b 100644
--- a/ash/display/display_util.cc
+++ b/ash/display/display_util.cc
@@ -7,10 +7,11 @@
#include <algorithm>
#include "ash/common/display/display_info.h"
+#include "ash/common/new_window_delegate.h"
#include "ash/common/system/system_notifier.h"
+#include "ash/common/wm_shell.h"
#include "ash/display/display_manager.h"
#include "ash/host/ash_window_tree_host.h"
-#include "ash/new_window_delegate.h"
#include "ash/shell.h"
#include "base/strings/string_number_conversions.h"
#include "grit/ash_resources.h"
@@ -48,7 +49,7 @@ class DisplayErrorNotificationDelegate
bool HasClickedListener() override { return true; }
void Click() override {
- Shell::GetInstance()->new_window_delegate()->OpenFeedbackPage();
+ WmShell::Get()->new_window_delegate()->OpenFeedbackPage();
}
private:
« no previous file with comments | « ash/common/wm_shell.cc ('k') | ash/mus/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698