|
|
[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}
Total comments: 1
Total comments: 4
|
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
|
Total messages: 27 (14 generated)
|