summaryrefslogtreecommitdiffstats
path: root/skia
diff options
context:
space:
mode:
authorsail@chromium.org <sail@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-08 03:23:47 +0000
committersail@chromium.org <sail@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-08 03:23:47 +0000
commit5fda613da7a4cb0147bb7d7f9559b541cd45a266 (patch)
tree9e5dfe15bc855eb4f137dd0c0ab7ed0dfcacd332 /skia
parent4d43ccd8f2bf704aec8d4f32a1d410fa347ea297 (diff)
downloadchromium_src-5fda613da7a4cb0147bb7d7f9559b541cd45a266.zip
chromium_src-5fda613da7a4cb0147bb7d7f9559b541cd45a266.tar.gz
chromium_src-5fda613da7a4cb0147bb7d7f9559b541cd45a266.tar.bz2
Fade tab titles
This change fades tab titles instead of truncating them with a "...". I tried to copy the Mac implemenation from here: http://code.google.com/p/google-toolbox-for-mac/source/browse/trunk/AppKit/GTMFadeTruncatingTextFieldCell.m but my version is not as good since I couldn't figure out how to draw text on a transparent background. BUG=69301 TEST=Ran Chromium and verified that things looked ok. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=80416 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=80748 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=80870 Review URL: http://codereview.chromium.org/6695043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80891 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'skia')
-rw-r--r--skia/ext/bitmap_platform_device_win.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/skia/ext/bitmap_platform_device_win.h b/skia/ext/bitmap_platform_device_win.h
index 2d18449..76e45f6 100644
--- a/skia/ext/bitmap_platform_device_win.h
+++ b/skia/ext/bitmap_platform_device_win.h
@@ -31,7 +31,7 @@ class BitmapPlatformDeviceFactory : public SkDeviceFactory {
// For us, that other bitmap will become invalid as soon as the device becomes
// invalid, which may lead to subtle bugs. Therefore, DO NOT ASSIGN THE
// DEVICE'S PIXEL DATA TO ANOTHER BITMAP, make sure you copy instead.
-class BitmapPlatformDevice : public PlatformDevice {
+class SK_API BitmapPlatformDevice : public PlatformDevice {
public:
// Factory function. The screen DC is used to create the bitmap, and will not
// be stored beyond this function. is_opaque should be set if the caller