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

Issue 2609943005: Gtk3: Add support for Gtk3.20 themes (Closed)

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

Description

Gtk3: Add support for Gtk3.20 themes Gtk3.20 added CSS names and changed a bunch of widget's classes to be names instead. This CL adds a runtime check for Gtk3.20 and uses names for newer versions, and classes otherwise. Unfortunately we must load the symbol for setting the object name dynamically since we still need to support Gtk3.10 (on Trusty). BUG=132847 R=erg@chromium.org Review-Url: https://codereview.chromium.org/2609943005 Cr-Commit-Position: refs/heads/master@{#441762} Committed: https://chromium.googlesource.com/chromium/src/+/7563580907ed85a7ec511bedc8a293ab5951cf03

Patch Set 1 #

Total comments: 2

Patch Set 2 : Move var in scope #

Unified diffs Side-by-side diffs Delta from patch set Stats (+96 lines, -70 lines) Patch
M chrome/browser/ui/libgtkui/gtk_ui.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/libgtkui/gtk_util.cc View 1 6 chunks +28 lines, -2 lines 0 comments Download
M chrome/browser/ui/libgtkui/native_theme_gtk3.cc View 5 chunks +65 lines, -65 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 10 (5 generated)
Tom (Use chromium acct)
3 years, 11 months ago (2017-01-05 02:49:50 UTC) #1
Elliot Glaysher
lgtm https://codereview.chromium.org/2609943005/diff/20001/chrome/browser/ui/libgtkui/gtk_util.cc File chrome/browser/ui/libgtkui/gtk_util.cc (right): https://codereview.chromium.org/2609943005/diff/20001/chrome/browser/ui/libgtkui/gtk_util.cc#newcode263 chrome/browser/ui/libgtkui/gtk_util.cc:263: "gtk_widget_path_iter_set_object_name")); You probably want this inside the version ...
3 years, 11 months ago (2017-01-05 18:14:46 UTC) #3
Tom (Use chromium acct)
https://codereview.chromium.org/2609943005/diff/20001/chrome/browser/ui/libgtkui/gtk_util.cc File chrome/browser/ui/libgtkui/gtk_util.cc (right): https://codereview.chromium.org/2609943005/diff/20001/chrome/browser/ui/libgtkui/gtk_util.cc#newcode263 chrome/browser/ui/libgtkui/gtk_util.cc:263: "gtk_widget_path_iter_set_object_name")); On 2017/01/05 18:14:45, Elliot Glaysher wrote: > You ...
3 years, 11 months ago (2017-01-05 20:27:05 UTC) #4
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/2609943005/40001
3 years, 11 months ago (2017-01-05 20:27:43 UTC) #7
commit-bot: I haz the power
3 years, 11 months ago (2017-01-05 21:35:19 UTC) #10
Message was sent while issue was closed.
Committed patchset #2 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/7563580907ed85a7ec511bedc8a2...

Powered by Google App Engine
This is Rietveld 408576698