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

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: smaller CL, only with crucial bits (see comment #53) 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)
+ NOTREACHED() << "For Ozone builds, only --mash launch is supported for now.";
+ return nullptr;
+#else
return new DesktopBrowserFrameAuraLinux(browser_frame, browser_view);
+#endif
}

Powered by Google App Engine
This is Rietveld 408576698