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

Issue 358973005: Navigation transitions: Pass is_transition_navigation flag up to the embedder (Closed)

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

Description

Navigation transitions: Initiate transition navigations. A is_transition_navigation flag now gets passed up from Blink (through decidePolicyForNavigation and OpenURL) to the navigator, which then calls didStartNavigationTransitionForFrame on the ContentViewCore of the embedder if it's set. R=nasko,jam BUG=370696 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=286672

Patch Set 1 #

Patch Set 2 : #

Total comments: 11

Patch Set 3 : Removed cross-process transition navigations #

Patch Set 4 : Rebase #

Patch Set 5 : Rebase #

Patch Set 6 : Test fixes #

Patch Set 7 : Android compile fix #

Patch Set 8 : Fixed tests #

Patch Set 9 : Android compile fix #

Total comments: 4

Patch Set 10 : Rebase and review fixes #

Patch Set 11 : Test fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+192 lines, -165 lines) Patch
M content/browser/android/content_view_core_impl.h View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M content/browser/android/content_view_core_impl.cc View 1 2 3 4 5 6 7 8 9 1 chunk +9 lines, -0 lines 0 comments Download
M content/browser/frame_host/navigation_controller_impl_unittest.cc View 1 2 3 4 5 6 7 3 chunks +6 lines, -6 lines 0 comments Download
M content/browser/frame_host/navigator.h View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/frame_host/navigator_delegate.h View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M content/browser/frame_host/navigator_impl.h View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/frame_host/navigator_impl.cc View 1 2 3 4 5 6 7 8 9 2 chunks +5 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 1 chunk +2 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 1 chunk +4 lines, -2 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.h View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -0 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.cc View 1 2 3 4 5 6 7 8 9 1 chunk +9 lines, -0 lines 0 comments Download
M content/common/frame_messages.h View 1 2 3 4 5 6 7 8 9 1 chunk +6 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 7 8 9 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 1 chunk +4 lines, -0 lines 0 comments Download
M content/renderer/render_frame_impl.h View 1 2 3 4 5 6 7 8 9 3 chunks +4 lines, -13 lines 0 comments Download
M content/renderer/render_frame_impl.cc View 1 2 3 4 5 6 7 8 9 14 chunks +52 lines, -57 lines 0 comments Download
M content/renderer/render_view_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 4 chunks +51 lines, -53 lines 0 comments Download
M content/shell/renderer/test_runner/web_frame_test_proxy.h View 1 2 3 4 5 2 chunks +6 lines, -11 lines 0 comments Download
M content/shell/renderer/test_runner/web_test_proxy.h View 1 2 3 4 5 2 chunks +2 lines, -6 lines 0 comments Download
M content/shell/renderer/test_runner/web_test_proxy.cc View 1 2 3 4 5 1 chunk +4 lines, -9 lines 0 comments Download
M content/test/test_render_frame_host.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 44 (0 generated)
oystein (OOO til 10th of July)
This flag is what kicks off the whole navigation transition process. Blink sets it if ...
6 years, 5 months ago (2014-07-01 12:06:03 UTC) #1
jam
just looked at public for now https://codereview.chromium.org/358973005/diff/20001/content/public/browser/navigation_controller.h File content/public/browser/navigation_controller.h (right): https://codereview.chromium.org/358973005/diff/20001/content/public/browser/navigation_controller.h#newcode172 content/public/browser/navigation_controller.h:172: bool is_transition_navigation; ditto ...
6 years, 5 months ago (2014-07-01 16:14:15 UTC) #2
nasko
I'm not quite clear when transitions will be performed. If we have an entry in ...
6 years, 5 months ago (2014-07-03 09:39:31 UTC) #3
oystein (OOO til 10th of July)
https://codereview.chromium.org/358973005/diff/20001/content/browser/frame_host/navigation_entry_impl.h File content/browser/frame_host/navigation_entry_impl.h (right): https://codereview.chromium.org/358973005/diff/20001/content/browser/frame_host/navigation_entry_impl.h#newcode92 content/browser/frame_host/navigation_entry_impl.h:92: virtual void SetIsTransitionNavigation(bool is_transition_navigation) On 2014/07/03 09:39:30, nasko (in ...
6 years, 5 months ago (2014-07-17 17:52:49 UTC) #4
nasko
On 2014/07/17 17:52:49, Oystein wrote: > https://codereview.chromium.org/358973005/diff/20001/content/browser/frame_host/navigation_entry_impl.h > File content/browser/frame_host/navigation_entry_impl.h (right): > > https://codereview.chromium.org/358973005/diff/20001/content/browser/frame_host/navigation_entry_impl.h#newcode92 > ...
6 years, 5 months ago (2014-07-21 14:31:13 UTC) #5
oystein (OOO til 10th of July)
On 2014/07/21 14:31:13, nasko (in Munich) wrote: > On 2014/07/17 17:52:49, Oystein wrote: > > ...
6 years, 5 months ago (2014-07-21 21:08:36 UTC) #6
oystein (OOO til 10th of July)
In the meantime: I've uploaded a reduced version of this patch which removes all the ...
6 years, 5 months ago (2014-07-22 00:02:43 UTC) #7
oystein (OOO til 10th of July)
nasko: friendly ping :) (Are you doing reviews while in Munich?)
6 years, 5 months ago (2014-07-24 22:29:29 UTC) #8
nasko
On 2014/07/24 22:29:29, Oystein wrote: > nasko: friendly ping :) (Are you doing reviews while ...
6 years, 5 months ago (2014-07-25 09:28:12 UTC) #9
nasko
This now being a plumbing only CL is much simpler. LGTM
6 years, 5 months ago (2014-07-25 09:50:57 UTC) #10
oystein (OOO til 10th of July)
On 2014/07/25 09:50:57, nasko (in Munich) wrote: > This now being a plumbing only CL ...
6 years, 5 months ago (2014-07-25 16:19:31 UTC) #11
oystein (OOO til 10th of July)
The CQ bit was checked by oysteine@chromium.org
6 years, 5 months ago (2014-07-25 16:19:37 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/oysteine@chromium.org/358973005/80001
6 years, 5 months ago (2014-07-25 16:20:31 UTC) #13
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_aosp on tryserver.chromium ...
6 years, 5 months ago (2014-07-25 16:34:32 UTC) #14
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-25 16:36:08 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: mac_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/mac_gpu/builds/33375)
6 years, 5 months ago (2014-07-25 16:36:09 UTC) #16
oystein (OOO til 10th of July)
The CQ bit was checked by oysteine@chromium.org
6 years, 5 months ago (2014-07-25 18:12:35 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/oysteine@chromium.org/358973005/100001
6 years, 5 months ago (2014-07-25 18:13:04 UTC) #18
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_aosp on tryserver.chromium ...
6 years, 5 months ago (2014-07-25 18:26:15 UTC) #19
oystein (OOO til 10th of July)
The CQ bit was checked by oysteine@chromium.org
6 years, 5 months ago (2014-07-25 18:28:01 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/ios_dbg_simulator/builds/173927) ios_rel_device on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/ios_rel_device/builds/162958) ios_rel_device_ninja ...
6 years, 5 months ago (2014-07-25 18:28:39 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/oysteine@chromium.org/358973005/120001
6 years, 5 months ago (2014-07-25 18:29:56 UTC) #22
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_aosp on tryserver.chromium ...
6 years, 5 months ago (2014-07-25 19:42:43 UTC) #23
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-25 19:47:31 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/chromium_presubmit/builds/82475)
6 years, 5 months ago (2014-07-25 19:47:33 UTC) #25
oystein (OOO til 10th of July)
The CQ bit was checked by oysteine@chromium.org
6 years, 5 months ago (2014-07-26 00:01:13 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/oysteine@chromium.org/358973005/200001
6 years, 5 months ago (2014-07-26 00:02:15 UTC) #27
oystein (OOO til 10th of July)
jam: I somewhat belatedly realized that nasko only owns some of these files. Mind taking ...
6 years, 5 months ago (2014-07-26 00:06:54 UTC) #28
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: chromium_presubmit on tryserver.chromium.linux ...
6 years, 5 months ago (2014-07-26 17:09:44 UTC) #29
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-26 18:10:18 UTC) #30
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/123) linux_chromium_rel_swarming on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_swarming/builds/168)
6 years, 5 months ago (2014-07-26 18:10:20 UTC) #31
oystein (OOO til 10th of July)
+creis
6 years, 4 months ago (2014-07-29 21:29:34 UTC) #32
Charlie Reis
I don't see why the DecidePolicyForNavigation change was needed, since it doesn't appear to mention ...
6 years, 4 months ago (2014-07-30 00:00:52 UTC) #33
Charlie Reis
On 2014/07/30 00:00:52, Charlie Reis wrote: > I don't see why the DecidePolicyForNavigation change was ...
6 years, 4 months ago (2014-07-30 16:56:51 UTC) #34
Charlie Reis
On 2014/07/30 00:00:52, Charlie Reis wrote: > I don't see why the DecidePolicyForNavigation change was ...
6 years, 4 months ago (2014-07-30 16:57:00 UTC) #35
oystein (OOO til 10th of July)
Great, thanks! :) On 2014/07/30 16:57:00, Charlie Reis wrote: > On 2014/07/30 00:00:52, Charlie Reis ...
6 years, 4 months ago (2014-07-30 17:30:45 UTC) #36
oystein (OOO til 10th of July)
The CQ bit was checked by oysteine@chromium.org
6 years, 4 months ago (2014-07-30 18:21:14 UTC) #37
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/oysteine@chromium.org/358973005/220001
6 years, 4 months ago (2014-07-30 18:23:40 UTC) #38
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_chromium_chromeos_rel on tryserver.chromium.linux ...
6 years, 4 months ago (2014-07-30 20:21:26 UTC) #39
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-07-30 21:08:42 UTC) #40
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_swarming on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_swarming/builds/1510)
6 years, 4 months ago (2014-07-30 21:08:43 UTC) #41
oystein (OOO til 10th of July)
The CQ bit was checked by oysteine@chromium.org
6 years, 4 months ago (2014-07-30 21:30:57 UTC) #42
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/oysteine@chromium.org/358973005/240001
6 years, 4 months ago (2014-07-30 21:31:51 UTC) #43
commit-bot: I haz the power
6 years, 4 months ago (2014-07-31 01:29:13 UTC) #44
Message was sent while issue was closed.
Change committed as 286672

Powered by Google App Engine
This is Rietveld 408576698