summaryrefslogtreecommitdiffstats
path: root/chrome/views
diff options
context:
space:
mode:
authorglen@chromium.org <glen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-06 21:27:37 +0000
committerglen@chromium.org <glen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-06 21:27:37 +0000
commit0528372f5fc79ee479957fcbf10cac1f3429642a (patch)
tree566316ddae4764b6666b586ee4421c9fe93386a0 /chrome/views
parent3cb7115ddd010b44cb35ffe4491eca2362a3759a (diff)
downloadchromium_src-0528372f5fc79ee479957fcbf10cac1f3429642a.zip
chromium_src-0528372f5fc79ee479957fcbf10cac1f3429642a.tar.gz
chromium_src-0528372f5fc79ee479957fcbf10cac1f3429642a.tar.bz2
Add a function for eliding filenames to a set pixel width while preserving the display of the extension. This touches a lot of files because it renames url_elider to text_elider (as it already contained a bunch of text ellision functions), and so requires header file reference changes. BUG=1208
Review URL: http://codereview.chromium.org/9613 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4912 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/views')
-rw-r--r--chrome/views/label.cc2
-rw-r--r--chrome/views/tooltip_manager.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/chrome/views/label.cc b/chrome/views/label.cc
index f543a2d..ed8de0f 100644
--- a/chrome/views/label.cc
+++ b/chrome/views/label.cc
@@ -11,7 +11,7 @@
#include "chrome/common/gfx/chrome_canvas.h"
#include "chrome/common/gfx/chrome_font.h"
#include "chrome/common/gfx/insets.h"
-#include "chrome/common/gfx/url_elider.h"
+#include "chrome/common/gfx/text_elider.h"
#include "chrome/common/l10n_util.h"
#include "chrome/common/resource_bundle.h"
#include "chrome/views/background.h"
diff --git a/chrome/views/tooltip_manager.cc b/chrome/views/tooltip_manager.cc
index 6da2245..ae842bf 100644
--- a/chrome/views/tooltip_manager.cc
+++ b/chrome/views/tooltip_manager.cc
@@ -8,7 +8,7 @@
#include "base/logging.h"
#include "base/message_loop.h"
#include "chrome/common/l10n_util.h"
-#include "chrome/common/gfx/url_elider.h"
+#include "chrome/common/gfx/text_elider.h"
#include "chrome/common/win_util.h"
#include "chrome/views/root_view.h"
#include "chrome/views/tooltip_manager.h"