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

Issue 2736383006: Removed CRWWebDelagate callbacks for load cancellation. (Closed)

Created:
3 years, 9 months ago by Eugene But (OOO till 7-30)
Modified:
3 years, 9 months ago
Reviewers:
kkhorimoto
CC:
chromium-reviews, ios-reviews+chrome_chromium.org, ios-reviews_chromium.org, Eugene But (OOO till 7-30), pkl (ping after 24h if needed), ios-reviews+web_chromium.org, noyau+watch_chromium.org, marq+watch_chromium.org, sdefresne+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Removed CRWWebDelagate callbacks for load cancellation. When load is cancelled Tab already receives webStateDidStopLoading:. In that callback it is safe to call |enableFullScreen| because the page will not continue loading and fullscreen can be allowed. webStateDidStopLoading: enables fullscreen and notifies tab model that tab was changes. This allows removing deprecated |webCancelStartLoadingRequest| and |webLoadCancelled:|. BUG=674991 Review-Url: https://codereview.chromium.org/2736383006 Cr-Commit-Position: refs/heads/master@{#457162} Committed: https://chromium.googlesource.com/chromium/src/+/4cc620ab46c8194efedfd1d78e7159d5968d692b

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -36 lines) Patch
M ios/chrome/browser/tabs/tab.mm View 2 chunks +3 lines, -7 lines 1 comment Download
M ios/web/public/web_state/ui/crw_web_delegate.h View 1 chunk +0 lines, -5 lines 0 comments Download
M ios/web/web_state/ui/crw_web_controller.mm View 1 chunk +5 lines, -24 lines 0 comments Download

Messages

Total messages: 14 (8 generated)
Eugene But (OOO till 7-30)
https://codereview.chromium.org/2736383006/diff/1/ios/chrome/browser/tabs/tab.mm File ios/chrome/browser/tabs/tab.mm (left): https://codereview.chromium.org/2736383006/diff/1/ios/chrome/browser/tabs/tab.mm#oldcode1669 ios/chrome/browser/tabs/tab.mm:1669: - (void)webCancelStartLoadingRequest { webStateDidStopLoading: is also called when provisional ...
3 years, 9 months ago (2017-03-10 23:43:00 UTC) #6
Eugene But (OOO till 7-30)
Kurt?
3 years, 9 months ago (2017-03-14 18:01:17 UTC) #7
kkhorimoto
lgtm
3 years, 9 months ago (2017-03-15 18:36:56 UTC) #8
Eugene But (OOO till 7-30)
Thanks!
3 years, 9 months ago (2017-03-15 18:39:08 UTC) #9
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/2736383006/1
3 years, 9 months ago (2017-03-15 18:39:45 UTC) #11
commit-bot: I haz the power
3 years, 9 months ago (2017-03-15 19:21:10 UTC) #14
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/4cc620ab46c8194efedfd1d78e71...

Powered by Google App Engine
This is Rietveld 408576698