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

Unified Diff: chrome/common/badge_util.h

Issue 295263002: linux_aura: Use the previous font sizes on the browser actions badge. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rework all the ifdefs per thestig's suggestion. Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/common/badge_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/badge_util.h
diff --git a/chrome/common/badge_util.h b/chrome/common/badge_util.h
index e8e5f8b2fcc63d11ebfb5d56792d395841623b55..46aac21b045a24d73a512ec9bc7c63ca3858133e 100644
--- a/chrome/common/badge_util.h
+++ b/chrome/common/badge_util.h
@@ -26,14 +26,6 @@ namespace badge_util {
// rendering badge overlay text (correct font, typeface, etc).
SkPaint* GetBadgeTextPaintSingleton();
-// Given an |icon|, renders the |text| centered on the |icon|. If |text| is
-// too large to fit within the bounds of the image, the |fallback| string is
-// rendered instead (or nothing, if |fallback| is empty).
-SkBitmap DrawBadgeIconOverlay(const SkBitmap& icon,
- float font_size_in_pixels,
- const base::string16& text,
- const base::string16& fallback);
-
// Paints badge with specified parameters to |canvas|.
void PaintBadge(gfx::Canvas* canvas,
const gfx::Rect& bounds,
@@ -43,6 +35,6 @@ void PaintBadge(gfx::Canvas* canvas,
int icon_width,
extensions::ActionInfo::Type action_type);
-} // namespace badge_util;
+} // namespace badge_util
#endif // CHROME_COMMON_BADGE_UTIL_H_
« no previous file with comments | « no previous file | chrome/common/badge_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698