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

Unified Diff: chrome/browser/ui/views/frame/native_browser_frame_factory_auralinux.cc

Issue 2408803002: Make it possible to launch chrome --mash with ozone_platform={wayland|x11}, chromeos=0 (Closed)
Patch Set: do not bundle ash resources into chrome Created 4 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
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 44dd8b526135f2acfec2a73a12a5f5b5ba12c136..329a4df2fe6852641d0374caa52feb4eadc0e921 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
@@ -13,5 +13,10 @@ NativeBrowserFrame* NativeBrowserFrameFactory::Create(
BrowserView* browser_view) {
if (service_manager::ServiceManagerIsRemote())
return new BrowserFrameMus(browser_frame, browser_view);
+#if defined(USE_OZONE)
sky 2016/11/07 16:28:00 native_browser_frame_factory_ozone?
tonikitoo 2016/11/07 16:36:20 Done.
+ NOTREACHED() << "For Ozone builds, only --mash launch is supported for now.";
+ return nullptr;
+#else
return new DesktopBrowserFrameAuraLinux(browser_frame, browser_view);
+#endif
}
« no previous file with comments | « chrome/browser/ui/views/chrome_browser_main_extra_parts_views.cc ('k') | chrome/browser/ui/views/tabs/window_finder_ozone.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698