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

Unified Diff: ui/gfx/text_utils.h

Issue 23498059: Remove last dependencies on ui/base from ui/gfx (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: last rebase Created 7 years, 3 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 | « ui/gfx/text_elider.h ('k') | ui/gfx/transform.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/text_utils.h
diff --git a/ui/gfx/text_utils.h b/ui/gfx/text_utils.h
index bd94902fba6ba549b9701cc00251a6a9808df788..fa5caef2db6f0a879f4cd3e45c1d753d197de820 100644
--- a/ui/gfx/text_utils.h
+++ b/ui/gfx/text_utils.h
@@ -17,15 +17,15 @@ class FontList;
// |accelerated_char_pos| and |accelerated_char_span| will be set to the index
// and span of the last accelerated character, respectively, or -1 and 0 if
// there was none.
-UI_EXPORT base::string16 RemoveAcceleratorChar(const base::string16& s,
- base::char16 accelerator_char,
- int* accelerated_char_pos,
- int* accelerated_char_span);
+GFX_EXPORT base::string16 RemoveAcceleratorChar(const base::string16& s,
+ base::char16 accelerator_char,
+ int* accelerated_char_pos,
+ int* accelerated_char_span);
// Returns the number of horizontal pixels needed to display the specified
// |text| with |font_list|.
-UI_EXPORT int GetStringWidth(const base::string16& text,
- const FontList& font_list);
+GFX_EXPORT int GetStringWidth(const base::string16& text,
+ const FontList& font_list);
} // namespace gfx
« no previous file with comments | « ui/gfx/text_elider.h ('k') | ui/gfx/transform.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698