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

Issue 8501030: aura: Make the Linux version of IconLoader not require GTK+. (Closed)

Created:
9 years, 1 month ago by Daniel Erat
Modified:
9 years, 1 month ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org, brettw-cc_chromium.org, ilja
Visibility:
Public.

Description

aura: Make the Linux version of IconLoader not require GTK+. This change makes it use webkit_glue::ImageDecoder instead of gdk-pixbuf and hides various GTK+ theme-related code behind TOOLKIT_USES_GTK ifdefs. Chrome OS is currently loading its own icons from resources (see r86936 and http://crosbug.com/129) instead of using IconLoader and IconManager, so this only removes NOTIMPLEMENTED()s on non-Chrome-OS Linux Aura builds (along with simplifying the GTK+ version of the code). BUG=99494 TEST=manual: download icons are still visible on a gtk+ build Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=109527

Patch Set 1 #

Patch Set 2 : merge #

Total comments: 2

Patch Set 3 : move platform-specific include #

Unified diffs Side-by-side diffs Delta from patch set Stats (+73 lines, -109 lines) Patch
M base/mime_util.h View 1 chunk +1 line, -1 line 0 comments Download
M base/mime_util_xdg.cc View 1 2 6 chunks +10 lines, -1 line 0 comments Download
M build/common.gypi View 1 1 chunk +6 lines, -1 line 0 comments Download
M chrome/browser/icon_loader.h View 1 chunk +0 lines, -9 lines 0 comments Download
M chrome/browser/icon_loader.cc View 2 chunks +2 lines, -2 lines 0 comments Download
D chrome/browser/icon_loader_aura.cc View 1 chunk +0 lines, -11 lines 0 comments Download
D chrome/browser/icon_loader_gtk.cc View 1 chunk +0 lines, -71 lines 0 comments Download
A chrome/browser/icon_loader_linux.cc View 1 chunk +53 lines, -0 lines 0 comments Download
M chrome/browser/icon_manager_linux.cc View 2 chunks +0 lines, -5 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M net/base/platform_mime_util_linux.cc View 1 chunk +0 lines, -6 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Daniel Erat
9 years, 1 month ago (2011-11-09 17:38:37 UTC) #1
DaveMoore
lgtm.
9 years, 1 month ago (2011-11-09 19:20:16 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/derat@chromium.org/8501030/4001
9 years, 1 month ago (2011-11-10 01:36:59 UTC) #3
commit-bot: I haz the power
Presubmit check for 8501030-4001 failed and returned exit status 1. Running presubmit commit checks ...
9 years, 1 month ago (2011-11-10 01:37:05 UTC) #4
Daniel Erat
Will, mind approving for the tiny changes in base/ and net/base/?
9 years, 1 month ago (2011-11-10 01:39:21 UTC) #5
willchan no longer on Chromium
lgtm http://codereview.chromium.org/8501030/diff/4001/base/mime_util_xdg.cc File base/mime_util_xdg.cc (right): http://codereview.chromium.org/8501030/diff/4001/base/mime_util_xdg.cc#newcode7 base/mime_util_xdg.cc:7: #if defined(TOOLKIT_USES_GTK) Unless it needs to be ordered ...
9 years, 1 month ago (2011-11-10 21:24:13 UTC) #6
Daniel Erat
http://codereview.chromium.org/8501030/diff/4001/base/mime_util_xdg.cc File base/mime_util_xdg.cc (right): http://codereview.chromium.org/8501030/diff/4001/base/mime_util_xdg.cc#newcode7 base/mime_util_xdg.cc:7: #if defined(TOOLKIT_USES_GTK) On 2011/11/10 21:24:14, willchan wrote: > Unless ...
9 years, 1 month ago (2011-11-10 21:43:25 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/derat@chromium.org/8501030/11001
9 years, 1 month ago (2011-11-10 21:44:35 UTC) #8
commit-bot: I haz the power
9 years, 1 month ago (2011-11-10 23:01:26 UTC) #9
Change committed as 109527

Powered by Google App Engine
This is Rietveld 408576698