diff options
author | erg@chromium.org <erg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-02 20:54:19 +0000 |
---|---|---|
committer | erg@chromium.org <erg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-02 20:54:19 +0000 |
commit | 61e3009b9f5b3134fa3697befba4bc69c6be1e35 (patch) | |
tree | 81e35d5ca6efe019c1c888b7d7edbcdd0cf4fc7d /chrome/js_unittest_rules.gypi | |
parent | 716b7785e16a2049525e406b17d75776cc1911ee (diff) | |
download | chromium_src-61e3009b9f5b3134fa3697befba4bc69c6be1e35.zip chromium_src-61e3009b9f5b3134fa3697befba4bc69c6be1e35.tar.gz chromium_src-61e3009b9f5b3134fa3697befba4bc69c6be1e35.tar.bz2 |
GTK: Move CairoCachedSurface from being owned by GtkThemeService to gfx::Image.
CairoCachedSurfaces are representations of a GdkPixbuf that live on the display
server instead of in process. GtkThemeService currently returns a
CairoCachedSurface for a (IDR#, Display). Instead, make gfx::Image keep
CairoCachedSurfaces as a representation and make CairoCachedSurface work on any
display, keeping the mapping to display server resources as an implementation
detail.
This has the benefit of:
- You don't need to go through GtkThemeService to access all resources,
simplifying the code in some places and allowing sharing of static images
across profiles.
- This will let us (in the future) remove several image conversions in the GTK
port.
This is part 1. Part 2 will remove the custom CairoCachedSurface calls from
GtkThemeService.
BUG=106060
TEST=none
R=rsesek@chromium.org
TBR=ben@chromium.org
Review URL: http://codereview.chromium.org/8769017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112778 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/js_unittest_rules.gypi')
0 files changed, 0 insertions, 0 deletions