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

Issue 2724103005: Remove Tab -currentNavigationItem. (Closed)

Created:
3 years, 9 months ago by sdefresne
Modified:
3 years, 9 months ago
CC:
chromium-reviews, marq+watch_chromium.org, pkl (ping after 24h if needed), noyau+watch_chromium.org, sdefresne+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove Tab -currentNavigationItem. This returns CRWSessionController -currentEntry which should not be used. Fix all direct calls in Tab (but leave the call in Tab -url as it requires fixing all individual clients) by calling the correct method on the WebState NavigationManager. BUG=620465 Review-Url: https://codereview.chromium.org/2724103005 Cr-Commit-Position: refs/heads/master@{#455136} Committed: https://chromium.googlesource.com/chromium/src/+/79b998012d075d544199668fa85fe3bd07c34d7f

Patch Set 1 #

Patch Set 2 : Rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -21 lines) Patch
M ios/chrome/browser/tabs/tab.mm View 1 6 chunks +20 lines, -18 lines 0 comments Download
M ios/chrome/browser/tabs/tab_private.h View 1 chunk +0 lines, -1 line 0 comments Download
M ios/web/web_state/ui/crw_web_controller.mm View 1 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 24 (16 generated)
sdefresne
Please take a look.
3 years, 9 months ago (2017-03-02 22:02:56 UTC) #3
Eugene But (OOO till 7-30)
lgtm
3 years, 9 months ago (2017-03-02 22:52:14 UTC) #7
sdefresne
rohitrao: ping
3 years, 9 months ago (2017-03-06 22:35:09 UTC) #15
rohitrao (ping after 24h)
lgtm but this CL changes from currentItem to a variety of calls (GetPendingItem, GetVisibleItem, GetLastCommittedItem, ...
3 years, 9 months ago (2017-03-07 14:00:54 UTC) #16
Eugene But (OOO till 7-30)
> Did @eugenebut verify that we're using the proper calls? Yes
3 years, 9 months ago (2017-03-07 16:26:25 UTC) #17
rohitrao (ping after 24h)
On 2017/03/07 16:26:25, Eugene But wrote: > > Did @eugenebut verify that we're using the ...
3 years, 9 months ago (2017-03-07 16:27:34 UTC) #18
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/2724103005/40001
3 years, 9 months ago (2017-03-07 17:51:59 UTC) #21
commit-bot: I haz the power
3 years, 9 months ago (2017-03-07 18:14:47 UTC) #24
Message was sent while issue was closed.
Committed patchset #2 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/79b998012d075d544199668fa85f...

Powered by Google App Engine
This is Rietveld 408576698