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

Unified Diff: components/arc/intent_helper/arc_intent_helper_bridge.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 | « chrome/browser/ui/webui/settings/chromeos/device_keyboard_handler.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/arc/intent_helper/arc_intent_helper_bridge.cc
diff --git a/components/arc/intent_helper/arc_intent_helper_bridge.cc b/components/arc/intent_helper/arc_intent_helper_bridge.cc
index 47098175db9a8523ba99810bd44b43111689c531..c18ef79fc0c8e6f2a04bb331d85e05a8cbe09943 100644
--- a/components/arc/intent_helper/arc_intent_helper_bridge.cc
+++ b/components/arc/intent_helper/arc_intent_helper_bridge.cc
@@ -7,10 +7,10 @@
#include <utility>
#include <vector>
+#include "ash/common/new_window_delegate.h"
#include "ash/common/shell_delegate.h"
#include "ash/common/wm_shell.h"
#include "ash/desktop_background/user_wallpaper_delegate.h"
-#include "ash/new_window_delegate.h"
#include "ash/shell.h"
#include "base/memory/weak_ptr.h"
#include "components/arc/intent_helper/activity_icon_loader.h"
@@ -71,7 +71,7 @@ void ArcIntentHelperBridge::OnOpenDownloads() {
// downloads by default, which is what we want. However if it is open it will
// simply be brought to the forgeground without forcibly being navigated to
// downloads, which is probably not ideal.
- ash::Shell::GetInstance()->new_window_delegate()->OpenFileManager();
+ ash::WmShell::Get()->new_window_delegate()->OpenFileManager();
}
void ArcIntentHelperBridge::OnOpenUrl(const mojo::String& url) {
« no previous file with comments | « chrome/browser/ui/webui/settings/chromeos/device_keyboard_handler.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698