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

Unified Diff: chrome/browser/ui/browser_navigator.cc

Issue 1461243002: [OLD ATTEMPT, DO NOT REVIEW] mustash: Enable connections to mus from the Chrome renderer Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed Ben's comments Created 5 years, 1 month 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 | « no previous file | content/browser/BUILD.gn » ('j') | content/common/mojo/mojo_shell_connection_impl.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/browser_navigator.cc
diff --git a/chrome/browser/ui/browser_navigator.cc b/chrome/browser/ui/browser_navigator.cc
index 0bbf877a3bd2742de863688c0c6f342da87488c0..6ca08ad1116c9f84a789c6680c71cfdc3c498952 100644
--- a/chrome/browser/ui/browser_navigator.cc
+++ b/chrome/browser/ui/browser_navigator.cc
@@ -368,6 +368,10 @@ content::WebContents* CreateTargetContents(const chrome::NavigateParams& params,
params.browser->window()->GetNativeWindow()) {
create_params.context =
params.browser->window()->GetNativeWindow();
+#if defined(MOJO_SHELL_CLIENT)
+ create_params.mus_window = static_cast<mus::Window*>(
+ create_params.context->GetNativeWindowProperty("mus"));
Ben Goodger (Google) 2015/11/24 15:30:05 let's create a helper function somewhere and use t
Fady Samuel 2015/11/24 17:06:36 Done.
+#endif
}
#endif
« no previous file with comments | « no previous file | content/browser/BUILD.gn » ('j') | content/common/mojo/mojo_shell_connection_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698