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

Issue 2717613006: Moved ios popup opening code from Tab to BlockedPopupTabHelper. (Closed)

Created:
3 years, 9 months ago by Eugene But (OOO till 7-30)
Modified:
3 years, 9 months ago
CC:
chromium-reviews, marq+watch_chromium.org, Eugene But (OOO till 7-30), 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

Moved ios popup opening code from Tab to BlockedPopupTabHelper. BUG=692117 Review-Url: https://codereview.chromium.org/2717613006 Cr-Commit-Position: refs/heads/master@{#454338} Committed: https://chromium.googlesource.com/chromium/src/+/29ed2a2bcc95599c41501cbf5a1918735bb96d7b

Patch Set 1 #

Patch Set 2 : Self review #

Total comments: 9

Patch Set 3 : Cleaned up tests #

Patch Set 4 : Added DestroyWebState test #

Patch Set 5 : Rebased #

Patch Set 6 : Rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+117 lines, -90 lines) Patch
M ios/chrome/browser/tabs/tab.mm View 1 2 3 4 5 3 chunks +9 lines, -28 lines 0 comments Download
M ios/chrome/browser/web/blocked_popup_tab_helper.mm View 5 chunks +12 lines, -6 lines 0 comments Download
M ios/chrome/browser/web/blocked_popup_tab_helper_unittest.mm View 1 2 3 4 5 5 chunks +47 lines, -20 lines 0 comments Download
M ios/web/public/test/fakes/test_web_state_delegate.h View 4 chunks +17 lines, -0 lines 0 comments Download
M ios/web/public/test/fakes/test_web_state_delegate.mm View 2 chunks +20 lines, -0 lines 0 comments Download
M ios/web/public/test/web_test_with_web_state.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M ios/web/public/test/web_test_with_web_state.mm View 1 2 3 4 2 chunks +5 lines, -1 line 0 comments Download
M ios/web/web_state/blocked_popup_info.h View 1 1 chunk +2 lines, -15 lines 0 comments Download
M ios/web/web_state/blocked_popup_info.mm View 1 chunk +3 lines, -20 lines 0 comments Download

Messages

Total messages: 20 (13 generated)
Eugene But (OOO till 7-30)
PTAL. All internal tests passed https://codereview.chromium.org/2717613006/diff/20001/ios/web/web_state/blocked_popup_info.h File ios/web/web_state/blocked_popup_info.h (right): https://codereview.chromium.org/2717613006/diff/20001/ios/web/web_state/blocked_popup_info.h#newcode14 ios/web/web_state/blocked_popup_info.h:14: // TODO(crbug.com/692117): Fold this ...
3 years, 9 months ago (2017-02-24 19:36:54 UTC) #6
rohitrao (ping after 24h)
lgtm https://codereview.chromium.org/2717613006/diff/20001/ios/chrome/browser/web/blocked_popup_tab_helper.mm File ios/chrome/browser/web/blocked_popup_tab_helper.mm (right): https://codereview.chromium.org/2717613006/diff/20001/ios/chrome/browser/web/blocked_popup_tab_helper.mm#newcode75 ios/chrome/browser/web/blocked_popup_tab_helper.mm:75: web_state_->OpenURL(params); Is there any way for this |web_state_| ...
3 years, 9 months ago (2017-02-28 22:51:57 UTC) #7
Eugene But (OOO till 7-30)
Thanks! https://codereview.chromium.org/2717613006/diff/20001/ios/chrome/browser/web/blocked_popup_tab_helper.mm File ios/chrome/browser/web/blocked_popup_tab_helper.mm (right): https://codereview.chromium.org/2717613006/diff/20001/ios/chrome/browser/web/blocked_popup_tab_helper.mm#newcode75 ios/chrome/browser/web/blocked_popup_tab_helper.mm:75: web_state_->OpenURL(params); On 2017/02/28 22:51:57, rohitrao wrote: > Is ...
3 years, 9 months ago (2017-02-28 23:50:22 UTC) #8
rohitrao (ping after 24h)
lgtm https://codereview.chromium.org/2717613006/diff/20001/ios/chrome/browser/web/blocked_popup_tab_helper_unittest.mm File ios/chrome/browser/web/blocked_popup_tab_helper_unittest.mm (right): https://codereview.chromium.org/2717613006/diff/20001/ios/chrome/browser/web/blocked_popup_tab_helper_unittest.mm#newcode122 ios/chrome/browser/web/blocked_popup_tab_helper_unittest.mm:122: TEST_F(BlockedPopupTabHelperTest, ShowAndDismissInfoBar) { On 2017/02/28 23:50:22, Eugene But ...
3 years, 9 months ago (2017-03-01 15:01:17 UTC) #9
Eugene But (OOO till 7-30)
Thanks! Added a test for destroying WebState https://codereview.chromium.org/2717613006/diff/20001/ios/chrome/browser/web/blocked_popup_tab_helper_unittest.mm File ios/chrome/browser/web/blocked_popup_tab_helper_unittest.mm (right): https://codereview.chromium.org/2717613006/diff/20001/ios/chrome/browser/web/blocked_popup_tab_helper_unittest.mm#newcode122 ios/chrome/browser/web/blocked_popup_tab_helper_unittest.mm:122: TEST_F(BlockedPopupTabHelperTest, ShowAndDismissInfoBar) ...
3 years, 9 months ago (2017-03-01 16:30:25 UTC) #10
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/2717613006/100001
3 years, 9 months ago (2017-03-02 19:09:18 UTC) #17
commit-bot: I haz the power
3 years, 9 months ago (2017-03-02 19:31:30 UTC) #20
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/29ed2a2bcc95599c41501cbf5a19...

Powered by Google App Engine
This is Rietveld 408576698