• Tommy Li's avatar
    [omnibox] Update UI to use AutocompleteResult::IsSuggestionGroupIdHidden · 627f8e9c
    Tommy Li authored
    This CL updates all the UI callsites to use the new
    AutocompleteResult::IsSuggestionGroupIdHidden() method, which respects
    the server-provided hint as to which groups should default-hidden.
    
    This CL also deletes the deprecated omnibox::IsSuggestionGroupIdHidden()
    method, which is no longer used after this CL.
    
    This CL also deletes the deprecated
    omnibox::ToggleSuggestionGroupIdVisibility() method, and migrates all
    callsites to the omnibox::SetSuggestionGroupVisbility() method.
    
    Bug: 1106096
    Change-Id: I00a6248a65a4b2567fae204438534d1735020fd9
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2330320Reviewed-by: default avatarMoe Ahmadi <mahmadi@chromium.org>
    Commit-Queue: Tommy Li <tommycli@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#794546}
    627f8e9c
omnibox_prefs.h 2.28 KB