diff options
author | shess@chromium.org <shess@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-04 18:21:12 +0000 |
---|---|---|
committer | shess@chromium.org <shess@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-04 18:21:12 +0000 |
commit | d60655b86f1d6a15e88ca51a77ccb7d3a3945612 (patch) | |
tree | ef45576279e8b904b3ffb50a25df5401d9098ec4 /chrome/chrome_browser.gypi | |
parent | e9b084c2af3b8831f1d872691184da32e7df5b92 (diff) | |
download | chromium_src-d60655b86f1d6a15e88ca51a77ccb7d3a3945612.zip chromium_src-d60655b86f1d6a15e88ca51a77ccb7d3a3945612.tar.gz chromium_src-d60655b86f1d6a15e88ca51a77ccb7d3a3945612.tar.bz2 |
[Mac] Image-drawing which doesn't require image-flipping.
Snow Leopard deprecated -[NSImage setFlipped:] for good reasons. This
implements a method similar to the new
-[NSImage drawInRect:*:respectFlipped:] method, which allows images to
be drawn so that they always look right visually regardless of the
-isFlipped status of the view being drawn.
BUG=38943
TEST=Autocomplete, download, and reload button look right.
Review URL: http://codereview.chromium.org/2587003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48954 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/chrome_browser.gypi')
-rw-r--r-- | chrome/chrome_browser.gypi | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/chrome_browser.gypi b/chrome/chrome_browser.gypi index 2f163e8..9b50d5b 100644 --- a/chrome/chrome_browser.gypi +++ b/chrome/chrome_browser.gypi @@ -753,6 +753,8 @@ 'browser/cocoa/hyperlink_button_cell.mm', 'browser/cocoa/hung_renderer_controller.h', 'browser/cocoa/hung_renderer_controller.mm', + 'browser/cocoa/image_utils.h', + 'browser/cocoa/image_utils.mm', 'browser/cocoa/import_progress_dialog.h', 'browser/cocoa/import_progress_dialog.mm', 'browser/cocoa/import_settings_dialog.h', |