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

Issue 721973002: Navigation transitions (web to native app): Get names and rects of transition elements (Step 4) (Closed)

Created:
6 years, 1 month ago by Zhen Wang
Modified:
6 years, 1 month ago
Reviewers:
Nate Chapin
CC:
blink-reviews, shans, rjwright, Mike Lawther (Google), blink-reviews-animation_chromium.org, Timothy Loh, dstockwell, dglazkov+blink, darktears, Steve Block, Eric Willigers
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

Navigation transitions (web to native app): Get names and rects of transition elements (Step 4) Web to native app navigation transition uses Activity Transitions APIs in Android L. It requires the names and rects of transition elements. This CL gets the names and rects and pass them to TransitionRequestManager. Design doc: https://docs.google.com/a/chromium.org/document/d/17jg1RRL3RI969cLwbKBIcoGDsPwqaEdBxafGNYGwiY4/edit# Demo video: https://drive.google.com/a/google.com/file/d/0B3hetueIc91Gd01DU25uT2hWU2M/view?usp=sharing Activity Transitions in Android L: https://developer.android.com/preview/material/animations.html#transitions ================ Originally this was a 3-way patch since it involves API change in WebFrameClient.h. After the chrome side impl was committed (step 1), we found that it is better to pass struct instead of long list of params. So this turns out to be a 5-way patch. Here are the 5 steps: 1. Chrome side - save the data (https://codereview.chromium.org/652283002/). 2. Blink side - getting the data and introduce struct WebTransitionElementData, but still using long list of params (https://codereview.chromium.org/654953002/). 3. Chrome side - implement the API with WebTransitionElementData (https://codereview.chromium.org/679813003/). 4. Blink side - remove old APIs that use long list of params and start to use new API with WebTransitionElementData (this CL). 5. Chrome side - remove redundent implmentations of the old APIs (https://codereview.chromium.org/728653003/). BUG=370696 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=185334

Patch Set 1 #

Total comments: 2

Patch Set 2 : review fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -22 lines) Patch
M Source/web/FrameLoaderClientImpl.cpp View 1 1 chunk +5 lines, -11 lines 0 comments Download
M Source/web/tests/WebFrameTest.cpp View 1 chunk +1 line, -6 lines 0 comments Download
M public/web/WebFrameClient.h View 1 chunk +0 lines, -5 lines 0 comments Download

Messages

Total messages: 8 (2 generated)
Zhen Wang
ptal
6 years, 1 month ago (2014-11-13 15:43:55 UTC) #2
Nate Chapin
https://codereview.chromium.org/721973002/diff/1/public/web/WebTransitionElementData.h File public/web/WebTransitionElementData.h (right): https://codereview.chromium.org/721973002/diff/1/public/web/WebTransitionElementData.h#newcode35 public/web/WebTransitionElementData.h:35: #include "core/dom/Document.h" Including core/ from public/web/ is a layering ...
6 years, 1 month ago (2014-11-13 19:27:30 UTC) #3
Zhen Wang
https://codereview.chromium.org/721973002/diff/1/public/web/WebTransitionElementData.h File public/web/WebTransitionElementData.h (right): https://codereview.chromium.org/721973002/diff/1/public/web/WebTransitionElementData.h#newcode35 public/web/WebTransitionElementData.h:35: #include "core/dom/Document.h" I see. Assigning the values in FrameLoaderClientImpl.cpp ...
6 years, 1 month ago (2014-11-13 21:56:05 UTC) #4
Nate Chapin
LGTM
6 years, 1 month ago (2014-11-13 21:59:16 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/721973002/20001
6 years, 1 month ago (2014-11-13 23:58:20 UTC) #7
commit-bot: I haz the power
6 years, 1 month ago (2014-11-14 00:33:25 UTC) #8
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as 185334

Powered by Google App Engine
This is Rietveld 408576698