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

Issue 2579683002: LibGtkUi: Partition NativeThemeGtk into NativeThemeGtk2 and NativeThemeGtk3 (Closed)

Created:
4 years ago by Tom (Use chromium acct)
Modified:
4 years ago
Reviewers:
Elliot Glaysher
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

LibGtkUi: 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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+253 lines, -1038 lines) Patch
M chrome/browser/ui/libgtkui/BUILD.gn View 3 chunks +8 lines, -4 lines 0 comments Download
M chrome/browser/ui/libgtkui/gtk_ui.h View 1 chunk +9 lines, -0 lines 0 comments Download
M chrome/browser/ui/libgtkui/gtk_ui.cc View 1 2 18 chunks +90 lines, -67 lines 0 comments Download
M chrome/browser/ui/libgtkui/gtk_util.h View 1 chunk +16 lines, -0 lines 0 comments Download
M chrome/browser/ui/libgtkui/gtk_util.cc View 2 chunks +47 lines, -0 lines 0 comments Download
D chrome/browser/ui/libgtkui/native_theme_gtk.h View 1 chunk +0 lines, -59 lines 0 comments Download
D chrome/browser/ui/libgtkui/native_theme_gtk.cc View 1 chunk +0 lines, -571 lines 0 comments Download
A + chrome/browser/ui/libgtkui/native_theme_gtk2.h View 3 chunks +8 lines, -13 lines 0 comments Download
A + chrome/browser/ui/libgtkui/native_theme_gtk2.cc View 8 chunks +9 lines, -131 lines 0 comments Download
A chrome/browser/ui/libgtkui/native_theme_gtk3.h View 1 chunk +44 lines, -0 lines 0 comments Download
A + chrome/browser/ui/libgtkui/native_theme_gtk3.cc View 15 chunks +22 lines, -193 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 23 (16 generated)
Tom (Use chromium acct)
4 years ago (2016-12-15 03:23:08 UTC) #2
Elliot Glaysher
lgtm
4 years ago (2016-12-15 18:24:28 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2579683002/20001
4 years ago (2016-12-15 19:06:32 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/280460)
4 years ago (2016-12-15 20:35:50 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2579683002/40001
4 years ago (2016-12-16 04:06:13 UTC) #18
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years ago (2016-12-16 04:54:16 UTC) #21
commit-bot: I haz the power
4 years ago (2016-12-16 04:58:29 UTC) #23
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/d20ec3c985ef745d0069e9b12b0e10d10f1bdb80
Cr-Commit-Position: refs/heads/master@{#439027}

Powered by Google App Engine
This is Rietveld 408576698