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

Issue 1874903003: Reversed WebState <-> CRWWebController ownership. (Closed)

Created:
4 years, 8 months ago by Eugene But (OOO till 7-30)
Modified:
4 years, 8 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Reversed WebState <-> CRWWebController ownership. WebState is a main public class in web//, while CRWWebController is an implementation class, so WebState should own CRWWebController. BUG=597997 Committed: https://crrev.com/b70db6e5b1700b230792342da63343b580f0bbf4 Cr-Commit-Position: refs/heads/master@{#387052}

Patch Set 1 #

Patch Set 2 : Self review #

Total comments: 2

Patch Set 3 : Updated comment #

Patch Set 4 : Self review #

Total comments: 13

Patch Set 5 : Updated comments #

Patch Set 6 : Merged with origin/master #

Patch Set 7 : Merged with origin/master #

Patch Set 8 : Merged with origin/master #

Unified diffs Side-by-side diffs Delta from patch set Stats (+61 lines, -131 lines) Patch
M ios/web/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +0 lines, -2 lines 0 comments Download
M ios/web/ios_web.gyp View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
D ios/web/public/web_controller_factory.h View 1 chunk +0 lines, -32 lines 0 comments Download
D ios/web/public/web_controller_factory.mm View 1 chunk +0 lines, -28 lines 0 comments Download
M ios/web/shell/view_controller.mm View 6 chunks +11 lines, -18 lines 0 comments Download
M ios/web/test/web_test.h View 1 2 4 chunks +5 lines, -5 lines 0 comments Download
M ios/web/test/web_test.mm View 1 2 3 chunks +5 lines, -9 lines 0 comments Download
M ios/web/web_state/ui/crw_web_controller.h View 1 chunk +1 line, -2 lines 0 comments Download
M ios/web/web_state/ui/crw_web_controller.mm View 1 2 3 4 5 6 7 4 chunks +8 lines, -10 lines 0 comments Download
M ios/web/web_state/ui/crw_web_controller+protected.h View 1 2 3 4 5 6 7 1 chunk +3 lines, -2 lines 0 comments Download
M ios/web/web_state/ui/crw_web_controller_unittest.mm View 3 chunks +7 lines, -8 lines 0 comments Download
M ios/web/web_state/ui/crw_wk_web_view_web_controller.h View 1 2 3 4 1 chunk +3 lines, -2 lines 0 comments Download
M ios/web/web_state/ui/crw_wk_web_view_web_controller.mm View 1 2 3 4 5 6 7 1 chunk +4 lines, -4 lines 0 comments Download
M ios/web/web_state/web_state_impl.h View 1 2 3 4 5 2 chunks +4 lines, -5 lines 0 comments Download
M ios/web/web_state/web_state_impl.mm View 1 2 3 4 5 3 chunks +10 lines, -2 lines 0 comments Download

Messages

Total messages: 35 (14 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1874903003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1874903003/1
4 years, 8 months ago (2016-04-10 01:55:18 UTC) #2
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-10 02:27:39 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1874903003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1874903003/20001
4 years, 8 months ago (2016-04-11 15:00:01 UTC) #6
Eugene But (OOO till 7-30)
4 years, 8 months ago (2016-04-11 15:04:11 UTC) #8
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-11 15:40:11 UTC) #10
Jackie Quinn
lgtm with comment nit. https://codereview.chromium.org/1874903003/diff/20001/ios/web/web_state/web_state_impl.h File ios/web/web_state/web_state_impl.h (right): https://codereview.chromium.org/1874903003/diff/20001/ios/web/web_state/web_state_impl.h#newcode289 ios/web/web_state/web_state_impl.h:289: // The CRWWebController that backs ...
4 years, 8 months ago (2016-04-12 20:03:46 UTC) #11
Eugene But (OOO till 7-30)
https://codereview.chromium.org/1874903003/diff/20001/ios/web/web_state/web_state_impl.h File ios/web/web_state/web_state_impl.h (right): https://codereview.chromium.org/1874903003/diff/20001/ios/web/web_state/web_state_impl.h#newcode289 ios/web/web_state/web_state_impl.h:289: // The CRWWebController that backs and owns this object. ...
4 years, 8 months ago (2016-04-12 20:47:39 UTC) #12
kkhorimoto
https://codereview.chromium.org/1874903003/diff/60001/ios/web/web_state/ui/crw_web_controller+protected.h File ios/web/web_state/ui/crw_web_controller+protected.h (right): https://codereview.chromium.org/1874903003/diff/60001/ios/web/web_state/ui/crw_web_controller+protected.h#newcode109 ios/web/web_state/ui/crw_web_controller+protected.h:109: // Designated initializer. Initializes web controller with unowned |webState|. ...
4 years, 8 months ago (2016-04-12 21:36:13 UTC) #13
Eugene But (OOO till 7-30)
https://codereview.chromium.org/1874903003/diff/60001/ios/web/web_state/ui/crw_web_controller+protected.h File ios/web/web_state/ui/crw_web_controller+protected.h (right): https://codereview.chromium.org/1874903003/diff/60001/ios/web/web_state/ui/crw_web_controller+protected.h#newcode109 ios/web/web_state/ui/crw_web_controller+protected.h:109: // Designated initializer. Initializes web controller with unowned |webState|. ...
4 years, 8 months ago (2016-04-13 02:51:26 UTC) #14
rohitrao (ping after 24h)
LGTM but please make sure that Kurt signs off as well. Maybe instead of "unowned ...
4 years, 8 months ago (2016-04-13 11:52:27 UTC) #15
Eugene But (OOO till 7-30)
Thanks everyone. Kurt, I removed "unowned" and using similar wording to Rohit's suggestion. PTAL. https://codereview.chromium.org/1874903003/diff/60001/ios/web/web_state/ui/crw_web_controller+protected.h ...
4 years, 8 months ago (2016-04-13 13:57:58 UTC) #16
kkhorimoto
lgtm!
4 years, 8 months ago (2016-04-13 16:59:22 UTC) #17
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1874903003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1874903003/100001
4 years, 8 months ago (2016-04-13 17:48:01 UTC) #19
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: ios_dbg_simulator_gn on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_gn/builds/18527)
4 years, 8 months ago (2016-04-13 17:52:38 UTC) #21
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1874903003/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1874903003/120001
4 years, 8 months ago (2016-04-13 18:01:46 UTC) #23
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: ios_dbg_simulator_gn on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_gn/builds/18542) ios_dbg_simulator_ninja on ...
4 years, 8 months ago (2016-04-13 18:04:33 UTC) #25
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1874903003/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1874903003/140001
4 years, 8 months ago (2016-04-13 18:14:43 UTC) #27
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_ninja/builds/159005)
4 years, 8 months ago (2016-04-13 18:28:00 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1874903003/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1874903003/140001
4 years, 8 months ago (2016-04-13 18:30:51 UTC) #32
commit-bot: I haz the power
Committed patchset #8 (id:140001)
4 years, 8 months ago (2016-04-13 18:53:12 UTC) #33
commit-bot: I haz the power
4 years, 8 months ago (2016-04-13 18:54:41 UTC) #35
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/b70db6e5b1700b230792342da63343b580f0bbf4
Cr-Commit-Position: refs/heads/master@{#387052}

Powered by Google App Engine
This is Rietveld 408576698