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

Issue 1243513002: linux_aura: Call MapThemeImage for resources missing in native theme (Closed)

Created:
5 years, 5 months ago by jclw
Modified:
5 years, 5 months ago
Reviewers:
Elliot Glaysher
CC:
chromium-reviews, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

linux_aura: Call MapThemeImage for resources missing in native theme For resources not provided by the native theme (i.e. GTK2UI), fall back to desktop (not ash) resources by calling MapThemeImage in this case. BUG=383711 R=erg@chromium.org TEST=The shadow running along the top edge of the address bar to the right of the tabs is visible again, especially when using a bright GTK theme like Adwaita or Radiance. (see crbug.com/383711) Committed: https://crrev.com/bbc3cefbf4555599d3be3684140a835ef639ce7d Cr-Commit-Position: refs/heads/master@{#339744}

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -1 line) Patch
M AUTHORS View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_desktop_window_tree_host_x11.cc View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 8 (1 generated)
jclw
see also http://crbug.com/383711#c9
5 years, 5 months ago (2015-07-17 00:19:59 UTC) #1
Elliot Glaysher
Thank you for looking at this. https://codereview.chromium.org/1243513002/diff/1/chrome/browser/ui/views/frame/browser_desktop_window_tree_host_x11.cc File chrome/browser/ui/views/frame/browser_desktop_window_tree_host_x11.cc (right): https://codereview.chromium.org/1243513002/diff/1/chrome/browser/ui/views/frame/browser_desktop_window_tree_host_x11.cc#newcode36 chrome/browser/ui/views/frame/browser_desktop_window_tree_host_x11.cc:36: chrome::MapThemeImage(chrome::HOST_DESKTOP_TYPE_NATIVE, id)); nit: ...
5 years, 5 months ago (2015-07-17 17:06:28 UTC) #2
jclw
This is now a one-liner. Please excuse the delay. https://codereview.chromium.org/1243513002/diff/1/chrome/browser/ui/views/frame/browser_desktop_window_tree_host_x11.cc File chrome/browser/ui/views/frame/browser_desktop_window_tree_host_x11.cc (right): https://codereview.chromium.org/1243513002/diff/1/chrome/browser/ui/views/frame/browser_desktop_window_tree_host_x11.cc#newcode36 chrome/browser/ui/views/frame/browser_desktop_window_tree_host_x11.cc:36: ...
5 years, 5 months ago (2015-07-21 20:11:38 UTC) #3
Elliot Glaysher
Thank you for your contribution. LGTM.
5 years, 5 months ago (2015-07-21 20:13:20 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1243513002/20001
5 years, 5 months ago (2015-07-21 20:14:20 UTC) #6
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 5 months ago (2015-07-21 20:52:23 UTC) #7
commit-bot: I haz the power
5 years, 5 months ago (2015-07-21 20:53:15 UTC) #8
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/bbc3cefbf4555599d3be3684140a835ef639ce7d
Cr-Commit-Position: refs/heads/master@{#339744}

Powered by Google App Engine
This is Rietveld 408576698