• dhollowa@chromium.org's avatar
    Clicks broken in NTP section of Search overlay · 70e5fe7c
    dhollowa@chromium.org authored
    This removes prior solution where a duplicate web_contents for the NTP was
    stored in the search_tab_helper.  Replaces that solution with this where the
    main browser window's web view is reparented into the search overlay when the
    search overlay is active and displaying the NTP.  When the NTP is dismissed or
    navigated away, the web view is reparented back to the main browser_view's
    contents container as per usual.
    
    BUG=133529
    TEST=--enable-instant-extended-api, load NTP, click on a most visited link.  Expect navigation in main browser window.
    R=sky@chromium.org
    
    
    Review URL: https://chromiumcodereview.appspot.com/10832216
    
    git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150849 0039d316-1c4b-4281-b951-d872f2087c98
    70e5fe7c
search_view_controller.cc 15.5 KB