| Index: chrome/browser/ui/views/frame/native_browser_frame_factory_aurawin.cc
|
| diff --git a/chrome/browser/ui/views/frame/native_browser_frame_factory_aurawin.cc b/chrome/browser/ui/views/frame/native_browser_frame_factory_aurawin.cc
|
| index 8b20e3a304f1a1bff31773926189041c0d91844a..efb82a5cd5c003a129240f7cca9f7b702139861c 100644
|
| --- a/chrome/browser/ui/views/frame/native_browser_frame_factory_aurawin.cc
|
| +++ b/chrome/browser/ui/views/frame/native_browser_frame_factory_aurawin.cc
|
| @@ -5,12 +5,22 @@
|
| #include "chrome/browser/ui/views/frame/native_browser_frame_factory.h"
|
|
|
| #include "ash/shell.h"
|
| +#include "chrome/browser/mojo_runner_util.h"
|
| #include "chrome/browser/ui/views/frame/browser_frame_ashwin.h"
|
| #include "chrome/browser/ui/views/frame/desktop_browser_frame_aura.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 BrowserFrameAshWin(browser_frame, browser_view);
|
|
|
|
|