Commit 4b7a6c34 authored by Kevin Bailey's avatar Kevin Bailey Committed by Commit Bot

[omnibox] Indent pedal submatches

A small UI change to indent pedal submatches along with tab switch
suggestions (if enabled as submatches).

Bug: 995935
Change-Id: I657ff010e54d2cbf80ccfc029fdc8c4643b56cc4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1783524Reviewed-by: default avatarJustin Donnelly <jdonnelly@chromium.org>
Commit-Queue: Kevin Bailey <krb@chromium.org>
Cr-Commit-Position: refs/heads/master@{#693172}
parent 158af073
......@@ -305,7 +305,7 @@ void OmniboxResultView::Layout() {
keyword_view_->SetBounds(suggestion_width, 0, width() - suggestion_width,
height());
if (popup_contents_view_->InExplicitExperimentalKeywordMode() ||
match_.IsTabSwitchSuggestion()) {
match_.IsSubMatch()) {
suggestion_view_->SetBounds(kKeywordSuggestionIndent, 0,
suggestion_width - kKeywordSuggestionIndent,
height());
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment