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

Unified Diff: chrome/browser/ui/app_modal_dialogs/js_modal_dialog.cc

Issue 6017001: Move ElideString() from base/string_util.cc to app/text_elider.cc to ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years 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
Index: chrome/browser/ui/app_modal_dialogs/js_modal_dialog.cc
===================================================================
--- chrome/browser/ui/app_modal_dialogs/js_modal_dialog.cc (revision 69274)
+++ chrome/browser/ui/app_modal_dialogs/js_modal_dialog.cc (working copy)
@@ -4,6 +4,7 @@
#include "chrome/browser/ui/app_modal_dialogs/js_modal_dialog.h"
+#include "app/text_elider.h"
#include "base/string_util.h"
#include "chrome/browser/browser_shutdown.h"
#include "chrome/browser/extensions/extension_host.h"
@@ -39,9 +40,9 @@
reply_msg_(reply_msg) {
// We trim the various parts of the message dialog because otherwise we can
// overflow the message dialog (and crash/hang the GTK+ version).
- ElideString(message_text, kMessageTextMaxSize, &message_text_);
- ElideString(default_prompt_text, kDefaultPromptTextSize,
- &default_prompt_text_);
+ gfx::ElideString(message_text, kMessageTextMaxSize, &message_text_);
+ gfx::ElideString(default_prompt_text, kDefaultPromptTextSize,
+ &default_prompt_text_);
DCHECK((tab_contents_ != NULL) != (extension_host_ != NULL));
InitNotifications();
« no previous file with comments | « chrome/browser/tab_contents/navigation_entry.cc ('k') | chrome/browser/ui/cocoa/download/download_item_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698