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

Issue 2896623003: Added web::NavigationContext::GetPageTransition. (Closed)

Created:
3 years, 7 months ago by Eugene But (OOO till 7-30)
Modified:
3 years, 7 months ago
Reviewers:
kkhorimoto
CC:
chromium-reviews, ios-reviews_chromium.org, ios-reviews+web_chromium.org, baxley+watch_chromium.org, Eugene But (OOO till 7-30), huangml+watch_chromium.org, liaoyuke+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Added web::NavigationContext::GetPageTransition. This API will allow to use DidStartNavigation callback instead of deprecated -[CRWWebDelegate webWillReload]. DidStartNavigation will check if NavigationContext::GetPageTransition returns reload transition to act on reload navigation. BUG=674991 Review-Url: https://codereview.chromium.org/2896623003 Cr-Commit-Position: refs/heads/master@{#473927} Committed: https://chromium.googlesource.com/chromium/src/+/824fafed7f2df416a77d464dea6dff39bcb73407

Patch Set 1 #

Patch Set 2 : Self review #

Patch Set 3 : Fixed tests #

Patch Set 4 : Fixed condition for SetIsCreatedFromHashChange call #

Total comments: 2

Patch Set 5 : Rebased #

Patch Set 6 : Rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+145 lines, -58 lines) Patch
M ios/chrome/browser/tabs/tab_unittest.mm View 1 2 3 4 5 2 chunks +4 lines, -2 lines 0 comments Download
M ios/web/public/test/fakes/crw_test_web_state_observer.mm View 1 2 3 4 5 2 chunks +4 lines, -2 lines 0 comments Download
M ios/web/public/test/fakes/test_web_state_observer.mm View 1 2 3 4 5 2 chunks +4 lines, -2 lines 0 comments Download
M ios/web/public/web_state/navigation_context.h View 1 2 3 4 5 2 chunks +5 lines, -0 lines 0 comments Download
M ios/web/test/web_int_test.mm View 1 chunk +1 line, -0 lines 0 comments Download
M ios/web/web_state/navigation_callbacks_inttest.mm View 1 2 3 4 5 10 chunks +57 lines, -20 lines 0 comments Download
M ios/web/web_state/navigation_context_impl.h View 1 2 3 4 5 3 chunks +7 lines, -2 lines 0 comments Download
M ios/web/web_state/navigation_context_impl.mm View 1 2 3 4 5 3 chunks +12 lines, -4 lines 0 comments Download
M ios/web/web_state/navigation_context_impl_unittest.mm View 1 2 3 4 5 2 chunks +7 lines, -2 lines 0 comments Download
M ios/web/web_state/ui/crw_web_controller.mm View 1 2 3 4 5 4 chunks +13 lines, -11 lines 0 comments Download
M ios/web/web_state/ui/crw_wk_navigation_states_unittest.mm View 1 2 3 4 5 3 chunks +9 lines, -6 lines 0 comments Download
M ios/web/web_state/web_state_impl_unittest.mm View 1 2 3 4 5 3 chunks +7 lines, -1 line 0 comments Download
M ios/web/web_state/web_state_observer_bridge_unittest.mm View 1 2 3 4 5 4 chunks +12 lines, -4 lines 0 comments Download
M ios/web/webui/crw_web_ui_manager_unittest.mm View 1 2 3 4 5 1 chunk +3 lines, -2 lines 0 comments Download

Messages

Total messages: 27 (21 generated)
Eugene But (OOO till 7-30)
3 years, 7 months ago (2017-05-22 20:48:09 UTC) #14
kkhorimoto
https://codereview.chromium.org/2896623003/diff/60001/ios/web/web_state/ui/crw_web_controller.mm File ios/web/web_state/ui/crw_web_controller.mm (right): https://codereview.chromium.org/2896623003/diff/60001/ios/web/web_state/ui/crw_web_controller.mm#newcode1876 ios/web/web_state/ui/crw_web_controller.mm:1876: } This change seems to be unrelated to the ...
3 years, 7 months ago (2017-05-22 21:13:56 UTC) #15
Eugene But (OOO till 7-30)
https://codereview.chromium.org/2896623003/diff/60001/ios/web/web_state/ui/crw_web_controller.mm File ios/web/web_state/ui/crw_web_controller.mm (right): https://codereview.chromium.org/2896623003/diff/60001/ios/web/web_state/ui/crw_web_controller.mm#newcode1876 ios/web/web_state/ui/crw_web_controller.mm:1876: } On 2017/05/22 21:13:56, kkhorimoto_ wrote: > This change ...
3 years, 7 months ago (2017-05-22 22:04:28 UTC) #16
kkhorimoto
lgtm after code from https://codereview.chromium.org/2898633003 has been removed.
3 years, 7 months ago (2017-05-22 22:08:47 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2896623003/100001
3 years, 7 months ago (2017-05-23 16:00:46 UTC) #24
commit-bot: I haz the power
3 years, 7 months ago (2017-05-23 16:19:02 UTC) #27
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/824fafed7f2df416a77d464dea6d...

Powered by Google App Engine
This is Rietveld 408576698