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

Unified Diff: ash/mus/shell_delegate_mus.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/mus/new_window_delegate_mus.cc ('k') | ash/new_window_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/mus/shell_delegate_mus.cc
diff --git a/ash/mus/shell_delegate_mus.cc b/ash/mus/shell_delegate_mus.cc
index 301f6157a9a78b4cfc03709555c0b81bdde954ad..15c61802d1e1cb5d53d8c78d36a0381b633d095f 100644
--- a/ash/mus/shell_delegate_mus.cc
+++ b/ash/mus/shell_delegate_mus.cc
@@ -12,6 +12,7 @@
#include "ash/common/session/session_state_delegate.h"
#include "ash/common/system/tray/default_system_tray_delegate.h"
#include "ash/mus/accessibility_delegate_mus.h"
+#include "ash/mus/new_window_delegate_mus.h"
#include "base/memory/ptr_util.h"
#include "base/strings/string16.h"
#include "components/user_manager/user_info_impl.h"
@@ -187,8 +188,7 @@ AccessibilityDelegate* ShellDelegateMus::CreateAccessibilityDelegate() {
}
NewWindowDelegate* ShellDelegateMus::CreateNewWindowDelegate() {
- NOTIMPLEMENTED();
- return nullptr;
+ return new mus::NewWindowDelegateMus;
}
MediaDelegate* ShellDelegateMus::CreateMediaDelegate() {
« no previous file with comments | « ash/mus/new_window_delegate_mus.cc ('k') | ash/new_window_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698