DescriptionLibGtkUi: Partition NativeThemeGtk into NativeThemeGtk2 and NativeThemeGtk3
When complete, the Gtk3 theming code will look completely different
from the Gtk2 code. This CL splits out NativeThemeGtk in preparation
of this change.
The planned change for gtk3 is to use foreign drawing (see
gtk/demos/gtk-demo/foreigndrawing.c) to provide an implementation of
NativeTheme::GetPartSize and NativeTheme::Paint*.
The Gtk2 theme will continue to use the NativeThemeBase
implementations of these functions while just supplying basic colors.
BUG=132847
R=erg@chromium.org
Committed: https://crrev.com/d20ec3c985ef745d0069e9b12b0e10d10f1bdb80
Cr-Commit-Position: refs/heads/master@{#439027}
Patch Set 1 #Patch Set 2 : Fix gn check #Patch Set 3 : Fix lsan error #
Dependent Patchsets: Messages
Total messages: 23 (16 generated)
|