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

Issue 11466007: Add new IPC for searchbox to pipe SearchBox NavigateContentWindow calls to the browser. (Closed)

Created:
8 years ago by Shishir
Modified:
8 years ago
Reviewers:
palmer, jam, gavinp, samarth, sky
CC:
chromium-reviews, melevin, samarth, sreeram, gideonwald, dominich, Aaron Boodman, David Black, chromium-apps-reviews_chromium.org, darin-cc_chromium.org, Jered
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Add new IPC for searchbox to pipe SearchBox NavigateContentWindow calls to the browser. BUG=164237 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=173004

Patch Set 1 #

Total comments: 12

Patch Set 2 : Addressing Samarth's comments. #

Total comments: 4

Patch Set 3 : No longer commit on SearchBoxNavigate IPC. #

Total comments: 12

Patch Set 4 : Passing page transition type. #

Patch Set 5 : Minor build fix for some platforms. #

Total comments: 2

Patch Set 6 : Build fix for duplicate IPC trait definition on some platforms. #

Patch Set 7 : Rebaselining. #

Total comments: 2

Patch Set 8 : Remove extra ; #

Unified diffs Side-by-side diffs Delta from patch set Stats (+90 lines, -11 lines) Patch
M chrome/browser/instant/instant_client.h View 1 2 3 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/instant/instant_client.cc View 1 2 3 2 chunks +9 lines, -0 lines 0 comments Download
M chrome/browser/instant/instant_controller.h View 1 2 3 4 5 6 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/instant/instant_controller.cc View 1 2 3 4 5 6 2 chunks +10 lines, -0 lines 0 comments Download
M chrome/browser/instant/instant_loader.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/instant/instant_loader.cc View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/instant/instant_tab.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/instant/instant_tab.cc View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/ui/browser_instant_controller.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/browser_instant_controller.cc View 1 2 3 1 chunk +10 lines, -0 lines 0 comments Download
M chrome/common/instant_types.h View 1 2 3 4 5 6 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/common/render_messages.h View 1 2 3 4 5 6 7 1 chunk +5 lines, -0 lines 0 comments Download
chrome/renderer/searchbox/searchbox.h View 1 2 3 2 chunks +8 lines, -4 lines 0 comments Download
M chrome/renderer/searchbox/searchbox.cc View 1 2 3 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/renderer/searchbox/searchbox_extension.cc View 1 2 3 4 5 6 1 chunk +6 lines, -5 lines 0 comments Download
M content/common/content_param_traits_macros.h View 1 2 3 4 5 2 chunks +0 lines, -2 lines 0 comments Download
M content/public/common/common_param_traits_macros.h View 1 2 3 4 5 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 27 (0 generated)
Shishir
This first patch uses the browser's OpenURL call which I am not too happy about ...
8 years ago (2012-12-06 21:31:06 UTC) #1
Shishir
On 2012/12/06 21:31:06, Shishir wrote: > This first patch uses the browser's OpenURL call which ...
8 years ago (2012-12-06 22:20:21 UTC) #2
Shishir
PTAL.
8 years ago (2012-12-06 22:20:44 UTC) #3
samarth
https://codereview.chromium.org/11466007/diff/1/chrome/browser/instant/instant_client.h File chrome/browser/instant/instant_client.h (right): https://codereview.chromium.org/11466007/diff/1/chrome/browser/instant/instant_client.h#newcode140 chrome/browser/instant/instant_client.h:140: void SearchBoxNavigate(int page_id, const GURL& url); nit: keep the ...
8 years ago (2012-12-07 02:01:35 UTC) #4
Shishir
PTAL. https://codereview.chromium.org/11466007/diff/1/chrome/browser/instant/instant_client.h File chrome/browser/instant/instant_client.h (right): https://codereview.chromium.org/11466007/diff/1/chrome/browser/instant/instant_client.h#newcode140 chrome/browser/instant/instant_client.h:140: void SearchBoxNavigate(int page_id, const GURL& url); On 2012/12/07 ...
8 years ago (2012-12-10 20:40:38 UTC) #5
samarth
https://codereview.chromium.org/11466007/diff/8001/chrome/browser/instant/instant_controller.cc File chrome/browser/instant/instant_controller.cc (right): https://codereview.chromium.org/11466007/diff/8001/chrome/browser/instant/instant_controller.cc#newcode796 chrome/browser/instant/instant_controller.cc:796: CommitIfPossible(INSTANT_COMMIT_REQUESTED_NAVIGATION); Do we want to commit here? If a ...
8 years ago (2012-12-11 04:42:09 UTC) #6
Shishir
The instant page no longer commits on NavigateToURL. We just hide the loader. The commit ...
8 years ago (2012-12-11 20:22:39 UTC) #7
Shishir
Adding palmer for the new IPC. PTAL.
8 years ago (2012-12-11 21:57:35 UTC) #8
palmer
lgtm
8 years ago (2012-12-11 22:54:44 UTC) #9
sky
Is there a reason we need IPC calls like this instead of having the page ...
8 years ago (2012-12-12 00:09:21 UTC) #10
Shishir
> Is there a reason we need IPC calls like this instead of having the ...
8 years ago (2012-12-12 00:48:28 UTC) #11
palmer
> > Is there a reason we need IPC calls like this instead of having ...
8 years ago (2012-12-12 01:15:06 UTC) #12
sky
https://codereview.chromium.org/11466007/diff/15001/chrome/browser/ui/browser_instant_controller.cc File chrome/browser/ui/browser_instant_controller.cc (right): https://codereview.chromium.org/11466007/diff/15001/chrome/browser/ui/browser_instant_controller.cc#newcode169 chrome/browser/ui/browser_instant_controller.cc:169: content::PAGE_TRANSITION_TYPED, On 2012/12/12 00:48:28, Shishir wrote: > On 2012/12/12 ...
8 years ago (2012-12-12 04:11:19 UTC) #13
samarth
https://codereview.chromium.org/11466007/diff/15001/chrome/browser/instant/instant_controller.cc File chrome/browser/instant/instant_controller.cc (right): https://codereview.chromium.org/11466007/diff/15001/chrome/browser/instant/instant_controller.cc#newcode813 chrome/browser/instant/instant_controller.cc:813: void InstantController::NavigateToURL(const GURL& url) { Let's check for extended_enabled_ ...
8 years ago (2012-12-12 16:32:26 UTC) #14
Shishir
PTAL. https://codereview.chromium.org/11466007/diff/15001/chrome/browser/instant/instant_controller.cc File chrome/browser/instant/instant_controller.cc (right): https://codereview.chromium.org/11466007/diff/15001/chrome/browser/instant/instant_controller.cc#newcode813 chrome/browser/instant/instant_controller.cc:813: void InstantController::NavigateToURL(const GURL& url) { On 2012/12/12 16:32:27, ...
8 years ago (2012-12-12 20:04:47 UTC) #15
sky
LGTM
8 years ago (2012-12-12 21:25:38 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/shishir@chromium.org/11466007/23003
8 years ago (2012-12-12 21:45:03 UTC) #17
samarth
lgtm We can address my comments separately. Thanks, Samarth https://codereview.chromium.org/11466007/diff/15001/chrome/browser/instant/instant_controller.cc File chrome/browser/instant/instant_controller.cc (right): https://codereview.chromium.org/11466007/diff/15001/chrome/browser/instant/instant_controller.cc#newcode814 chrome/browser/instant/instant_controller.cc:814: ...
8 years ago (2012-12-12 22:05:35 UTC) #18
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
8 years ago (2012-12-12 22:10:34 UTC) #19
Shishir
Adding jam for the content/.. changes. PTAL. https://codereview.chromium.org/11466007/diff/15001/chrome/browser/instant/instant_controller.cc File chrome/browser/instant/instant_controller.cc (right): https://codereview.chromium.org/11466007/diff/15001/chrome/browser/instant/instant_controller.cc#newcode814 chrome/browser/instant/instant_controller.cc:814: HideLoader(); On ...
8 years ago (2012-12-12 22:21:08 UTC) #20
jam
content lgtm
8 years ago (2012-12-12 22:23:24 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/shishir@chromium.org/11466007/29008
8 years ago (2012-12-12 22:30:51 UTC) #22
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
8 years ago (2012-12-12 23:01:17 UTC) #23
gavinp
https://codereview.chromium.org/11466007/diff/37001/chrome/common/render_messages.h File chrome/common/render_messages.h (right): https://codereview.chromium.org/11466007/diff/37001/chrome/common/render_messages.h#newcode661 chrome/common/render_messages.h:661: content::PageTransition /* transition */); I think you don't want ...
8 years ago (2012-12-13 18:56:37 UTC) #24
Shishir
https://codereview.chromium.org/11466007/diff/37001/chrome/common/render_messages.h File chrome/common/render_messages.h (right): https://codereview.chromium.org/11466007/diff/37001/chrome/common/render_messages.h#newcode661 chrome/common/render_messages.h:661: content::PageTransition /* transition */); On 2012/12/13 18:56:38, gavinp wrote: ...
8 years ago (2012-12-13 18:58:44 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/shishir@chromium.org/11466007/47001
8 years ago (2012-12-13 19:00:48 UTC) #26
commit-bot: I haz the power
8 years ago (2012-12-13 23:46:10 UTC) #27
Message was sent while issue was closed.
Change committed as 173004

Powered by Google App Engine
This is Rietveld 408576698