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

Unified Diff: components/url_formatter/url_formatter.h

Issue 2961093002: Omnibox UI Experiments: Implement elide-after-host experiment. (Closed)
Patch Set: Created 3 years, 6 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 | « no previous file | components/url_formatter/url_formatter.cc » ('j') | components/url_formatter/url_formatter.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/url_formatter/url_formatter.h
diff --git a/components/url_formatter/url_formatter.h b/components/url_formatter/url_formatter.h
index 90f2bbf9b73128e35a080382b35fe91d08db3d09..b3fe6d3279fc28d62c859f83555e92d2f416683a 100644
--- a/components/url_formatter/url_formatter.h
+++ b/components/url_formatter/url_formatter.h
@@ -51,9 +51,13 @@ extern const FormatUrlType kFormatUrlOmitHTTP;
// meaningful for non-file "standard" URLs.
extern const FormatUrlType kFormatUrlOmitTrailingSlashOnBareHostname;
-// Convenience for omitting all unecessary types.
+// Convenience for omitting all unecessary types. Does not include experimental
+// flags below.
extern const FormatUrlType kFormatUrlOmitAll;
+// Replaces paths with an ellipsis. Experimental and not in kFormatUrlOmitAll.
Peter Kasting 2017/06/28 20:54:35 As implemented, this actually replaces the path, q
tommycli 2017/06/28 21:21:39 Done.
+extern const FormatUrlType kFormatUrlExperimentalEllipsizePath;
+
// Creates a string representation of |url|. The IDN host name is turned to
// Unicode if the Unicode representation is deemed safe. |format_type| is a
// bitmask of FormatUrlTypes, see it for details. |unescape_rules| defines how
« no previous file with comments | « no previous file | components/url_formatter/url_formatter.cc » ('j') | components/url_formatter/url_formatter.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698