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

Unified Diff: views/widget/tooltip_manager.cc

Issue 6257006: Move a bunch of random other files to src/ui/base... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 11 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/widget/default_theme_provider.h ('k') | views/widget/tooltip_window_gtk.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/widget/tooltip_manager.cc
===================================================================
--- views/widget/tooltip_manager.cc (revision 71854)
+++ views/widget/tooltip_manager.cc (working copy)
@@ -6,8 +6,8 @@
#include <vector>
-#include "app/text_elider.h"
#include "base/utf_string_conversions.h"
+#include "ui/base/text/text_elider.h"
namespace views {
@@ -58,7 +58,7 @@
std::wstring result;
for (std::vector<std::wstring>::iterator i = lines.begin(); i != lines.end();
++i) {
- string16 elided_text = gfx::ElideText(WideToUTF16Hack(*i),
+ string16 elided_text = ui::ElideText(WideToUTF16Hack(*i),
font, available_width, false);
*max_width = std::max(*max_width, font.GetStringWidth(elided_text));
if (i == lines.begin() && i + 1 == lines.end()) {
« no previous file with comments | « views/widget/default_theme_provider.h ('k') | views/widget/tooltip_window_gtk.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698