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

Unified Diff: ash/display/display_util.cc

Issue 2434463004: mash: Move directly linked NewWindowDelegate to mojom::NewWindowClient. (Closed)
Patch Set: Rebase to ToT Created 4 years, 2 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 d61349bc368f6cbe6cab8fa3d1faf96390874445..d6f2892652cc8d70f292cdd2f414f196f0fe742f 100644
--- a/ash/display/display_util.cc
+++ b/ash/display/display_util.cc
@@ -5,17 +5,16 @@
#include "ash/display/display_util.h"
#include <algorithm>
+#include <utility>
-#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/display/extended_mouse_warp_controller.h"
#include "ash/display/null_mouse_warp_controller.h"
#include "ash/display/unified_mouse_warp_controller.h"
-
#include "ash/host/ash_window_tree_host.h"
+#include "ash/public/interfaces/new_window.mojom.h"
#include "ash/shell.h"
#include "base/strings/string_number_conversions.h"
#include "grit/ash_resources.h"
@@ -54,7 +53,7 @@ class DisplayErrorNotificationDelegate
bool HasClickedListener() override { return true; }
void Click() override {
- WmShell::Get()->new_window_delegate()->OpenFeedbackPage();
+ WmShell::Get()->new_window_client()->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