Chromium Code Reviews
[email protected] (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(105)

Issue 10447067: Pass user gesture indicator for RPH and intents. (Closed)

Created:
8 years, 6 months ago by Greg Billock
Modified:
8 years, 6 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, jochen+watch-content_chromium.org
Visibility:
Public.

Description

Pass user gesture indicator for RPH and intents. We are moving to a policy which will change where we show RPH and web intents registrations between infobar and page-action type indicator depending on factors like user gesture, previous showing of the infobar, and perhaps other considerations. This change gets that user gesture indicator to the policy logic. It also incorporates a change to the web intents registration IPC to pass the service info struct instead of individual members. (Adding the user gesture went over the param limit, and passing the struct is a good change regardless.) [email protected],[email protected] BUG=119438 TEST=*WebIntent*.* Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=139996

Patch Set 1 #

Total comments: 38

Patch Set 2 : Fix userGesture to user_gesture #

Patch Set 3 : missing brace #

Total comments: 4

Patch Set 4 : Add comments #

Patch Set 5 : Merge to head #

Total comments: 2

Patch Set 6 : Fix includes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+133 lines, -120 lines) Patch
M chrome/browser/external_tab/external_tab_container_win.h View 1 1 chunk +6 lines, -7 lines 0 comments Download
M chrome/browser/external_tab/external_tab_container_win.cc View 1 1 chunk +11 lines, -12 lines 0 comments Download
M chrome/browser/intents/register_intent_handler_helper.cc View 1 2 chunks +7 lines, -23 lines 0 comments Download
M chrome/browser/ui/browser.h View 1 2 3 4 5 3 chunks +18 lines, -14 lines 0 comments Download
M chrome/browser/ui/browser.cc View 1 2 3 4 5 3 chunks +11 lines, -10 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.h View 1 2 3 4 3 chunks +5 lines, -6 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.cc View 1 2 3 4 3 chunks +8 lines, -9 lines 0 comments Download
M content/common/intents_messages.h View 1 2 3 4 4 chunks +13 lines, -6 lines 0 comments Download
M content/common/view_messages.h View 1 2 3 4 5 1 chunk +3 lines, -2 lines 0 comments Download
M content/public/browser/web_contents_delegate.h View 1 2 3 4 2 chunks +14 lines, -9 lines 0 comments Download
M content/renderer/notification_provider.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/render_view_browsertest.cc View 1 1 chunk +7 lines, -10 lines 0 comments Download
M content/renderer/render_view_impl.cc View 1 2 3 4 5 4 chunks +11 lines, -10 lines 0 comments Download
M webkit/glue/web_intent_service_data.h View 1 2 3 4 5 2 chunks +7 lines, -1 line 0 comments Download
M webkit/glue/web_intent_service_data.cc View 2 chunks +11 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
Greg Billock
8 years, 6 months ago (2012-05-29 16:25:16 UTC) #1
jam
http://codereview.chromium.org/10447067/diff/1/chrome/browser/external_tab/external_tab_container_win.cc File chrome/browser/external_tab/external_tab_container_win.cc (right): http://codereview.chromium.org/10447067/diff/1/chrome/browser/external_tab/external_tab_container_win.cc#newcode746 chrome/browser/external_tab/external_tab_container_win.cc:746: const webkit_glue::WebIntentServiceData& data, nit: user_gesture and 80 chars http://codereview.chromium.org/10447067/diff/1/chrome/browser/external_tab/external_tab_container_win.h ...
8 years, 6 months ago (2012-05-29 16:53:40 UTC) #2
Greg Billock
http://codereview.chromium.org/10447067/diff/1/chrome/browser/external_tab/external_tab_container_win.cc File chrome/browser/external_tab/external_tab_container_win.cc (right): http://codereview.chromium.org/10447067/diff/1/chrome/browser/external_tab/external_tab_container_win.cc#newcode746 chrome/browser/external_tab/external_tab_container_win.cc:746: const webkit_glue::WebIntentServiceData& data, On 2012/05/29 16:53:40, John Abd-El-Malek wrote: ...
8 years, 6 months ago (2012-05-29 17:09:07 UTC) #3
groby-ooo-7-16
I'd argue that it'd be even better to have an enum instead a bool for ...
8 years, 6 months ago (2012-05-30 01:07:13 UTC) #4
jam
lgtm
8 years, 6 months ago (2012-05-30 02:01:22 UTC) #5
Greg Billock
http://codereview.chromium.org/10447067/diff/9001/chrome/browser/ui/browser.h File chrome/browser/ui/browser.h (right): http://codereview.chromium.org/10447067/diff/9001/chrome/browser/ui/browser.h#newcode657 chrome/browser/ui/browser.h:657: static void RegisterIntentHandlerHelper( On 2012/05/30 01:07:13, groby wrote: > ...
8 years, 6 months ago (2012-05-30 17:45:21 UTC) #6
Greg Billock
On 2012/05/30 17:45:21, Greg Billock wrote: > http://codereview.chromium.org/10447067/diff/9001/chrome/browser/ui/browser.h > File chrome/browser/ui/browser.h (right): > > http://codereview.chromium.org/10447067/diff/9001/chrome/browser/ui/browser.h#newcode657 ...
8 years, 6 months ago (2012-05-30 17:47:11 UTC) #7
Peter Kasting
chrome/browser/ui LGTM
8 years, 6 months ago (2012-05-31 01:43:14 UTC) #8
darin (slow to review)
LGTM for src/webkit http://codereview.chromium.org/10447067/diff/1021/webkit/glue/web_intent_service_data.h File webkit/glue/web_intent_service_data.h (right): http://codereview.chromium.org/10447067/diff/1021/webkit/glue/web_intent_service_data.h#newcode9 webkit/glue/web_intent_service_data.h:9: #include <iosfwd> nit: insert new line ...
8 years, 6 months ago (2012-05-31 21:01:17 UTC) #9
Greg Billock
http://codereview.chromium.org/10447067/diff/1021/webkit/glue/web_intent_service_data.h File webkit/glue/web_intent_service_data.h (right): http://codereview.chromium.org/10447067/diff/1021/webkit/glue/web_intent_service_data.h#newcode9 webkit/glue/web_intent_service_data.h:9: #include <iosfwd> On 2012/05/31 21:01:17, darin wrote: > nit: ...
8 years, 6 months ago (2012-05-31 21:27:27 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/10447067/35
8 years, 6 months ago (2012-05-31 21:28:39 UTC) #11
commit-bot: I haz the power
Try job failure for 10447067-35 (retry) (previous was lost) on win_rel for step "compile" (clobber ...
8 years, 6 months ago (2012-05-31 23:08:31 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/10447067/35
8 years, 6 months ago (2012-05-31 23:14:25 UTC) #13
commit-bot: I haz the power
Try job failure for 10447067-35 (retry) on win_rel for step "browser_tests". It's a second try, ...
8 years, 6 months ago (2012-06-01 04:13:47 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/[email protected]/10447067/35
8 years, 6 months ago (2012-06-01 04:25:42 UTC) #15
commit-bot: I haz the power
8 years, 6 months ago (2012-06-01 08:38:41 UTC) #16
Change committed as 139996

Powered by Google App Engine
This is Rietveld 408576698