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

Issue 319573008: Navigation transitions: Initiate navigation transition and send serialized markup to Chrome (Closed)

Created:
6 years, 6 months ago by oystein (OOO til 10th of July)
Modified:
6 years, 5 months ago
CC:
abarth-chromium, blink-reviews, dglazkov+blink, gavinp+loader_chromium.org, jamesr, Nate Chapin, shatch
Base URL:
https://chromium.googlesource.com/chromium/blink.git@transitions_editing
Visibility:
Public.

Description

Navigation transitions: Initiate navigation transition and send serialized markup to Chrome If any transition-elements metatags are present, we signal Chrome that this is a transition navigation and serialize the HTML elements designated by the selectors in the transitions-elements metatag. The isTransitionNavigation flag needs to be passed through both WebFrameClient::decidePolicyForNavigation and WebFrameClient::dispatchDidStartProvisionalLoad to cover both same-origin and different-origin navigation paths. Requires https://codereview.chromium.org/281383006/ R=esprehn,eseidel BUG=281383006 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=178413

Patch Set 1 : #

Total comments: 13

Patch Set 2 : Review fixes #

Patch Set 3 : #

Total comments: 2

Patch Set 4 : Rebase and sync with other CLs #

Patch Set 5 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+107 lines, -25 lines) Patch
M Source/core/loader/DocumentLoader.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M Source/core/loader/DocumentLoader.cpp View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/loader/EmptyClients.h View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/loader/EmptyClients.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/loader/FrameLoader.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/loader/FrameLoader.cpp View 1 2 3 4 3 chunks +32 lines, -2 lines 0 comments Download
M Source/core/loader/FrameLoaderClient.h View 1 2 3 4 2 chunks +3 lines, -2 lines 0 comments Download
M Source/web/FrameLoaderClientImpl.h View 1 2 3 4 2 chunks +4 lines, -2 lines 0 comments Download
M Source/web/FrameLoaderClientImpl.cpp View 1 2 3 4 2 chunks +20 lines, -5 lines 0 comments Download
M Source/web/tests/WebFrameTest.cpp View 1 2 3 4 3 chunks +6 lines, -8 lines 0 comments Download
M public/web/WebFrameClient.h View 1 2 3 4 3 chunks +34 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
oystein (OOO til 10th of July)
ptal; mainly plumbing but sends some bools up to Chrome which will require some 3-way ...
6 years, 6 months ago (2014-06-04 23:49:25 UTC) #1
esprehn
abarth@ might have comments about how this interacts with the public/ API. https://codereview.chromium.org/319573008/diff/20001/Source/core/loader/FrameLoader.cpp File Source/core/loader/FrameLoader.cpp ...
6 years, 6 months ago (2014-06-13 08:50:18 UTC) #2
abarth-chromium
https://codereview.chromium.org/319573008/diff/20001/Source/web/FrameLoaderClientImpl.cpp File Source/web/FrameLoaderClientImpl.cpp (right): https://codereview.chromium.org/319573008/diff/20001/Source/web/FrameLoaderClientImpl.cpp#newcode470 Source/web/FrameLoaderClientImpl.cpp:470: void FrameLoaderClientImpl::dispatchAddNavigationTransitionData(const String& origin, const String& markup) I didn't ...
6 years, 6 months ago (2014-06-13 17:18:32 UTC) #3
oystein (OOO til 10th of July)
Thanks guys! https://codereview.chromium.org/319573008/diff/20001/Source/core/loader/FrameLoader.cpp File Source/core/loader/FrameLoader.cpp (right): https://codereview.chromium.org/319573008/diff/20001/Source/core/loader/FrameLoader.cpp#newcode1289 Source/core/loader/FrameLoader.cpp:1289: frame()->document()->getTransitionElementData(&elementData, IGNORE_EXCEPTION); On 2014/06/13 08:50:18, esprehn wrote: ...
6 years, 6 months ago (2014-06-13 17:52:27 UTC) #4
esprehn
On 2014/06/13 17:52:27, Oystein wrote: > Thanks guys! > > https://codereview.chromium.org/319573008/diff/20001/Source/core/loader/FrameLoader.cpp > File Source/core/loader/FrameLoader.cpp (right): ...
6 years, 6 months ago (2014-06-13 18:01:03 UTC) #5
oystein (OOO til 10th of July)
New version up; ptal :) https://codereview.chromium.org/319573008/diff/20001/Source/core/loader/FrameLoader.cpp File Source/core/loader/FrameLoader.cpp (right): https://codereview.chromium.org/319573008/diff/20001/Source/core/loader/FrameLoader.cpp#newcode1290 Source/core/loader/FrameLoader.cpp:1290: if (elementData.isEmpty() || !validateTransitionNavigationMode()) ...
6 years, 6 months ago (2014-06-18 00:04:09 UTC) #6
abarth-chromium
lgtm
6 years, 6 months ago (2014-06-18 00:20:00 UTC) #7
esprehn
lgtm https://codereview.chromium.org/319573008/diff/80001/public/web/WebFrameClient.h File public/web/WebFrameClient.h (right): https://codereview.chromium.org/319573008/diff/80001/public/web/WebFrameClient.h#newcode194 public/web/WebFrameClient.h:194: NavigationPolicyInfo(const WebURLRequest& urlRequest) : frame(0), extraData(0), urlRequest(urlRequest), navigationType(WebNavigationTypeOther), ...
6 years, 6 months ago (2014-06-21 02:50:21 UTC) #8
oystein (OOO til 10th of July)
The CQ bit was checked by oysteine@chromium.org
6 years, 5 months ago (2014-07-17 22:57:42 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/319573008/180001
6 years, 5 months ago (2014-07-17 22:58:45 UTC) #10
commit-bot: I haz the power
6 years, 5 months ago (2014-07-18 01:23:25 UTC) #11
Message was sent while issue was closed.
Change committed as 178413

Powered by Google App Engine
This is Rietveld 408576698