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

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: Make it possible to launch chrome --mash with ozone_platform={wayland|x11}, chromeos=0 Created 4 years, 2 months 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 7515c037292a73af9769b0c19ce9dc311ceb9b20..cce91a0fe2af4c7fcb0bbe93be1389312c128344 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 (shell::ShellIsRemote())
return new BrowserFrameMus(browser_frame, browser_view);
+
+#if !defined(USE_OZONE)
rjkroege 2016/10/11 18:49:47 this looks strange. i.e.: something is not right h
sadrul 2016/10/11 19:14:14 What happens if you use this piece of code with oz
tonikitoo 2016/10/12 13:44:23 In patchset #3, in if you look at chrome/browser/u
return new DesktopBrowserFrameAuraLinux(browser_frame, browser_view);
+#else
+ return nullptr;
+#endif
}

Powered by Google App Engine
This is Rietveld 408576698