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

Issue 2642233004: Removed Form Resubmission callback from CRWWebDelegate. (Closed)

Created:
3 years, 11 months ago by Eugene But (OOO till 7-30)
Modified:
3 years, 11 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

Removed Form Resubmission callback from CRWWebUserInterfaceDelegate. Use WebStateDelegate::ShowRepostFormWarningDialog callback instead to mirror WebContentsDelegate API. BUG=674991 TEST=Forms Resubmissions work correctly. Review-Url: https://codereview.chromium.org/2642233004 Cr-Commit-Position: refs/heads/master@{#445971} Committed: https://chromium.googlesource.com/chromium/src/+/b739bdcc12b1d4da4e614fe153cb05cd3b9e6104

Patch Set 1 #

Patch Set 2 : Self review #

Total comments: 10

Patch Set 3 : Addressed review comments #

Total comments: 6

Patch Set 4 : Added ShowRepostFormWarningWithNoDelegateMethod test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+162 lines, -36 lines) Patch
M ios/chrome/browser/tabs/tab.mm View 1 2 3 1 chunk +0 lines, -20 lines 0 comments Download
M ios/chrome/browser/ui/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M ios/chrome/browser/ui/browser_view_controller.mm View 1 2 3 2 chunks +17 lines, -0 lines 0 comments Download
M ios/web/public/test/fakes/test_web_state_delegate.h View 1 2 4 chunks +19 lines, -1 line 0 comments Download
M ios/web/public/test/fakes/test_web_state_delegate.mm View 1 2 2 chunks +15 lines, -0 lines 0 comments Download
M ios/web/public/web_state/ui/crw_web_delegate.h View 1 chunk +0 lines, -10 lines 0 comments Download
M ios/web/public/web_state/web_state_delegate.h View 1 2 1 chunk +7 lines, -0 lines 0 comments Download
M ios/web/public/web_state/web_state_delegate_bridge.h View 1 2 2 chunks +9 lines, -0 lines 0 comments Download
M ios/web/web_state/ui/crw_web_controller.mm View 1 2 3 1 chunk +7 lines, -4 lines 0 comments Download
M ios/web/web_state/web_state_delegate.mm View 1 chunk +6 lines, -0 lines 0 comments Download
M ios/web/web_state/web_state_delegate_bridge.mm View 1 2 1 chunk +15 lines, -0 lines 0 comments Download
M ios/web/web_state/web_state_delegate_bridge_unittest.mm View 1 2 3 5 chunks +35 lines, -0 lines 0 comments Download
M ios/web/web_state/web_state_delegate_stub.h View 1 chunk +5 lines, -1 line 0 comments Download
M ios/web/web_state/web_state_delegate_stub.mm View 2 chunks +7 lines, -0 lines 0 comments Download
M ios/web/web_state/web_state_impl.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M ios/web/web_state/web_state_impl.mm View 1 2 1 chunk +9 lines, -0 lines 0 comments Download
M ios/web/web_state/web_state_impl_unittest.mm View 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 27 (17 generated)
Eugene But (OOO till 7-30)
I will rename Coordinator, TabHelper and EG tests to follow content naming pattern (RepostForm instead ...
3 years, 11 months ago (2017-01-21 01:39:02 UTC) #6
marq (ping after 24h)
https://codereview.chromium.org/2642233004/diff/20001/ios/web/public/web_state/web_state_delegate.h File ios/web/public/web_state/web_state_delegate.h (right): https://codereview.chromium.org/2642233004/diff/20001/ios/web/public/web_state/web_state_delegate.h#newcode42 ios/web/public/web_state/web_state_delegate.h:42: // Requests the repost form confirmation dialog. Clients must ...
3 years, 11 months ago (2017-01-23 08:18:28 UTC) #7
Eugene But (OOO till 7-30)
Thanks! PTAL https://codereview.chromium.org/2642233004/diff/20001/ios/web/public/web_state/web_state_delegate.h File ios/web/public/web_state/web_state_delegate.h (right): https://codereview.chromium.org/2642233004/diff/20001/ios/web/public/web_state/web_state_delegate.h#newcode42 ios/web/public/web_state/web_state_delegate.h:42: // Requests the repost form confirmation dialog. ...
3 years, 11 months ago (2017-01-23 19:48:33 UTC) #12
Eugene But (OOO till 7-30)
On 2017/01/23 19:48:33, Eugene But wrote: > Thanks! PTAL > > https://codereview.chromium.org/2642233004/diff/20001/ios/web/public/web_state/web_state_delegate.h > File ios/web/public/web_state/web_state_delegate.h ...
3 years, 11 months ago (2017-01-24 01:00:48 UTC) #13
rohitrao (ping after 24h)
lgtm https://codereview.chromium.org/2642233004/diff/40001/ios/web/web_state/web_state_delegate_bridge.mm File ios/web/web_state/web_state_delegate_bridge.mm (right): https://codereview.chromium.org/2642233004/diff/40001/ios/web/web_state/web_state_delegate_bridge.mm#newcode47 ios/web/web_state/web_state_delegate_bridge.mm:47: runRepostFormDialogWithCompletionHandler:^(BOOL should_continue) { This is a block that ...
3 years, 11 months ago (2017-01-24 14:15:13 UTC) #14
marq (ping after 24h)
https://codereview.chromium.org/2642233004/diff/40001/ios/web/public/web_state/web_state_delegate.h File ios/web/public/web_state/web_state_delegate.h (right): https://codereview.chromium.org/2642233004/diff/40001/ios/web/public/web_state/web_state_delegate.h#newcode45 ios/web/public/web_state/web_state_delegate.h:45: virtual void ShowRepostFormWarningDialog( Naming consistency: Should this be OnFormRepostWarning() ...
3 years, 11 months ago (2017-01-24 14:46:46 UTC) #15
Eugene But (OOO till 7-30)
Thanks! https://codereview.chromium.org/2642233004/diff/40001/ios/web/public/web_state/web_state_delegate.h File ios/web/public/web_state/web_state_delegate.h (right): https://codereview.chromium.org/2642233004/diff/40001/ios/web/public/web_state/web_state_delegate.h#newcode45 ios/web/public/web_state/web_state_delegate.h:45: virtual void ShowRepostFormWarningDialog( On 2017/01/24 14:46:46, marq wrote: ...
3 years, 11 months ago (2017-01-24 21:33:11 UTC) #18
marq (ping after 24h)
lgtm
3 years, 11 months ago (2017-01-24 21:39:25 UTC) #19
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/2642233004/60001
3 years, 11 months ago (2017-01-25 06:26:43 UTC) #24
commit-bot: I haz the power
3 years, 11 months ago (2017-01-25 06:33:24 UTC) #27
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/b739bdcc12b1d4da4e614fe153cb...

Powered by Google App Engine
This is Rietveld 408576698