/cc tom anderson
As far as I know, the Gtk specific LinuxUI object is instantiated in
69 void ChromeBrowserMainExtraPartsViewsLinux::PreEarlyInitialization() {
70 // TODO(erg): Refactor this into a dlopen call when we add a GTK3 port.
71 views::LinuxUI* gtk2_ui = BuildGtkUi();
72 gtk2_ui->SetNativeThemeOverride(base::Bind(&GetNativeThemeForWindow));
73 views::LinuxUI::SetInstance(gtk2_ui);
74 }
... which is a code path that OZONE builds do *not* take:
912 #if defined(TOOLKIT_VIEWS)
913 #if defined(OS_LINUX) && !defined(OS_CHROMEOS) && !defined(USE_OZONE)
914 main_parts->AddParts(new ChromeBrowserMainExtraPartsViewsLinux());
915 #else
916 main_parts->AddParts(new ChromeBrowserMainExtraPartsViews());
917 #endif
918 #endif
what is more, although Gtk3 has builtin Wayland support, it does not
necessarily mean Chrome built with Gtk3+Wayland will just work
(without X11). Gtk is used for specific bits within Chrome (theming,
some dialogs, IIRC), whereas Aura is the Graphics toolkip that Chrome
uses. Aura itself relies on X11 for Chrome/Linux (officially).
You seem to need Ozone/Wayland backend for Chrome, which is being
worked out offtrunk (for now):
https://github.com/Igalia/chromium/.
More questions:
- How are you building (GN args, etc)?
- What is your Chromium checkout baseline?
--
--Antonio Gomes