diff options
author | paul@chromium.org <paul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-01 00:52:18 +0000 |
---|---|---|
committer | paul@chromium.org <paul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-01 00:52:18 +0000 |
commit | e8a425bf301c3f27cc5344d94ad42e3fc89ed722 (patch) | |
tree | 8dd73fcfffd7286e6ceed6619957a805ab86adb3 /app/gfx | |
parent | f7e1635a57399c009c19bdc4621e8adcd82fbee7 (diff) | |
download | chromium_src-e8a425bf301c3f27cc5344d94ad42e3fc89ed722.zip chromium_src-e8a425bf301c3f27cc5344d94ad42e3fc89ed722.tar.gz chromium_src-e8a425bf301c3f27cc5344d94ad42e3fc89ed722.tar.bz2 |
Enable opening downloads from the Mac download shelf.
Also added a stub for an unused method on Canvas in order to link.
TEST=Selecting "Open" from the shelf menu will open a download
BUG=15661
Review URL: http://codereview.chromium.org/150079
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19691 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'app/gfx')
-rw-r--r-- | app/gfx/canvas.cc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/app/gfx/canvas.cc b/app/gfx/canvas.cc index 2cef3de..d3b55ab 100644 --- a/app/gfx/canvas.cc +++ b/app/gfx/canvas.cc @@ -221,6 +221,16 @@ void Canvas::DrawStringInt(const std::wstring& text, l10n_util::DefaultCanvasTextAlignment()); } +#if defined(OS_MACOSX) +void Canvas::DrawStringInt(const std::wstring& text, + const gfx::Font& font, + const SkColor& color, + int x, int y, int w, int h, + int flags) { + NOTIMPLEMENTED(); +} +#endif + void Canvas::TileImageInt(const SkBitmap& bitmap, int x, int y, int w, int h) { TileImageInt(bitmap, 0, 0, x, y, w, h); } |