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

Unified Diff: views/view_text_utils.h

Issue 7550038: Rename VIEWS_API to VIEWS_EXPORT. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 4 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 | « views/view_constants.h ('k') | views/views_api.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/view_text_utils.h
===================================================================
--- views/view_text_utils.h (revision 95624)
+++ views/view_text_utils.h (working copy)
@@ -12,7 +12,7 @@
#include "ui/gfx/font.h"
#include "ui/gfx/rect.h"
-#include "views/views_api.h"
+#include "views/views_export.h"
namespace gfx {
class Canvas;
@@ -40,15 +40,15 @@
// NOTE: The reason why we need this function is because while Skia knows how
// to wrap text appropriately, it doesn't tell us where it drew the last
// character, which we need to position the URLs within the text.
-VIEWS_API void DrawTextAndPositionUrl(gfx::Canvas* canvas,
- views::Label* label,
- const std::wstring& text,
- views::Link* link,
- gfx::Rect* rect,
- gfx::Size* position,
- bool text_direction_is_rtl,
- const gfx::Rect& bounds,
- const gfx::Font& font);
+VIEWS_EXPORT void DrawTextAndPositionUrl(gfx::Canvas* canvas,
+ views::Label* label,
+ const std::wstring& text,
+ views::Link* link,
+ gfx::Rect* rect,
+ gfx::Size* position,
+ bool text_direction_is_rtl,
+ const gfx::Rect& bounds,
+ const gfx::Font& font);
// A helper function for DrawTextAndPositionUrl, which simply draws the text
// from a certain starting point |position| and wraps within bounds.
« no previous file with comments | « views/view_constants.h ('k') | views/views_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698