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

Issue 435833002: Navigation transitions: Plumb data from the outgoing renderer to the incoming renderer (Closed)

Created:
6 years, 4 months ago by oystein (OOO til 10th of July)
Modified:
6 years, 4 months ago
Reviewers:
Charlie Reis, jam, nasko
CC:
chromium-reviews, darin-cc_chromium.org, nasko+codewatch_chromium.org, jam, creis+watch_chromium.org, miu+watch_chromium.org
Project:
chromium
Visibility:
Public.

Description

Navigation transitions: Plumb data from the outgoing renderer to the incoming renderer. The outgoing renderer sends one or more sets of serialized markup of transition elements, the CSS selectors used to select each of these and its associated allowed destination origin, up to the TransitionRequestManager in Chrome. Once we have a navigation response we then pick up this data again (selecting one of these sets), send it up to the Android embedder, and from there it's used to 1) send a message down to the outgoing renderer to hide the transition elements we selected to use using the CSS selector, and 2) send the serialized markup down to the incoming renderer to inject into its document. R=creis,jam,nasko BUG=370696 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=288228

Patch Set 1 : #

Total comments: 24

Patch Set 2 : Review fixes #

Total comments: 10

Patch Set 3 : Review fixes #

Total comments: 6

Patch Set 4 : Review fixes #

Patch Set 5 : Buildfix #

Patch Set 6 : Test fixes #

Patch Set 7 : Testfix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+309 lines, -96 lines) Patch
M content/browser/android/content_view_core_impl.h View 2 chunks +4 lines, -2 lines 0 comments Download
M content/browser/android/content_view_core_impl.cc View 1 2 3 4 5 6 4 chunks +33 lines, -8 lines 0 comments Download
M content/browser/frame_host/render_frame_host_delegate.h View 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/frame_host/render_frame_host_impl.h View 1 2 3 3 chunks +5 lines, -6 lines 0 comments Download
M content/browser/frame_host/render_frame_host_impl.cc View 1 2 3 2 chunks +5 lines, -8 lines 0 comments Download
M content/browser/frame_host/render_frame_host_manager.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/loader/cross_site_resource_handler.h View 2 chunks +6 lines, -2 lines 0 comments Download
M content/browser/loader/cross_site_resource_handler.cc View 4 chunks +17 lines, -15 lines 0 comments Download
M content/browser/renderer_host/render_message_filter.h View 1 2 3 1 chunk +5 lines, -2 lines 0 comments Download
M content/browser/renderer_host/render_message_filter.cc View 1 2 3 2 chunks +11 lines, -6 lines 0 comments Download
M content/browser/transition_browsertest.cc View 1 2 3 4 3 chunks +11 lines, -2 lines 0 comments Download
M content/browser/transition_request_manager.h View 1 2 3 3 chunks +67 lines, -15 lines 0 comments Download
M content/browser/transition_request_manager.cc View 1 2 3 3 chunks +68 lines, -15 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.h View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.cc View 1 2 3 1 chunk +2 lines, -3 lines 0 comments Download
M content/common/frame_messages.h View 1 2 3 2 chunks +15 lines, -2 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java View 1 2 3 4 5 6 4 chunks +27 lines, -4 lines 0 comments Download
M content/public/android/javatests/src/org/chromium/content/browser/TransitionTest.java View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M content/renderer/render_frame_impl.h View 1 2 3 2 chunks +6 lines, -0 lines 0 comments Download
M content/renderer/render_frame_impl.cc View 1 2 3 3 chunks +21 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
oystein (OOO til 10th of July)
Hi guys, Last remaining part of Blink<->CrossSiteResourceHandler<->AndroidEmbedder plumbing/infrastructure for this thing; PTAL :)
6 years, 4 months ago (2014-08-01 22:41:32 UTC) #1
nasko
Few comments. https://codereview.chromium.org/435833002/diff/40001/content/browser/transition_request_manager.cc File content/browser/transition_request_manager.cc (right): https://codereview.chromium.org/435833002/diff/40001/content/browser/transition_request_manager.cc#newcode120 content/browser/transition_request_manager.cc:120: // FIXME(oysteine): Add CSP check to validate ...
6 years, 4 months ago (2014-08-04 13:36:48 UTC) #2
oystein (OOO til 10th of July)
Thanks nasko! New version up, with some questions below. https://codereview.chromium.org/435833002/diff/40001/content/browser/transition_request_manager.cc File content/browser/transition_request_manager.cc (right): https://codereview.chromium.org/435833002/diff/40001/content/browser/transition_request_manager.cc#newcode120 content/browser/transition_request_manager.cc:120: ...
6 years, 4 months ago (2014-08-05 19:02:49 UTC) #3
Charlie Reis
A few nits below. I don't suppose there's any way for the transition/destination process to ...
6 years, 4 months ago (2014-08-05 20:07:21 UTC) #4
oystein (OOO til 10th of July)
Thanks! On 2014/08/05 20:07:21, Charlie Reis wrote: > I don't suppose there's any way for ...
6 years, 4 months ago (2014-08-05 20:50:54 UTC) #5
Charlie Reis
Thanks! LGTM with nits, but let's wait for Nasko's approval as well. > On 2014/08/05 ...
6 years, 4 months ago (2014-08-05 20:58:14 UTC) #6
nasko
LGTM with a few nits/comments. https://codereview.chromium.org/435833002/diff/40001/content/browser/transition_request_manager.cc File content/browser/transition_request_manager.cc (right): https://codereview.chromium.org/435833002/diff/40001/content/browser/transition_request_manager.cc#newcode120 content/browser/transition_request_manager.cc:120: // FIXME(oysteine): Add CSP ...
6 years, 4 months ago (2014-08-06 10:58:49 UTC) #7
oystein (OOO til 10th of July)
Thanks nasko&creis! :) https://codereview.chromium.org/435833002/diff/40001/content/browser/transition_request_manager.cc File content/browser/transition_request_manager.cc (right): https://codereview.chromium.org/435833002/diff/40001/content/browser/transition_request_manager.cc#newcode120 content/browser/transition_request_manager.cc:120: // FIXME(oysteine): Add CSP check to ...
6 years, 4 months ago (2014-08-06 22:36:20 UTC) #8
oystein (OOO til 10th of July)
The CQ bit was checked by oysteine@chromium.org
6 years, 4 months ago (2014-08-07 00:40:20 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/oysteine@chromium.org/435833002/180001
6 years, 4 months ago (2014-08-07 00:42:38 UTC) #10
oystein (OOO til 10th of July)
The CQ bit was checked by oysteine@chromium.org
6 years, 4 months ago (2014-08-07 01:20:01 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/oysteine@chromium.org/435833002/200001
6 years, 4 months ago (2014-08-07 01:21:52 UTC) #12
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_dbg_triggered_tests on tryserver.chromium.linux ...
6 years, 4 months ago (2014-08-07 06:19:05 UTC) #13
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-07 07:30:38 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg_triggered_tests on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_dbg_triggered_tests/builds/3275)
6 years, 4 months ago (2014-08-07 07:30:39 UTC) #15
oystein (OOO til 10th of July)
The CQ bit was checked by oysteine@chromium.org
6 years, 4 months ago (2014-08-07 21:45:43 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/oysteine@chromium.org/435833002/210001
6 years, 4 months ago (2014-08-07 22:20:02 UTC) #17
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: mac_gpu_retina_triggered_tests on tryserver.chromium.gpu ...
6 years, 4 months ago (2014-08-08 00:58:37 UTC) #18
commit-bot: I haz the power
6 years, 4 months ago (2014-08-08 06:35:30 UTC) #19
Message was sent while issue was closed.
Change committed as 288228

Powered by Google App Engine
This is Rietveld 408576698