Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(500)

Issue 10832216: Clicks broken in NTP section of Search overlay (Closed)

Created:
8 years, 4 months ago by dhollowa
Modified:
8 years, 4 months ago
Reviewers:
sky
CC:
chromium-reviews, dhollowa+watch_chromium.org, tfarina
Visibility:
Public.

Description

Clicks broken in NTP section of Search overlay 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 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=150849

Patch Set 1 #

Total comments: 8

Patch Set 2 : Addressing comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+58 lines, -81 lines) Patch
M chrome/browser/ui/search/search_tab_helper.h View 1 4 chunks +0 lines, -14 lines 0 comments Download
M chrome/browser/ui/search/search_tab_helper.cc View 4 chunks +0 lines, -26 lines 0 comments Download
M chrome/browser/ui/search/search_ui.cc View 2 chunks +4 lines, -1 line 0 comments Download
M chrome/browser/ui/views/frame/browser_view.cc View 4 chunks +6 lines, -4 lines 0 comments Download
M chrome/browser/ui/views/frame/contents_container.h View 4 chunks +14 lines, -4 lines 0 comments Download
M chrome/browser/ui/views/frame/contents_container.cc View 5 chunks +15 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/search_view_controller.h View 3 chunks +5 lines, -9 lines 0 comments Download
M chrome/browser/ui/views/search_view_controller.cc View 1 6 chunks +14 lines, -20 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
dhollowa
8 years, 4 months ago (2012-08-09 00:10:28 UTC) #1
sky
https://chromiumcodereview.appspot.com/10832216/diff/1/chrome/browser/ui/search/search_tab_helper.h File chrome/browser/ui/search/search_tab_helper.h (right): https://chromiumcodereview.appspot.com/10832216/diff/1/chrome/browser/ui/search/search_tab_helper.h#newcode9 chrome/browser/ui/search/search_tab_helper.h:9: #include "base/memory/scoped_ptr.h" nit: remove this include now. https://chromiumcodereview.appspot.com/10832216/diff/1/chrome/browser/ui/search/search_tab_helper.h#newcode19 chrome/browser/ui/search/search_tab_helper.h:19: ...
8 years, 4 months ago (2012-08-09 00:39:14 UTC) #2
dhollowa
https://chromiumcodereview.appspot.com/10832216/diff/1/chrome/browser/ui/search/search_tab_helper.h File chrome/browser/ui/search/search_tab_helper.h (right): https://chromiumcodereview.appspot.com/10832216/diff/1/chrome/browser/ui/search/search_tab_helper.h#newcode9 chrome/browser/ui/search/search_tab_helper.h:9: #include "base/memory/scoped_ptr.h" On 2012/08/09 00:39:14, sky wrote: > nit: ...
8 years, 4 months ago (2012-08-09 16:07:25 UTC) #3
sky
LGTM
8 years, 4 months ago (2012-08-09 16:35:21 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dhollowa@chromium.org/10832216/4003
8 years, 4 months ago (2012-08-09 16:44:10 UTC) #5
commit-bot: I haz the power
8 years, 4 months ago (2012-08-09 18:06:04 UTC) #6
Change committed as 150849

Powered by Google App Engine
This is Rietveld 408576698