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

Issue 1851003003: [ios] Added web// public API to let embedder observe loading progress. (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

[ios] Added web// public API to let embedder observe loading progress. All web// API follows the approach of content// API: WebClient is analogue of ContentBrowserClient NavigationManager is analogue of NavigationController WebState is for WebContents WebStateObserver is for WebContentsObserver In content// loading progress is reported via WebContentsDelegate::LoadProgressChanged. In web// progress will be reported via WebStateDelegate::LoadProgressChanged and WebStateDelegateBridge to allow Objective-C clients use this API. WebStateDelegate will also be used to support context menus and JS dialogs in the future. doc: https://docs.google.com/document/d/1QnO4GTeFDm7W6cK0boELl2DxSXsd90TXEUsCBBmWbAA/edit# BUG=597997 Committed: https://crrev.com/9dbebc8ed2f1c636167d7e39b88c589024eaf069 Cr-Commit-Position: refs/heads/master@{#387936}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Merged with origin/master #

Patch Set 3 : Self review #

Total comments: 4

Patch Set 4 : Addressed review comments #

Patch Set 5 : Merged with origin/master #

Patch Set 6 : Self review #

Patch Set 7 : Notify about progress change in correct callback #

Patch Set 8 : Fixed compilation #

Unified diffs Side-by-side diffs Delta from patch set Stats (+338 lines, -5 lines) Patch
M ios/web/BUILD.gn View 1 2 3 4 3 chunks +7 lines, -0 lines 0 comments Download
M ios/web/ios_web.gyp View 1 2 3 4 2 chunks +4 lines, -0 lines 0 comments Download
M ios/web/ios_web_unittests.gyp View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M ios/web/public/test/test_web_state.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M ios/web/public/test/test_web_state.mm View 1 2 3 4 1 chunk +6 lines, -0 lines 0 comments Download
M ios/web/public/web_state/web_state.h View 1 2 3 4 2 chunks +5 lines, -0 lines 0 comments Download
A ios/web/public/web_state/web_state_delegate.h View 1 2 3 1 chunk +50 lines, -0 lines 0 comments Download
A ios/web/public/web_state/web_state_delegate_bridge.h View 1 chunk +42 lines, -0 lines 0 comments Download
M ios/web/shell/view_controller.mm View 1 2 3 4 3 chunks +5 lines, -1 line 0 comments Download
M ios/web/web_state/ui/crw_web_controller.mm View 1 2 3 4 5 6 7 1 chunk +7 lines, -3 lines 0 comments Download
A ios/web/web_state/web_state_delegate.mm View 1 2 1 chunk +33 lines, -0 lines 0 comments Download
A ios/web/web_state/web_state_delegate_bridge.mm View 1 chunk +22 lines, -0 lines 0 comments Download
A ios/web/web_state/web_state_delegate_bridge_unittest.mm View 1 chunk +46 lines, -0 lines 0 comments Download
A ios/web/web_state/web_state_delegate_stub.h View 1 chunk +20 lines, -0 lines 0 comments Download
A ios/web/web_state/web_state_delegate_stub.mm View 1 chunk +19 lines, -0 lines 0 comments Download
M ios/web/web_state/web_state_impl.h View 1 2 3 4 4 chunks +9 lines, -0 lines 0 comments Download
M ios/web/web_state/web_state_impl.mm View 1 2 3 4 4 chunks +25 lines, -1 line 0 comments Download
M ios/web/web_state/web_state_impl_unittest.mm View 1 2 3 4 3 chunks +33 lines, -0 lines 0 comments Download

Messages

Total messages: 27 (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/1851003003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1851003003/1
4 years, 8 months ago (2016-04-02 04:07:46 UTC) #5
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-02 04:39:08 UTC) #7
Eugene But (OOO till 7-30)
https://codereview.chromium.org/1851003003/diff/1/ios/web/shell/view_controller.mm File ios/web/shell/view_controller.mm (right): https://codereview.chromium.org/1851003003/diff/1/ios/web/shell/view_controller.mm#newcode34 ios/web/shell/view_controller.mm:34: @interface ViewController ()<CRWWebStateDelegate, CRWWebStateObserver> { This is unused now, ...
4 years, 8 months ago (2016-04-06 21:35:17 UTC) #9
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1851003003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1851003003/40001
4 years, 8 months ago (2016-04-09 04:23:14 UTC) #11
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-09 05:08:24 UTC) #13
rohitrao (ping after 24h)
How did this method end up in WebContentsDelegate instead of WebContentsObserver? We should match this ...
4 years, 8 months ago (2016-04-13 12:01:13 UTC) #14
Eugene But (OOO till 7-30)
>> How did this method end up in WebContentsDelegate instead of WebContentsObserver? I guess in ...
4 years, 8 months ago (2016-04-13 15:03:53 UTC) #15
rohitrao (ping after 24h)
LGTM > >> How did this method end up in WebContentsDelegate instead of > WebContentsObserver? ...
4 years, 8 months ago (2016-04-18 11:30:48 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1851003003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1851003003/60001
4 years, 8 months ago (2016-04-18 14:11:17 UTC) #18
commit-bot: I haz the power
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/20614) ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, ...
4 years, 8 months ago (2016-04-18 14:13:44 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1851003003/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1851003003/140001
4 years, 8 months ago (2016-04-18 16:22:51 UTC) #23
commit-bot: I haz the power
Committed patchset #8 (id:140001)
4 years, 8 months ago (2016-04-18 17:24:41 UTC) #25
commit-bot: I haz the power
4 years, 8 months ago (2016-04-18 17:26:42 UTC) #27
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/9dbebc8ed2f1c636167d7e39b88c589024eaf069
Cr-Commit-Position: refs/heads/master@{#387936}

Powered by Google App Engine
This is Rietveld 408576698