OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "chrome/browser/ui/views/frame/native_browser_frame_factory.h" |
| 6 |
| 7 #include "chrome/browser/ui/views/frame/browser_frame_mus.h" |
| 8 #include "services/service_manager/runner/common/client_util.h" |
| 9 |
| 10 NativeBrowserFrame* NativeBrowserFrameFactory::Create( |
| 11 BrowserFrame* browser_frame, |
| 12 BrowserView* browser_view) { |
| 13 if (service_manager::ServiceManagerIsRemote()) |
| 14 return new BrowserFrameMus(browser_frame, browser_view); |
| 15 |
| 16 NOTREACHED() << "For Ozone builds, only --mash launch is supported for now."; |
| 17 return nullptr; |
| 18 } |
OLD | NEW |