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

Unified Diff: ios/web/public/navigation_item.h

Issue 1841653003: Drop |languages| from {Format,Elide}Url* and IDNToUnicode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix typo in elide_url.cc Created 4 years, 8 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 | « ios/web/navigation/navigation_item_impl.mm ('k') | ios/web/web_state/ui/crw_web_controller.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/public/navigation_item.h
diff --git a/ios/web/public/navigation_item.h b/ios/web/public/navigation_item.h
index 7d8de13c3fd8ac08b917342ce7db0f2e1781ca7e..d84240b1331fdfad00d303019f500c0f338916a8 100644
--- a/ios/web/public/navigation_item.h
+++ b/ios/web/public/navigation_item.h
@@ -71,11 +71,8 @@ class NavigationItem : public base::SupportsUserData {
// Page-related helpers ------------------------------------------------------
// Returns the title to be displayed on the tab. This could be the title of
- // the page if it is available or the URL. |languages| is the list of
- // accepted languages (e.g., prefs::kAcceptLanguages) or empty if proper
- // URL formatting isn't needed (e.g., unit tests).
- virtual const base::string16& GetTitleForDisplay(
- const std::string& languages) const = 0;
+ // the page if it is available or the URL.
+ virtual const base::string16& GetTitleForDisplay() const = 0;
// Tracking stuff ------------------------------------------------------------
« no previous file with comments | « ios/web/navigation/navigation_item_impl.mm ('k') | ios/web/web_state/ui/crw_web_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698