Create WebFrame objects for each webpage frame.

A WebFramesManagerImpl instance is attached to each WebState to create and manage a list of WebFrames. A WebFrame will be created for each frame which currently exists inside the rendered webpage.

In a future CL, the WebFrame class will expose API to call JavaScript functions on __gCrWeb. This will allow the embedder to communicate directly with any frame. (In comparison to the current WKWebView API which only allows JavaScript execution in the main frame.)

Bug: 851636
Cq-Include-Trybots: luci.chromium.try:ios-simulator-full-configs;master.tryserver.chromium.mac:ios-simulator-cronet
Change-Id: Ic57f3a4242b4077f984d84f0d1eb63ff4cbe7242
Reviewed-on: https://chromium-review.googlesource.com/1136582
Commit-Queue: Eric Noyau <[email protected]>
Reviewed-by: Olivier Robin <[email protected]>
Reviewed-by: Eric Noyau <[email protected]>
Cr-Commit-Position: refs/heads/master@{#575984}
11 files changed