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

Unified Diff: ui/base/l10n/l10n_font_util.h

Issue 7328011: Introduce ui.dll / libui.so for the component build. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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
Index: ui/base/l10n/l10n_font_util.h
===================================================================
--- ui/base/l10n/l10n_font_util.h (revision 92815)
+++ ui/base/l10n/l10n_font_util.h (working copy)
@@ -7,6 +7,7 @@
#pragma once
#include "ui/gfx/size.h"
+#include "ui/ui_api.h"
namespace gfx {
class Font;
@@ -18,13 +19,13 @@
// its localized size data and the given font. The width in cols is held in a
// localized string resource identified by |col_resource_id|, the height in the
// same fashion.
-int GetLocalizedContentsWidthForFont(int col_resource_id,
- const gfx::Font& font);
-int GetLocalizedContentsHeightForFont(int row_resource_id,
- const gfx::Font& font);
-gfx::Size GetLocalizedContentsSizeForFont(int col_resource_id,
- int row_resource_id,
- const gfx::Font& font);
+UI_API int GetLocalizedContentsWidthForFont(int col_resource_id,
+ const gfx::Font& font);
+UI_API int GetLocalizedContentsHeightForFont(int row_resource_id,
+ const gfx::Font& font);
+UI_API gfx::Size GetLocalizedContentsSizeForFont(int col_resource_id,
+ int row_resource_id,
+ const gfx::Font& font);
} // namespace ui

Powered by Google App Engine
This is Rietveld 408576698