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

Issue 2692023002: Make PaymentRequestImpl work with RenderFrameHost (Closed)

Created:
3 years, 10 months ago by rwlbuis
Modified:
3 years, 9 months ago
CC:
Aaron Boodman, abarth-chromium, agrieve+watch_chromium.org, chromium-reviews, creis+watch_chromium.org, darin (slow to review), darin-cc_chromium.org, gogerald+paymentswatch_chromium.org, jam, nasko+codewatch_chromium.org, qsr+mojo_chromium.org, rouslan+payments_chromium.org, sebsg+paymentswatch_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make PaymentRequestImpl work with RenderFrameHost Make PaymentRequestImpl work with the newly introduced RenderFrameHost in order to know the (sub)frame that created the payment request. This CL also adds WebContentsStatics which should contain public static methods for WebContents. BUG=620173 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation patch from issue 2681933002 at patchset 100001 (http://crrev.com/2681933002#ps100001) Review-Url: https://codereview.chromium.org/2692023002 Cr-Commit-Position: refs/heads/master@{#457464} Committed: https://chromium.googlesource.com/chromium/src/+/6e62a5770c75bce60af3a8f91866e2ea7dcbf3bf

Patch Set 1 #

Patch Set 2 : Fix ShareService problem #

Patch Set 3 : Standalone #

Patch Set 4 : Rebase #

Patch Set 5 : Rebase once more #

Patch Set 6 : Adjust after RFH landed #

Patch Set 7 : Remove public from WebContentsImpl #

Total comments: 8

Patch Set 8 : Fix review comments #

Patch Set 9 : Rebase after https://codereview.chromium.org/2708243004 #

Total comments: 2

Patch Set 10 : Address review comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+131 lines, -24 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/mojo/ChromeInterfaceRegistrar.java View 3 chunks +13 lines, -1 line 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/payments/PaymentRequestFactory.java View 4 chunks +6 lines, -6 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/payments/PaymentRequestImpl.java View 1 2 3 4 5 6 7 8 9 4 chunks +9 lines, -4 lines 0 comments Download
M chrome/browser/chrome_content_browser_client.cc View 1 2 3 4 5 6 7 8 9 1 chunk +3 lines, -3 lines 0 comments Download
M content/browser/android/java_interfaces_impl.h View 1 2 3 4 5 6 7 8 9 1 chunk +5 lines, -0 lines 0 comments Download
M content/browser/android/java_interfaces_impl.cc View 1 2 3 4 5 6 7 8 9 2 chunks +10 lines, -0 lines 0 comments Download
M content/browser/frame_host/render_frame_host_impl.h View 1 2 3 4 5 6 7 8 9 2 chunks +5 lines, -0 lines 0 comments Download
M content/browser/frame_host/render_frame_host_impl.cc View 1 2 3 4 5 6 7 8 9 2 chunks +11 lines, -0 lines 0 comments Download
M content/public/android/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/InterfaceRegistrarImpl.java View 1 2 2 chunks +11 lines, -0 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/framehost/RenderFrameHostImpl.java View 1 2 3 4 5 6 7 1 chunk +5 lines, -0 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/webcontents/WebContentsImpl.java View 1 2 3 4 5 6 7 2 chunks +0 lines, -9 lines 0 comments Download
M content/public/android/java/src/org/chromium/content_public/browser/InterfaceRegistrar.java View 3 chunks +17 lines, -0 lines 0 comments Download
A content/public/android/java/src/org/chromium/content_public/browser/WebContentsStatics.java View 1 2 3 4 5 6 7 1 chunk +24 lines, -0 lines 0 comments Download
M content/public/android/javatests/src/org/chromium/content/browser/webcontents/WebContentsTest.java View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -1 line 0 comments Download
M content/public/browser/render_frame_host.h View 1 2 3 4 5 6 7 8 9 1 chunk +8 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 45 (21 generated)
rwlbuis
PTAL. I think implementing sending of iframe origin (main reason why we do these CLs) ...
3 years, 9 months ago (2017-03-09 19:02:47 UTC) #7
please use gerrit instead
payments LGTM Thank you!
3 years, 9 months ago (2017-03-09 19:40:11 UTC) #8
boliu
+rockot to look over the mojo things. This directly mirrors mojo implementation on WebContents, so ...
3 years, 9 months ago (2017-03-10 19:02:11 UTC) #11
rwlbuis
PTAL. https://codereview.chromium.org/2692023002/diff/180001/content/public/android/java/src/org/chromium/content_public/browser/RenderFrameHost.java File content/public/android/java/src/org/chromium/content_public/browser/RenderFrameHost.java (right): https://codereview.chromium.org/2692023002/diff/180001/content/public/android/java/src/org/chromium/content_public/browser/RenderFrameHost.java#newcode24 content/public/android/java/src/org/chromium/content_public/browser/RenderFrameHost.java:24: RenderFrameHostDelegate getRenderFrameHostDelegate(); On 2017/03/10 19:02:10, boliu wrote: > ...
3 years, 9 months ago (2017-03-10 21:40:42 UTC) #12
boliu
content lgtm % rockot review Are there tests for the payment stuff in chrome? Or ...
3 years, 9 months ago (2017-03-11 00:49:06 UTC) #13
rwlbuis
On 2017/03/11 00:49:06, boliu wrote: > content lgtm % rockot review Thanks! > Are there ...
3 years, 9 months ago (2017-03-11 01:13:18 UTC) #14
please use gerrit instead
On 2017/03/11 01:13:18, rwlbuis wrote: > On 2017/03/11 00:49:06, boliu wrote: > > content lgtm ...
3 years, 9 months ago (2017-03-11 01:20:28 UTC) #15
Ken Rockot(use gerrit already)
l-g-t-m but +sammc for a sanity check first. I don't recall if there was any ...
3 years, 9 months ago (2017-03-13 17:24:25 UTC) #17
Sam McNally
LGTM On 2017/03/13 17:24:25, Ken Rockot wrote: > l-g-t-m but +sammc for a sanity check ...
3 years, 9 months ago (2017-03-13 23:35:10 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2692023002/240001
3 years, 9 months ago (2017-03-13 23:39:57 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/384432)
3 years, 9 months ago (2017-03-13 23:50:21 UTC) #23
rwlbuis
@jochen PTAL these 2 files: chrome/android/java/src/org/chromium/chrome/browser/mojo/ChromeInterfaceRegistrar.java content/public/browser/render_frame_host.h
3 years, 9 months ago (2017-03-14 02:09:47 UTC) #24
rwlbuis
@jam PTAL at this public content change: content/public/browser/render_frame_host.h
3 years, 9 months ago (2017-03-14 17:47:21 UTC) #27
rwlbuis
On 2017/03/14 17:47:21, rwlbuis wrote: > @jam PTAL at this public content change: > content/public/browser/render_frame_host.h ...
3 years, 9 months ago (2017-03-14 19:08:26 UTC) #28
rwlbuis
Adding jochen back, it seems I removed him too soon :)
3 years, 9 months ago (2017-03-15 02:12:02 UTC) #30
jochen (gone - plz use gerrit)
On 2017/03/15 at 02:12:02, rob.buis wrote: > Adding jochen back, it seems I removed him ...
3 years, 9 months ago (2017-03-15 15:49:31 UTC) #31
rwlbuis
On 2017/03/15 15:49:31, jochen wrote: > On 2017/03/15 at 02:12:02, rob.buis wrote: > > Adding ...
3 years, 9 months ago (2017-03-15 15:56:23 UTC) #32
rwlbuis
Adding tedchoc for: chrome/android/java/src/org/chromium/chrome/browser/mojo/ChromeInterfaceRegistrar.java
3 years, 9 months ago (2017-03-15 15:58:40 UTC) #34
jam
https://codereview.chromium.org/2692023002/diff/240001/content/browser/android/java_interfaces_impl.cc File content/browser/android/java_interfaces_impl.cc (right): https://codereview.chromium.org/2692023002/diff/240001/content/browser/android/java_interfaces_impl.cc#newcode70 content/browser/android/java_interfaces_impl.cc:70: render_frame_host->GetJavaRenderFrameHost().obj()); since this new method is only called from ...
3 years, 9 months ago (2017-03-15 17:12:11 UTC) #35
rwlbuis
PTAL. https://codereview.chromium.org/2692023002/diff/240001/content/browser/android/java_interfaces_impl.cc File content/browser/android/java_interfaces_impl.cc (right): https://codereview.chromium.org/2692023002/diff/240001/content/browser/android/java_interfaces_impl.cc#newcode70 content/browser/android/java_interfaces_impl.cc:70: render_frame_host->GetJavaRenderFrameHost().obj()); On 2017/03/15 17:12:11, jam wrote: > since ...
3 years, 9 months ago (2017-03-15 17:52:53 UTC) #37
Ted C
On 2017/03/15 15:58:40, rwlbuis wrote: > Adding tedchoc for: > chrome/android/java/src/org/chromium/chrome/browser/mojo/ChromeInterfaceRegistrar.java lgtm - ChromeInterfaceRegistrar.java
3 years, 9 months ago (2017-03-15 23:43:29 UTC) #38
jam
lgtm
3 years, 9 months ago (2017-03-16 15:39:58 UTC) #39
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2692023002/280001
3 years, 9 months ago (2017-03-16 15:43:48 UTC) #42
commit-bot: I haz the power
3 years, 9 months ago (2017-03-16 17:12:53 UTC) #45
Message was sent while issue was closed.
Committed patchset #10 (id:280001) as
https://chromium.googlesource.com/chromium/src/+/6e62a5770c75bce60af3a8f91866...

Powered by Google App Engine
This is Rietveld 408576698