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

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: 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..76f69c997457486b6663ed3a7c0bd15823e1b8d9 100644
--- a/ui/aura/remote_root_window_host_win.cc
+++ b/ui/aura/remote_root_window_host_win.cc
@@ -172,6 +172,13 @@ bool RemoteRootWindowHostWin::OnMessageReceived(const IPC::Message& message) {
return handled;
}
+void RemoteRootWindowHostWin::HandleOpenURLOnDesktop(
+ const base::string16& shortcut, const base::string16& url) {
Bernhard Bauer 2013/08/30 07:50:34 Does this need to be a string16? You're converting
sky 2013/08/30 17:06:56 nit: when you wrap, one param per line.
zturner 2013/08/30 17:14:44 Just to make sure I'm following you, you're saying
zturner 2013/08/30 18:10:06 Done.
zturner 2013/08/30 18:10:06 Done.
+ 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