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

Issue 2589213002: Add CRWNativeContent willBeDismissed. (Closed)

Created:
4 years ago by Olivier
Modified:
4 years ago
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add CRWNativeContent willBeDismissed. It is usefull for a native content to be warned when it will be dismissed to do some cleanup. Add an optional method in the protocol. BUG=671160 Committed: https://crrev.com/a35ed7503fff85852efdb468c218d4f24a2ba489 Cr-Commit-Position: refs/heads/master@{#440354}

Patch Set 1 #

Patch Set 2 : blank line #

Patch Set 3 : call in setNativeController #

Patch Set 4 : in container view #

Total comments: 8

Patch Set 5 : feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -0 lines) Patch
M ios/web/public/web_state/ui/crw_native_content.h View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M ios/web/web_state/ui/crw_web_controller_container_view.mm View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 19 (5 generated)
Olivier
4 years ago (2016-12-20 12:37:29 UTC) #2
kkhorimoto
A couple high level questions: 1) Why is |-willBeDismissed| necessary when we could perform cleanup ...
4 years ago (2016-12-20 18:48:27 UTC) #3
Eugene But (OOO till 7-30)
> 2) I don't agree with the |-clearTransientContentView| => |-clearNativeView| > change. Transient content views ...
4 years ago (2016-12-20 19:29:33 UTC) #4
kkhorimoto
On 2016/12/20 19:29:33, Eugene But wrote: > > 2) I don't agree with the |-clearTransientContentView| ...
4 years ago (2016-12-20 19:36:51 UTC) #5
Olivier
On 2016/12/20 19:36:51, kkhorimoto_ wrote: > On 2016/12/20 19:29:33, Eugene But wrote: > > > ...
4 years ago (2016-12-20 21:24:05 UTC) #6
kkhorimoto
On 2016/12/20 21:24:05, Olivier Robin wrote: > On 2016/12/20 19:36:51, kkhorimoto_ wrote: > > On ...
4 years ago (2016-12-20 21:49:55 UTC) #7
Olivier
Done. Thanks
4 years ago (2016-12-21 10:04:56 UTC) #8
Eugene But (OOO till 7-30)
https://codereview.chromium.org/2589213002/diff/60001/ios/web/public/web_state/ui/crw_native_content.h File ios/web/public/web_state/ui/crw_native_content.h (right): https://codereview.chromium.org/2589213002/diff/60001/ios/web/public/web_state/ui/crw_native_content.h#newcode88 ios/web/public/web_state/ui/crw_native_content.h:88: // Called when a navigation is triggered from this ...
4 years ago (2016-12-21 15:26:35 UTC) #9
Olivier
https://codereview.chromium.org/2589213002/diff/60001/ios/web/public/web_state/ui/crw_native_content.h File ios/web/public/web_state/ui/crw_native_content.h (right): https://codereview.chromium.org/2589213002/diff/60001/ios/web/public/web_state/ui/crw_native_content.h#newcode88 ios/web/public/web_state/ui/crw_native_content.h:88: // Called when a navigation is triggered from this ...
4 years ago (2016-12-21 15:41:11 UTC) #10
Olivier
https://codereview.chromium.org/2589213002/diff/60001/ios/web/public/web_state/ui/crw_native_content.h File ios/web/public/web_state/ui/crw_native_content.h (right): https://codereview.chromium.org/2589213002/diff/60001/ios/web/public/web_state/ui/crw_native_content.h#newcode88 ios/web/public/web_state/ui/crw_native_content.h:88: // Called when a navigation is triggered from this ...
4 years ago (2016-12-21 15:51:36 UTC) #11
Eugene But (OOO till 7-30)
lgtm https://codereview.chromium.org/2589213002/diff/60001/ios/web/public/web_state/ui/crw_native_content.h File ios/web/public/web_state/ui/crw_native_content.h (right): https://codereview.chromium.org/2589213002/diff/60001/ios/web/public/web_state/ui/crw_native_content.h#newcode88 ios/web/public/web_state/ui/crw_native_content.h:88: // Called when a navigation is triggered from ...
4 years ago (2016-12-21 16:11:11 UTC) #12
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/2589213002/80001
4 years ago (2016-12-22 07:31:46 UTC) #14
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years ago (2016-12-22 07:43:12 UTC) #17
commit-bot: I haz the power
4 years ago (2016-12-22 07:45:08 UTC) #19
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/a35ed7503fff85852efdb468c218d4f24a2ba489
Cr-Commit-Position: refs/heads/master@{#440354}

Powered by Google App Engine
This is Rietveld 408576698