Lines Matching refs:domain
127 // Takes a prefix (Domain, or Domain+subdomain) and a collection of path
159 // Split the email into its local-part (username) and domain-part. The email
162 // symbol in the domain part of the email however so splitting at the last @
167 base::string16 domain = email.substr(split_index + 1);
169 DCHECK(!domain.empty());
175 // Check whether eliding the domain is necessary: if eliding the username
176 // is sufficient, the domain will not be elided.
183 if (GetStringWidthF(domain, font_list) > available_domain_width) {
184 // Elide the domain so that it only takes half of the available width.
186 // domain will occupy the leftover width.
194 domain = ElideText(domain, font_list, desired_domain_width,
196 // Failing to elide the domain such that at least one character remains
198 if (domain.length() <= 1U)
205 available_pixel_width -= GetStringWidthF(domain, font_list);
209 return username + kAtSignUTF16 + domain;
255 // Get domain and registry information from the URL.
268 // Get sub domain.
281 // domain is now C: - this is a nice hack for eliding to work pleasantly.
305 // Third Pass: Subdomain, domain and entire path fits.
361 // Check with both subdomain and domain.
369 // Check with only domain.
370 // If a subdomain is present, add an ellipsis before domain.
389 // Return elided domain/.../filename anyway.