Index: chrome/browser/ui/views/frame/native_browser_frame_factory_auralinux.cc |
diff --git a/chrome/browser/ui/views/frame/native_browser_frame_factory_auralinux.cc b/chrome/browser/ui/views/frame/native_browser_frame_factory_auralinux.cc |
index 2fc944119c4d14427c650083d0249fca7219277f..339fb3ae2a57618918047b252c44a35edf24f99c 100644 |
--- a/chrome/browser/ui/views/frame/native_browser_frame_factory_auralinux.cc |
+++ b/chrome/browser/ui/views/frame/native_browser_frame_factory_auralinux.cc |
@@ -4,12 +4,22 @@ |
#include "chrome/browser/ui/views/frame/native_browser_frame_factory.h" |
+#include "chrome/browser/mojo_runner_util.h" |
#include "chrome/browser/ui/views/frame/browser_frame_ash.h" |
#include "chrome/browser/ui/views/frame/desktop_browser_frame_auralinux.h" |
+#if defined(MOJO_RUNNER_CLIENT) |
+#include "chrome/browser/ui/views/frame/browser_frame_mus.h" |
+#endif |
+ |
NativeBrowserFrame* NativeBrowserFrameFactory::Create( |
BrowserFrame* browser_frame, |
BrowserView* browser_view) { |
+#if defined(MOJO_RUNNER_CLIENT) |
+ if (IsRunningInMojoRunner()) |
+ return new BrowserFrameMus(browser_frame, browser_view); |
+#endif |
+ |
if (ShouldCreateForAshDesktop(browser_view)) |
return new BrowserFrameAsh(browser_frame, browser_view); |