Bboliu@chromium.orgImplement Android WebView BlockNetworkImages
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
Tighten up android_webview DEPS rules Codifies the agreed layering :- native->browser->common renderer->common lib is at top, it may depend on anything but nothing depend in it Review URL: https://chromiumcodereview.appspot.com/10916326 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156980 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Implement Android WebView BlockNetworkImages This uses the WebCore ImagesEnabled setting, which is added to ContentSettings. The setting also includes overriding WebPermissionClient::allowImage, which here allows images with local soucres to load as well. Use a whitelist of local file schemes instead of blacklisting only http(s). BUG= Review URL: https://chromiumcodereview.appspot.com/10920033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158809 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Implement Android WebView BlockNetworkImages This uses the WebCore ImagesEnabled setting, which is added to ContentSettings. The setting also includes overriding WebPermissionClient::allowImage, which here allows images with local soucres to load as well. Use a whitelist of local file schemes instead of blacklisting only http(s). BUG= Review URL: https://chromiumcodereview.appspot.com/10920033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158809 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 |