DescriptionAdd an ability to call WebKit's WebFrame::loadData via NavigationController.
WebFrame::loadData accepts HTML that is wrapped into a 'data:' scheme URL
and two URLs: the base URL is used for resolving relative URLs in the HTML,
the history URL is put into the navigation history.
WebKit has all the required support for this method. What is required is
to pass base and history URLs from RVH to WebKit's WebFrame. Also, as
Chromium contains additional security checks when loading page resources,
we need to add the base URL into the list of request URLs for the security
policy.
BUG=none
TEST=none
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=148090
Patch Set 1 #
Total comments: 2
Patch Set 2 : Updated comments #
Total comments: 10
Patch Set 3 : Comments addressed #
Total comments: 2
Patch Set 4 : Comments addressed #Patch Set 5 : Renamings for clarity #
Total comments: 8
Patch Set 6 : Separated the new method into an Android-specific API #Patch Set 7 : Actually removed method decl from NavigationController interface #
Total comments: 6
Patch Set 8 : Comments addressed #Patch Set 9 : More comments addressed #Messages
Total messages: 16 (0 generated)
|