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

Issue 2737353006: Replaced webPageOrderedClose with WebStateDelegate API. (Closed)

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

Replaced webPageOrderedClose with WebStateDelegate API. New WebStateDelegate::CloseWebState mirrors content's WebContents::CloseContents. BUG=674991 Review-Url: https://codereview.chromium.org/2737353006 Cr-Commit-Position: refs/heads/master@{#456588} Committed: https://chromium.googlesource.com/chromium/src/+/b46b2120bd9c8b260513015717a9a09792f71714

Patch Set 1 #

Total comments: 6

Patch Set 2 : Addressed review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+120 lines, -30 lines) Patch
M ios/chrome/browser/tabs/tab.mm View 1 3 chunks +0 lines, -21 lines 0 comments Download
M ios/chrome/browser/tabs/tab_private.h View 1 chunk +0 lines, -1 line 0 comments Download
M ios/chrome/browser/ui/browser_view_controller.mm View 1 chunk +15 lines, -0 lines 0 comments Download
M ios/web/public/test/crw_mock_web_state_delegate.h View 1 chunk +2 lines, -0 lines 0 comments Download
M ios/web/public/test/crw_mock_web_state_delegate.mm View 2 chunks +6 lines, -0 lines 0 comments Download
M ios/web/public/test/fakes/test_web_state_delegate.h View 1 4 chunks +14 lines, -0 lines 0 comments Download
M ios/web/public/test/fakes/test_web_state_delegate.mm View 1 1 chunk +14 lines, -0 lines 0 comments Download
M ios/web/public/web_state/ui/crw_web_delegate.h View 1 chunk +0 lines, -3 lines 0 comments Download
M ios/web/public/web_state/web_state_delegate.h View 1 chunk +4 lines, -0 lines 0 comments Download
M ios/web/public/web_state/web_state_delegate_bridge.h View 2 chunks +5 lines, -0 lines 0 comments Download
M ios/web/web_state/ui/crw_web_controller.mm View 1 3 chunks +3 lines, -3 lines 0 comments Download
M ios/web/web_state/ui/crw_web_controller_unittest.mm View 1 2 chunks +21 lines, -2 lines 0 comments Download
M ios/web/web_state/web_state_delegate.mm View 1 chunk +2 lines, -0 lines 0 comments Download
M ios/web/web_state/web_state_delegate_bridge.mm View 1 chunk +6 lines, -0 lines 0 comments Download
M ios/web/web_state/web_state_delegate_bridge_unittest.mm View 1 chunk +11 lines, -0 lines 0 comments Download
M ios/web/web_state/web_state_impl.h View 1 chunk +4 lines, -0 lines 0 comments Download
M ios/web/web_state/web_state_impl.mm View 1 1 chunk +6 lines, -0 lines 0 comments Download
M ios/web/web_state/web_state_impl_unittest.mm View 1 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (5 generated)
Eugene But (OOO till 7-30)
3 years, 9 months ago (2017-03-10 19:49:29 UTC) #2
rohitrao (ping after 24h)
lgtm with one question about dangling pointers https://codereview.chromium.org/2737353006/diff/1/ios/web/public/test/fakes/test_web_state_delegate.h File ios/web/public/test/fakes/test_web_state_delegate.h (right): https://codereview.chromium.org/2737353006/diff/1/ios/web/public/test/fakes/test_web_state_delegate.h#newcode29 ios/web/public/test/fakes/test_web_state_delegate.h:29: WebState* web_state ...
3 years, 9 months ago (2017-03-13 12:30:02 UTC) #3
Eugene But (OOO till 7-30)
Thanks! https://codereview.chromium.org/2737353006/diff/1/ios/web/public/test/fakes/test_web_state_delegate.h File ios/web/public/test/fakes/test_web_state_delegate.h (right): https://codereview.chromium.org/2737353006/diff/1/ios/web/public/test/fakes/test_web_state_delegate.h#newcode29 ios/web/public/test/fakes/test_web_state_delegate.h:29: WebState* web_state = nullptr; On 2017/03/13 12:30:02, rohitrao ...
3 years, 9 months ago (2017-03-14 01:20:24 UTC) #4
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/2737353006/20001
3 years, 9 months ago (2017-03-14 01:20:55 UTC) #7
commit-bot: I haz the power
3 years, 9 months ago (2017-03-14 02:44:11 UTC) #10
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/b46b2120bd9c8b260513015717a9...

Powered by Google App Engine
This is Rietveld 408576698