• Tommy Li's avatar
    [omnibox] WebUIOmniboxPopup: Remove native result views when flag is on · f896c636
    Tommy Li authored
    When the WebUIOmniboxPopup flag is on, this CL doesn't add the native
    result views.
    
    This CL is just meant to "hollow out" the OmniboxPopupContentsView
    when the flag is on. The next step would be add an actual
    views::WebView to take the place of all the child result views.
    
    This CL was deliberately kept to just a bunch of stubs to illustrate
    all the integration points we would need with a WebUI popup.
    
    Even when the flag is on, we keep the actual OmniboxPopupContentsView,
    because it's responsible for drawing the "beard" and transparent
    poke-through that we need even if we render the popup contents in
    WebUI.
    
    Bug: 1046561
    Change-Id: I01d7a77413b760a290dc823b2a142921121f81cc
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2042218Reviewed-by: default avatarmanuk hovanesian <manukh@chromium.org>
    Commit-Queue: Tommy Li <tommycli@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#739131}
    f896c636
omnibox_view_views.cc 73 KB