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

Unified Diff: ui/aura/remote_root_window_host_win.cc

Issue 23592024: Make the metro viewer responsible for relaunching browser in desktop mode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Compile out LaunchDesktopInstanceHelper on non-AURA and fix style issues. Created 7 years, 4 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: ui/aura/remote_root_window_host_win.cc
diff --git a/ui/aura/remote_root_window_host_win.cc b/ui/aura/remote_root_window_host_win.cc
index d42853895780c28029f4d507616459a9405f4a8a..c3a10e096002e9f0b2cce9a45effe41d185dc857 100644
--- a/ui/aura/remote_root_window_host_win.cc
+++ b/ui/aura/remote_root_window_host_win.cc
@@ -172,6 +172,14 @@ bool RemoteRootWindowHostWin::OnMessageReceived(const IPC::Message& message) {
return handled;
}
+void RemoteRootWindowHostWin::HandleOpenURLOnDesktop(
+ const base::FilePath& shortcut,
+ const base::string16& url) {
+ if (!host_)
+ return;
+ host_->Send(new MetroViewerHostMsg_OpenURLOnDesktop(shortcut, url));
+}
+
void RemoteRootWindowHostWin::HandleOpenFile(
const base::string16& title,
const base::FilePath& default_path,

Powered by Google App Engine
This is Rietveld 408576698