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

Issue 2737943003: Moved window opening callback to WebStateDelegate. (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

Moved window opening callback to WebStateDelegate. This partially mirrors content which also has window opening callback in WebContentsDelegate. The difference is that in content WebContents is created by content and in web WebState is created by chrome. BUG=674991 Review-Url: https://codereview.chromium.org/2737943003 Cr-Commit-Position: refs/heads/master@{#455881} Committed: https://chromium.googlesource.com/chromium/src/+/275f589e57013bde8a1626a6ef8a9c3aa181eef9

Patch Set 1 #

Patch Set 2 : Self review #

Total comments: 2

Patch Set 3 : Rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+276 lines, -165 lines) Patch
M ios/chrome/browser/tabs/tab.mm View 1 2 1 chunk +0 lines, -33 lines 0 comments Download
M ios/chrome/browser/ui/browser_view_controller.mm View 1 2 2 chunks +34 lines, -0 lines 0 comments Download
M ios/web/public/test/crw_mock_web_state_delegate.h View 1 chunk +3 lines, -0 lines 0 comments Download
M ios/web/public/test/crw_mock_web_state_delegate.mm View 1 chunk +10 lines, -0 lines 0 comments Download
M ios/web/public/test/fakes/test_web_state_delegate.h View 1 6 chunks +45 lines, -0 lines 0 comments Download
M ios/web/public/test/fakes/test_web_state_delegate.mm View 2 chunks +27 lines, -0 lines 0 comments Download
M ios/web/public/web_state/ui/crw_web_delegate.h View 1 2 1 chunk +0 lines, -11 lines 0 comments Download
M ios/web/public/web_state/web_state_delegate.h View 1 chunk +10 lines, -0 lines 0 comments Download
M ios/web/public/web_state/web_state_delegate_bridge.h View 2 chunks +14 lines, -0 lines 0 comments Download
M ios/web/web_state/ui/crw_web_controller.mm View 1 2 2 chunks +13 lines, -7 lines 0 comments Download
M ios/web/web_state/ui/crw_web_controller_unittest.mm View 1 2 3 chunks +36 lines, -114 lines 0 comments Download
M ios/web/web_state/web_state_delegate.mm View 1 chunk +7 lines, -0 lines 0 comments Download
M ios/web/web_state/web_state_delegate_bridge.mm View 1 chunk +15 lines, -0 lines 0 comments Download
M ios/web/web_state/web_state_delegate_bridge_unittest.mm View 1 chunk +13 lines, -0 lines 0 comments Download
M ios/web/web_state/web_state_impl.h View 1 2 1 chunk +8 lines, -0 lines 0 comments Download
M ios/web/web_state/web_state_impl.mm View 1 2 1 chunk +10 lines, -0 lines 0 comments Download
M ios/web/web_state/web_state_impl_unittest.mm View 1 2 1 chunk +31 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (11 generated)
Eugene But (OOO till 7-30)
3 years, 9 months ago (2017-03-08 23:39:34 UTC) #3
rohitrao (ping after 24h)
Will try to look at this tonight, otherwise ping me if you don't have a ...
3 years, 9 months ago (2017-03-08 23:54:31 UTC) #5
rohitrao (ping after 24h)
lgtm https://codereview.chromium.org/2737943003/diff/20001/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/2737943003/diff/20001/ios/web/public/test/fakes/test_web_state_delegate.h#newcode94 ios/web/public/test/fakes/test_web_state_delegate.h:94: // Returns list of all child windows opened ...
3 years, 9 months ago (2017-03-09 00:26:14 UTC) #8
Eugene But (OOO till 7-30)
Thank you for quick review! https://codereview.chromium.org/2737943003/diff/20001/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/2737943003/diff/20001/ios/web/public/test/fakes/test_web_state_delegate.h#newcode94 ios/web/public/test/fakes/test_web_state_delegate.h:94: // Returns list of ...
3 years, 9 months ago (2017-03-09 01:23:59 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/2737943003/20001
3 years, 9 months ago (2017-03-09 01:24:47 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/381536)
3 years, 9 months ago (2017-03-09 01:37:17 UTC) #13
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/2737943003/40001
3 years, 9 months ago (2017-03-09 22:04:05 UTC) #16
commit-bot: I haz the power
3 years, 9 months ago (2017-03-09 22:21:40 UTC) #19
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/275f589e57013bde8a1626a6ef8a...

Powered by Google App Engine
This is Rietveld 408576698