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

Issue 387703004: Navigation transitions: Parse out transition-entering-stylesheet link headers. (Closed)

Created:
6 years, 5 months ago by Zhen Wang
Modified:
6 years, 5 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam, oystein (OOO til 10th of July), shatch
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Navigation transitions: Parse out transition-entering-stylesheet link headers. transition-entering-stylesheet is parsed out from the response header of the incoming page and passed to the Java side. Design doc: https://docs.google.com/a/chromium.org/document/d/17jg1RRL3RI969cLwbKBIcoGDsPwqaEdBxafGNYGwiY4/edit# Implementation details: https://docs.google.com/a/chromium.org/document/d/1kREPtFJaeLoDKwrfmrYTD7DHCdxX1RzFBga2gNY8lyE/edit#heading=h.bng2kpmyvxq5 BUG=370696 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=285391

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 10

Patch Set 4 : nitx fix and add unittests #

Patch Set 5 : remove inline ctor/dtor #

Patch Set 6 : export symbol to unit tests #

Patch Set 7 : more tests #

Patch Set 8 : more tests on java side #

Total comments: 1

Patch Set 9 : rebase and rename var #

Patch Set 10 : #

Patch Set 11 : remove TransitionLayerData #

Patch Set 12 : remove TransitionLayerData in unit tests #

Total comments: 4

Patch Set 13 : nit fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+406 lines, -12 lines) Patch
M content/browser/android/content_view_core_impl.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +3 lines, -1 line 0 comments Download
M content/browser/android/content_view_core_impl.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +17 lines, -1 line 0 comments Download
M content/browser/frame_host/render_frame_host_delegate.h View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +4 lines, -1 line 0 comments Download
M content/browser/frame_host/render_frame_host_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +5 lines, -1 line 0 comments Download
M content/browser/frame_host/render_frame_host_impl.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +4 lines, -2 lines 0 comments Download
M content/browser/loader/cross_site_resource_handler.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +14 lines, -3 lines 0 comments Download
M content/browser/transition_request_manager.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +14 lines, -0 lines 0 comments Download
M content/browser/transition_request_manager.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +84 lines, -0 lines 0 comments Download
A content/browser/transition_request_manager_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +106 lines, -0 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +4 lines, -1 line 0 comments Download
M content/browser/web_contents/web_contents_impl.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +5 lines, -2 lines 0 comments Download
M content/content_tests.gypi View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -0 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java View 1 2 3 4 5 6 7 8 2 chunks +13 lines, -0 lines 0 comments Download
M content/public/android/javatests/src/org/chromium/content/browser/TransitionTest.java View 1 2 3 4 5 6 7 8 4 chunks +131 lines, -0 lines 0 comments Download

Messages

Total messages: 24 (0 generated)
Zhen Wang
Hi guys, please take a look.
6 years, 5 months ago (2014-07-15 00:25:25 UTC) #1
no sievers
On 2014/07/15 00:25:25, Zhen Wang wrote: > Hi guys, please take a look. Deferring review ...
6 years, 5 months ago (2014-07-15 21:06:36 UTC) #2
Zhen Wang
Simon is on maternity leave starting from this week. Shall I ask Oystein to review ...
6 years, 5 months ago (2014-07-15 21:36:03 UTC) #3
jam
redirecting to jochen as I'm overloaded
6 years, 5 months ago (2014-07-16 05:50:39 UTC) #4
jochen (gone - plz use gerrit)
I'll have to wrap my heard around this a bit more, so only a few ...
6 years, 5 months ago (2014-07-16 13:25:59 UTC) #5
jochen (gone - plz use gerrit)
(for the C++ parts that is)
6 years, 5 months ago (2014-07-16 13:26:17 UTC) #6
jochen (gone - plz use gerrit)
ok, essentially, I'm wondering why you pass the transition layer data around instead of passing ...
6 years, 5 months ago (2014-07-17 13:09:52 UTC) #7
Zhen Wang
I have updated it and added the unit tests. The transition layer data will include ...
6 years, 5 months ago (2014-07-18 00:56:35 UTC) #8
jochen (gone - plz use gerrit)
On 2014/07/18 at 00:56:35, zhenw wrote: > I have updated it and added the unit ...
6 years, 5 months ago (2014-07-18 09:15:16 UTC) #9
Zhen Wang
More tests are added. ptal. The full version of transition_layer_data will be: struct TransitionLayerData { ...
6 years, 5 months ago (2014-07-18 17:56:24 UTC) #10
shatch
Per sievers' request, looked at content/browser/android/* https://codereview.chromium.org/387703004/diff/140001/content/browser/android/content_view_core_impl.cc File content/browser/android/content_view_core_impl.cc (right): https://codereview.chromium.org/387703004/diff/140001/content/browser/android/content_view_core_impl.cc#newcode1623 content/browser/android/content_view_core_impl.cc:1623: for (; iter ...
6 years, 5 months ago (2014-07-22 20:06:29 UTC) #11
Zhen Wang
updated according to shatch's comment. ptal. On 2014/07/22 20:06:29, shatch wrote: > Per sievers' request, ...
6 years, 5 months ago (2014-07-22 23:02:06 UTC) #12
jochen (gone - plz use gerrit)
somehow the codereview tool swallowed my comments :( I understand that you will add more ...
6 years, 5 months ago (2014-07-23 07:04:19 UTC) #13
Zhen Wang
I see. I have removed TransitionLayerData. Header parsing is now in ContentViewCoreImpl. ptal. On 2014/07/23 ...
6 years, 5 months ago (2014-07-23 19:08:29 UTC) #14
jochen (gone - plz use gerrit)
thank you, lgtm https://codereview.chromium.org/387703004/diff/220001/content/browser/frame_host/render_frame_host_delegate.h File content/browser/frame_host/render_frame_host_delegate.h (right): https://codereview.chromium.org/387703004/diff/220001/content/browser/frame_host/render_frame_host_delegate.h#newcode25 content/browser/frame_host/render_frame_host_delegate.h:25: struct TransitionLayerData; nit. not required anymore ...
6 years, 5 months ago (2014-07-24 09:05:27 UTC) #15
Zhen Wang
nit fix https://codereview.chromium.org/387703004/diff/220001/content/browser/frame_host/render_frame_host_delegate.h File content/browser/frame_host/render_frame_host_delegate.h (right): https://codereview.chromium.org/387703004/diff/220001/content/browser/frame_host/render_frame_host_delegate.h#newcode25 content/browser/frame_host/render_frame_host_delegate.h:25: struct TransitionLayerData; On 2014/07/24 09:05:27, jochen wrote: ...
6 years, 5 months ago (2014-07-24 15:29:56 UTC) #16
Zhen Wang
The CQ bit was checked by zhenw@chromium.org
6 years, 5 months ago (2014-07-24 16:52:06 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zhenw@chromium.org/387703004/240001
6 years, 5 months ago (2014-07-24 16:53:47 UTC) #18
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_chromium_rel_swarming on tryserver.chromium ...
6 years, 5 months ago (2014-07-24 18:10:20 UTC) #19
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-24 18:43:31 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_swarming on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/linux_chromium_rel_swarming/builds/1931)
6 years, 5 months ago (2014-07-24 18:43:32 UTC) #21
Zhen Wang
The CQ bit was checked by zhenw@chromium.org
6 years, 5 months ago (2014-07-24 21:49:13 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zhenw@chromium.org/387703004/240001
6 years, 5 months ago (2014-07-24 21:51:18 UTC) #23
commit-bot: I haz the power
6 years, 5 months ago (2014-07-24 22:22:11 UTC) #24
Message was sent while issue was closed.
Change committed as 285391

Powered by Google App Engine
This is Rietveld 408576698