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

Unified Diff: chrome/browser/ui/gtk/external_protocol_dialog_gtk.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 | « chrome/browser/ui/gtk/external_protocol_dialog_gtk.h ('k') | chrome/browser/ui/gtk/first_run_dialog.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/gtk/external_protocol_dialog_gtk.cc
===================================================================
--- chrome/browser/ui/gtk/external_protocol_dialog_gtk.cc (revision 71854)
+++ chrome/browser/ui/gtk/external_protocol_dialog_gtk.cc (working copy)
@@ -9,7 +9,6 @@
#include <string>
#include "app/l10n_util.h"
-#include "app/text_elider.h"
#include "base/message_loop.h"
#include "base/metrics/histogram.h"
#include "base/string_util.h"
@@ -19,6 +18,7 @@
#include "chrome/browser/ui/gtk/gtk_util.h"
#include "grit/chromium_strings.h"
#include "grit/generated_resources.h"
+#include "ui/base/text/text_elider.h"
namespace {
@@ -63,9 +63,9 @@
const int kMaxCommandSize = 256;
std::wstring elided_url_without_scheme;
std::wstring elided_command;
- gfx::ElideString(ASCIIToWide(url.possibly_invalid_spec()),
+ ui::ElideString(ASCIIToWide(url.possibly_invalid_spec()),
kMaxUrlWithoutSchemeSize, &elided_url_without_scheme);
- gfx::ElideString(ASCIIToWide(std::string("xdg-open ") + url.spec()),
+ ui::ElideString(ASCIIToWide(std::string("xdg-open ") + url.spec()),
kMaxCommandSize, &elided_command);
std::string message_text = l10n_util::GetStringFUTF8(
« no previous file with comments | « chrome/browser/ui/gtk/external_protocol_dialog_gtk.h ('k') | chrome/browser/ui/gtk/first_run_dialog.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698