History log of /frameworks/base/core/java/android/webkit/WebSettings.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
b90f5389ddd704bb50bb7846ff3298920e7bb40a 29-Apr-2016 Tim Volodine <timvolodine@google.com> [WebView] Update ServiceWorker related documentation.

Add some clarifying documentation and usage example.

BUG: 28296205
Change-Id: Ib1695822e3d361b17fc4d8a9a3f24a14e34f40ec
/frameworks/base/core/java/android/webkit/WebSettings.java
539b077d42174b4c00adb735d116a4e9998fa7d0 21-Apr-2016 Hui Shu <hush@google.com> API Review: Add @IntDef and other annotations to Menu Item flags.

BUG: 28296254
Change-Id: I11f77ae36b24f97948f55887d2ba111220afcf80
/frameworks/base/core/java/android/webkit/WebSettings.java
89eb9b454023585738a9b1c0dcf454343f6a9de6 07-Jan-2016 Hui Shu <hush@google.com> Deprecate setGeolocationDatabasePath because it is no-op since KitKat

Also updated the documentation of setGeolocationEnabled.

BUG: crbug.com/507505
Change-Id: I5f4bb38189338f58dcd4c1ba0310493aeac5cbd2
/frameworks/base/core/java/android/webkit/WebSettings.java
227a8c1df2c8ffcb1704861b7006b9209f88917a 22-Oct-2015 Hui Shu <hush@google.com> Add the APIs for customizing WebView action mode menu actions

We will allow apps to disable Share, Web Search, and text
processing related menu actions.

The default actions like cut, copy, paste cannot be disabled.

BUG: 22772178
Change-Id: I8429454f71f74a99298f412862cd32d8fba93784
/frameworks/base/core/java/android/webkit/WebSettings.java
550f621aaffb3e66fd023260f156df3be07e3ae8 07-Jul-2015 Mikhail Naganov <mnaganov@google.com> Enhance documentation of WebSettings.WebSettings method

Add a note about WebView reloading the page if the UA string is change
during loading. See crbug.com/315891.

Bug: 22325430

Change-Id: I04f5ab703fd2dcedf0709e4aa1d17b1204df355b
/frameworks/base/core/java/android/webkit/WebSettings.java
d377c0f6cabeb91926012787d3573e117a337228 13-May-2015 Hui Shu <hush@google.com> Address API council feedback for setOffscreenPreRaster.

BUG: 21043955
Change-Id: I6481f5f84c9e00c16caeb2d9e175aa869600c715
/frameworks/base/core/java/android/webkit/WebSettings.java
78cb6f5458fb5dd6c782b38a393515993e88c84b 23-Apr-2015 Joe Fernandez <joefernandez@google.com> am 1009c8de: am 92ae292e: Merge "docs: Add text to JavaDocs regarding browser file access vulnerability" into lmp-mr1-ub-docs

* commit '1009c8de23920c4a368edf7f1e2ecde63e40ec82':
docs: Add text to JavaDocs regarding browser file access vulnerability
22b5ba8c0140c4c675cdf5093514083a475cd7b4 23-Apr-2015 Joe Fernandez <joefernandez@google.com> docs: Add text to JavaDocs regarding browser file access vulnerability

b/17420682

Change-Id: Ic03b51778280570be65ae933fd906b140acdf023
/frameworks/base/core/java/android/webkit/WebSettings.java
d7c7e566aa47c57527c4fee3b70b1e9088b7d64b 13-Mar-2015 Hui Shu <hush@google.com> Merge "Add API for WebView OffscreenPreRaster setting."
b1ee70b1499a1b5a8cd07f5041ed8122ead6601b 03-Mar-2015 Hui Shu <hush@google.com> Add API for WebView OffscreenPreRaster setting.

BUG: 19592029
Change-Id: Ic903b823e5f7830e2cf2d4f3dd9a5458334648a3
/frameworks/base/core/java/android/webkit/WebSettings.java
2b666c96e2e89c00c55e0822a131724b2e15db78 06-Mar-2015 Torne (Richard Coles) <torne@google.com> Fix typo in WebSettings javadoc.

We accidentally repeated the same enum value twice; fixed to mention the
three values correctly.

Change-Id: Iba6a7edd8e1a5b429728056a8f56634427758c73
/frameworks/base/core/java/android/webkit/WebSettings.java
451e338c51e8c45efc0d21536dfae6f78f6d5e06 10-Nov-2014 Ignacio Solla <igsolla@google.com> [WebView] Allow the WebView to be compiled against the system SDK.

BUG:18152150
Change-Id: Ifd6dcac17663631058d895c61bb6e8018c5aeecc
/frameworks/base/core/java/android/webkit/WebSettings.java
fd1ac83f6339a608967ae478240f1ad6a0fa01ef 10-Oct-2014 Marcin Kosiba <mkosiba@google.com> Remove the default WebView text encoding resource entirely.

Having the default text encoding in config.xml makes it seem like
it's something that could be changed, but upon further inspection
we can't see any good reason for anyone to ever want to change it
from UTF-8.

BUG: 17634120
Change-Id: I10a09ab1d65590c29efb10222abfa08ca52b5c84
/frameworks/base/core/java/android/webkit/WebSettings.java
955d8d69ea6caabce1461dc25b339b9bf9dc61a6 08-Oct-2014 Dianne Hackborn <hackbod@google.com> Put in real "code" (aka marketing) name.

Change-Id: Idb3976edfae37293ed75cb5b869b4b42d8042bbe
/frameworks/base/core/java/android/webkit/WebSettings.java
eeba0257a7d9bd10bf0d97d38828d52c035d2628 08-Jul-2014 Yuncheol Heo <ycheo@google.com> Tag hole-punching api with @SystemApi.

Change-Id: I50c27c32abd7e6d2404c451fb53cfb1379b88e00
/frameworks/base/core/java/android/webkit/WebSettings.java
fc9a27aa5a50d30731bdaa6f69e0434a3557584d 05-Jun-2014 Hector Dearman <hjd@google.com> Add Third Party Cookie API

Bug: 11678084
Change-Id: Ieb74fb6caae3d5a18dbfe748be47ebebad003cf7
/frameworks/base/core/java/android/webkit/WebSettings.java
4d07c48e4882bfc4223ed6f818d2f8cc1d06f328 07-May-2014 Yuncheol Heo <ycheo@google.com> Add API definition for WebSettings.setVideoOverlayForEmbeddedEncryptedVideoEnabled.

Introduces an API to control the hole-punching for the embedded
encrypted media.

Bug: 14598993
Change-Id: I6b473e5b38b0bcc243f43dfeba0c2037fcd37af5
/frameworks/base/core/java/android/webkit/WebSettings.java
fe9fc3d1a34d879ded2b1cf2443600701e5c5fc5 10-Apr-2014 Ben Murdoch <benm@google.com> Add API definition for WebSettings.allowMixedContent

Introduces an API for configuring how the WebView behaves with
regard to referencing insecure content from a secure origin.

By default, apps targeting <= KK will allow mixed content. New apps
will block all insecure content.

Bug: 13948531
Change-Id: Ie773ee144e223f78b6449da0a8564192dd9c1c5d
/frameworks/base/core/java/android/webkit/WebSettings.java
5545d083d35620a625b65fafe97199660d85f059 01-Sep-2013 Jonathan Dixon <joth@google.com> Update APIs for the Chromium WebView

Bug: 10361803
Bug: 8565831

Several obsolete APIs now deprecated.
TEXT_AUTOSIZING can now be unhidden.

Change-Id: Ib0afa4bb010f35816d3b9dd3695e8997f0ff0793
/frameworks/base/core/java/android/webkit/WebSettings.java
003033665fd25ce90ed577146a65af10d1e9a151 02-Sep-2013 Mikhail Naganov <mnaganov@google.com> Add more docs for WebView's setInitialScale and setLoadWithOverviewMode

BUG=10588746

Change-Id: Ibbccd688de9841cc780b933f414a8435c79b51b3
/frameworks/base/core/java/android/webkit/WebSettings.java
8887b2b4f1be5d45c47ad3accf3e0685056c742e 28-May-2013 Mikhail Naganov <mnaganov@google.com> Specify that WebSettings.{get|set}DefaultZoom are not recommented to use

Alternatives are advised in the JavaDoc. The settings will be marked as
deprecated in the K release.

Bug: 9004875

Change-Id: I033be03f14244390016cb2b40337aab1df945465
/frameworks/base/core/java/android/webkit/WebSettings.java
0bf4781eceb9ee78682c42e183a21b03b0695ebb 08-Mar-2013 Jonathan Dixon <joth@google.com> Hide PlusinsEnabled/PluginsPath methods

These have been deprecated since API level 8 / 9. Plugins are deprecated
overall now, so there's no requirement for apps to call these any more.

Change-Id: I1a27557644238477df00979f9badc9aab0a526c6
/frameworks/base/core/java/android/webkit/WebSettings.java
7be6d4c421cfa6f93079517d3ee54024c8049ae5 01-Mar-2013 Selim Gurun <sgurun@google.com> Merge "Clarify the API documentation for WebSQL database." into jb-mr2-dev
2bca22b2a58f14985b1eee1acee73bce95715d49 01-Mar-2013 Selim Gurun <sgurun@google.com> Clarify the API documentation for WebSQL database.

Bug: 8231270

WebSQL database is disabled by default. And setting change to
enable it must precede the first url navigation. This change
is to clarify this behavior.

Change-Id: Ic0aab764821daece83f3482b30df4bebc7ff1f37
/frameworks/base/core/java/android/webkit/WebSettings.java
98fac170b14e30104ef3fcff03cf9512e59d1aaf 01-Mar-2013 Jonathan Dixon <joth@google.com> Fix javadoc build

Change-Id: I99eb6713fb221e1a3a8e54d621038104913dc03a
/frameworks/base/core/java/android/webkit/WebSettings.java
835b1fcc3193e0860ec33cca1c4cdff31f409473 25-Feb-2013 Jonathan Dixon <joth@google.com> Deprecate various WebView related methods

WebSettings:
PluginState - plugins depreacted and will not be supported in future.
setRenderPriotity - b/6335436
setLightTouchEnabled - b/7683972 it's s no-op.
setAppCacheMaxSize - has a sensible default and will be obsolete in
future with HTML Quota Management API. b/6236763

WebStorage.setQuotaForOrigin - same as setAppCacheMaxSize

WebView:
clearView, showFindDialog - buggy, can be achieved otherways
savePassword - not useful/usable in practice; see b/5012826
- stock browser used hidden APIs to achieve this feature

WebIconDatabase:
Other than the open() method, this does nothing useful. b/7331507

Change-Id: I01793f7b34978046eb54033477fca2da96e69c2e
/frameworks/base/core/java/android/webkit/WebSettings.java
cb000a68cb3c994c118345f091eaae19e011d21a 04-Jan-2013 Mikhail Naganov <mnaganov@google.com> Update JavaDoc for WebSettings.{get|set}UseWideViewPort

Based on a black-box inspection of WebView behavior.

Change-Id: I8823dab9ef2302cf7d11abec87a64e854db9e116
/frameworks/base/core/java/android/webkit/WebSettings.java
5c11ef10dbc6734ec028a7112eaaa57920aa184d 04-Jan-2013 Selim Gurun <sgurun@google.com> Remove doc references to private browsing.

Remove reference to private browsing since it is no longer supported.

Change-Id: I65bc8aecd949717f662454d4bd1759ca91ad553d
/frameworks/base/core/java/android/webkit/WebSettings.java
94e0bd3b10e47d37688059aa874adcb9f9b727db 14-Dec-2012 Mikhail Naganov <mnaganov@google.com> Add new LayoutAlgorithm -- TEXT_AUTOSIZING

The algorithm will only be implemented in the new version of WebView.

BUG=6294649

Change-Id: I302b0b572236e57c0ce07946361e9e743321b6a8
/frameworks/base/core/java/android/webkit/WebSettings.java
47aaba3faf5c950e1d7b2c613fe8e2c73c6748a7 01-Dec-2012 Jonathan Dixon <joth@google.com> Fix broken more JavaDoc links

Change-Id: Ic1c74c739a668871e37b7b5868f1bc9ed3a65828
/frameworks/base/core/java/android/webkit/WebSettings.java
7ae8a60f354d7cbb56da898db5a00f3b9fa7154c 25-Sep-2012 Kristian Monsen <kristianm@google.com> Merge "Hiding a method for JB-MR1" into jb-mr1-dev
d0b90d30d86679fe52cb1af383900a70fc44cb2a 24-Sep-2012 Kristian Monsen <kristianm@google.com> Hiding a method for JB-MR1

This one got left out in the last round of method hiding.

This got lost in the last round of method hiding.

Change-Id: I3c6aa234dd29933cb32d0cd91830d47289e7e639
/frameworks/base/core/java/android/webkit/WebSettings.java
7f52de24d65b3c4f3199f0fd88e1e26376d6c9d1 17-Sep-2012 Kristian Monsen <kristianm@google.com> am 7b1be537: am 4cb846b8: Merge "Hiding some of the deprecated android.webkit API\'s" into jb-mr1-dev

* commit '7b1be537546481c6687efd03c3c709b266502abf':
Hiding some of the deprecated android.webkit API's
f77e52e1108c81d8517654d7de709904674b0d84 13-Sep-2012 Kristian Monsen <kristianm@google.com> am 5710a2f1: am bd0fe878: Merge "Deprecating methods (and a constant) for JB MR1" into jb-mr1-dev

* commit '5710a2f1269180c169855b98a8d33f2f12ced1a1':
Deprecating methods (and a constant) for JB MR1
f4912580e6adc90ab37b07b8108c7334f359e317 16-Aug-2012 Kristian Monsen <kristianm@google.com> Hiding some of the deprecated android.webkit API's

Change-Id: I1775a2ff615d1633fe9a20a5af49623222d3d27b
/frameworks/base/core/java/android/webkit/WebSettings.java
5cc2351ded6a13fadcc3bb14fdaf31ac66c05b2d 09-Aug-2012 Kristian Monsen <kristianm@google.com> Deprecating methods (and a constant) for JB MR1

Change-Id: I3eb0eaff5ea5d8984ad143f801efa19e25bd0685
/frameworks/base/core/java/android/webkit/WebSettings.java
6cb296a55c0e170e56a73e7b25d92968be2076ae 28-Aug-2012 Mikhail Naganov <mnaganov@google.com> Clarify WebSettings.setGeolocationEnabled JavaDocs.

The current doc is very brief and doesn't specify important
requirements.

Change-Id: I36c0cfac18d2c9a7b435b07d67d1bbabad41e2fb
/frameworks/base/core/java/android/webkit/WebSettings.java
a6d16993eb6b8834095b8e308523b2d28259e430 22-Aug-2012 Selim Gurun <sgurun@google.com> Merge "Small tidy up to getDefaultUserAgent. DO NOT MERGE" into jb-mr1-dev
951fcabef694ce3a78c1e7a8d03a27bd337db021 21-Aug-2012 Jonathan Dixon <joth@google.com> Small tidy up to getDefaultUserAgent. DO NOT MERGE

- no need for WebSettings to bounce via WebView to get to the factory
- move this static (non-factory) method into the Statics inner class.

Bug: 6329117

Clean cherry pick: d1c4faa5a4c2be71d529d35572c5f807beee7ddc

Change-Id: I96807df0171c7308421ca8811cfcb1bf710cb007
/frameworks/base/core/java/android/webkit/WebSettings.java
9d5e7aa38d5945b98aa9e193a37242cc1db35422 07-Aug-2012 Mikhail Naganov <mnaganov@google.com> Implement WebSettings.{get|set}TextSize via {get|set}TextZoom. DO NOT MERGE

TextSize is deprecated, so we wouldn't expect from WebViewProvider
implementations to re-implement it in some other way than Android WebView does
it. This also makes recently added TextSize.getValue method redundant.

Clean cherry pick: 1202d66f78fb24850b997e37f0ce3cb3b36e4bbf

Change-Id: Ib6aecb187f10ac3ec5d12cb839cb814ec0c564fe
/frameworks/base/core/java/android/webkit/WebSettings.java
d1c4faa5a4c2be71d529d35572c5f807beee7ddc 21-Aug-2012 Jonathan Dixon <joth@google.com> Small tidy up to getDefaultUserAgent

- no need for WebSettings to bounce via WebView to get to the factory
- move this static (non-factory) method into the Statics inner class.

Bug: 6329117
Change-Id: Ib56d5eaae59cd8d19fb0b71e4b8a41d1c0f5ba09
/frameworks/base/core/java/android/webkit/WebSettings.java
eb9b2c095d2e4298cf54d24020336506b96889c9 20-Aug-2012 George Mount <mount@google.com> am 00d2eba5: am 9af67e8f: Merge "Add getDefaultUserAgent to WebSettings." into jb-mr1-dev

* commit '00d2eba50172a6763f3414c092be05a3b283b851':
Add getDefaultUserAgent to WebSettings.
9f410c540ad593dd83e34266ccffd70867a600ab 11-Aug-2012 George Mount <mount@google.com> Add getDefaultUserAgent to WebSettings.

Bug 6329117
Add ability to get the default user-agent without creating
a WebView. The method is implemented for WebSettingsClassic.

Change-Id: Id15fb57f65875752ccf644481a22b88644635f5d
/frameworks/base/core/java/android/webkit/WebSettings.java
ce18fd9510e2de9814d7a459da6686946c80b75e 08-Aug-2012 Mikhail Naganov <mnaganov@google.com> Merge "Implement WebSettings.{get|set}TextSize via {get|set}TextZoom."
65e7ace9796f1d29faecacc8dd7f35ba7ae647e5 07-Aug-2012 Mikhail Naganov <mnaganov@google.com> Clarify JavaDoc of WebSettings.setAllowFileAccessFromFileURLs.

According to CTS tests (WebSettingsTest.testLocalImageLoads),
local images access is allowed regardless of the state of
AllowFileAccessFromFileURLs.

Bug: 5461416

Change-Id: I71f5c38a6b0f3720c8c369c0e19f379c78ace06f
/frameworks/base/core/java/android/webkit/WebSettings.java
1202d66f78fb24850b997e37f0ce3cb3b36e4bbf 07-Aug-2012 Mikhail Naganov <mnaganov@google.com> Implement WebSettings.{get|set}TextSize via {get|set}TextZoom.

TextSize is deprecated, so we wouldn't expect from WebViewProvider
implementations to re-implement it in some other way than Android WebView does
it. This also makes recently added TextSize.getValue method redundant.

Change-Id: Ia9d0c743424be0727be6d5df6c7da30514d621b7
/frameworks/base/core/java/android/webkit/WebSettings.java
f415f3d72bbea4c08f6d52b74bb207b587cde722 31-Jul-2012 Mikhail Naganov <mnaganov@google.com> Merge "Deprecate WebSettings.LOAD_NORMAL cache mode."
56936a1f5122f890e87e44d7b5f2fb6c9bfd50d8 25-Jul-2012 Mikhail Naganov <mnaganov@google.com> Deprecate WebSettings.LOAD_NORMAL cache mode.

After the switch to the Chromium network stack, this setting is
effectively the same as LOAD_DEFAULT, and having two settings
with the same meaning is confusing.

This change is blocking https://android-git.corp.google.com/g/205883 in CTS

Change-Id: I02cc23477f107e7f4cec37dcbad4f25503b5e840
/frameworks/base/core/java/android/webkit/WebSettings.java
ce76ca51d832387fe5922115f228af0ac64ea4d8 27-Jul-2012 Mikhail Naganov <mnaganov@google.com> Add 'getValue' methods to WebSettings.TextSize and ZoomDensity enums.

As the 'value' fields in these enums are not public, it isn't possible to
retrieve the enum value if the WebViewProvider implementation is defined in a
different package to the API. Adding public hidden methods to fix this.

Change-Id: Ia5fb1332d0043e127b4bad03a295d8abf1a5e5b9
/frameworks/base/core/java/android/webkit/WebSettings.java
500b003ff14b8a5aee2927bb577ab68d71ccfc12 25-Jul-2012 Mikhail Naganov <mnaganov@google.com> Improve JavaDoc for cache mode constants.

Bug: 5461416
Change-Id: I26c48a6428ff1afb5346eeaa02c5ca74ec95173c
/frameworks/base/core/java/android/webkit/WebSettings.java
0e5b160418dad25b9e7125d2533cc8770b1cd9c6 18-Jul-2012 Teng-Hui Zhu <ztenghui@google.com> add a webview API to support media play without user gesture

bug:6806306

webkit change: https://android-git.corp.google.com/g/#/c/208568/
Change-Id: Ic70e5d3f152a7e8d8fdfa1d6f89f96c8cd3c7075
/frameworks/base/core/java/android/webkit/WebSettings.java
f27ac09501dfcf12668c8144fbc8cc041b872388 28-Jun-2012 Selim Gurun <sgurun@google.com> Update documentation to clarify AppCache usage

Bug: 5869022
Change-Id: I5830583b6c68128cbfda0e61cd6f031702faebf5
/frameworks/base/core/java/android/webkit/WebSettings.java
b632adfaf445ff6f0c07bfc54671d204ad0e5a67 28-Jun-2012 Selim Gurun <sgurun@google.com> Update documentation to clarify AppCache usage

Bug: 5869022
Change-Id: I46abecfb0e8975cc924458f444f95cdabaa3f712
/frameworks/base/core/java/android/webkit/WebSettings.java
b0e0f334422e25542e48901c8451e51c8efab590 13-Jun-2012 Steve Block <steveblock@google.com> Document missing default values in WebSettings

Bug: 6641511
Change-Id: I21e02a8467ee5efd104ec9da5751785284369b9d
/frameworks/base/core/java/android/webkit/WebSettings.java
72ca7a45ac4a911435a60361964a15045515eaf5 13-Jun-2012 Steve Block <steveblock@google.com> Clarify JavaDoc for setting database paths in WebSettings

Bug: 6641511
Change-Id: Id6a78440c1b7a4a69140be878bfa22b9cd8631fd
/frameworks/base/core/java/android/webkit/WebSettings.java
ef163150805625a148a9715eff6693277f79dcef 23-Apr-2012 Steve Block <steveblock@google.com> Tweak JavaDoc for WebSettings.setAllowUniversalAccessFromFileURLs() and setAllowFileAccessFromFileURLs()

Bug: 6212665
Change-Id: Ifc5c83cfee7cf63edbe2c65c55617eb01ea9eced
/frameworks/base/core/java/android/webkit/WebSettings.java
4e584df4cee8334bc371c04a67bcd0a32e2f9480 25-Apr-2012 Steve Block <steveblock@google.com> Fix JavaDoc style for several WebView classes

This fixes the JavaDoc style for the following classes ...
- CacheManager.java
- CookieManager.java
- GeolocationPermissions.java
- WebResourceResponse.java
- WebSettings.java
- WebStorage.java
- WebView.java

In particular, this applies the guidelines at
https://wiki.corp.google.com/twiki/bin/view/Main/APIDocumentation

This should help to ensure that future JavaDoc comments use correct style,
rather than using incorrect style for consistency.

Note that this change does not attempt to improve the content of the JavaDoc
comments. This will be done in later changes.

Bug: 5461416
Change-Id: I79e9b15a8cf3597195d58e154a7eb1bcc462944c
/frameworks/base/core/java/android/webkit/WebSettings.java
d3101b1d300f5942fdb7dfa323dc8830c4edc007 12-Apr-2012 Jonathan Dixon <joth@google.com> Seperate interface and implementation of 4 WebView classes

GeolocationPermissionsClassic
CookieManagerClassic
WebIconDatabaseClassic
WebStorageClassic

Also creats a WebViewFactory top level class - this remains hidden
for now, as it's currently only used implicitly by the other
public WebView classes to create the provider instances.

Bug: 5626244

Change-Id: Id0ca1c16d8058f31a86414bbc0e8a55db4b907ba
/frameworks/base/core/java/android/webkit/WebSettings.java
caf7f3d1fc28f74f0782438cd5a91aef7a9dedb5 20-Apr-2012 Selim Gurun <sgurun@google.com> Merge "Add websettings API for file origin policy."
0ea6dad65eb77f9347a59704b1f8a019cfc9e01f 30-Mar-2012 Selim Gurun <sgurun@google.com> Add websettings API for file origin policy.

Bug: 6212665

Add the API and change the default behavior for Jelly Bean+.

Change-Id: I9a83f510675023c36e2e72c4a69ad082d8124a23
/frameworks/base/core/java/android/webkit/WebSettings.java
06d268e3ad1129814829af5d3b84752d84c1acf2 16-Apr-2012 Steve Block <steveblock@google.com> Clean up JavaDoc for WebView.getZoomControls()

Bug: 5461416
Change-Id: I4f2b5c9e4b4c2b1a38d678cb6756f128670ee490
/frameworks/base/core/java/android/webkit/WebSettings.java
9f7296af049028c28aeb3382c03f0c314346d19d 16-Apr-2012 Mikhail Naganov <mnaganov@google.com> Fix javadoc breakage by not linking to now hidden WebView.getZoomControls method.

Change-Id: I770a647b2e6068687530813133847a624ed5aa0d
/frameworks/base/core/java/android/webkit/WebSettings.java
b533fb4eef92b62cc26c4d9a901689e8f079fb73 05-Apr-2012 Mikhail Naganov <mnaganov@google.com> Clarify WebSettings comments related to zooming.

1. It wasn't clear that SupportZoom doesn't affect WebView's
zoomIn / zoomOut methods.

2. It was easy to misread that to enable "pinch to zoom" one
needs to hide zoom controls.

Bug: 5461416

Change-Id: Ic8afd22ae0f36e53b9f4724e95ac55c766f58af5
/frameworks/base/core/java/android/webkit/WebSettings.java
3c90952036a5ff7ddb2946c643f1a0bf1c31d53a 28-Feb-2012 Jonathan Dixon <joth@google.com> Refactor WebView to be a thin proxy class

Splits interface and implementation; all client calls are forwarded
to an abstract WebViewProvider interface, and the existing implementation
moved into the WebViewClassic implementor of this interface.

Originally taken from a snapshot from the development branch, by:
git diff HEAD 9a4c328a54cc05e5 | git apply
- but then rebased to keep up to date with master

Interdepends on webkit and Browser changes:
https://android-git.corp.google.com/g/158979
https://android-git.corp.google.com/g/167911

Change-Id: I91403f32654ff308934e95c832d17b292a7d9b2e
/frameworks/base/core/java/android/webkit/WebSettings.java
605a491c281da79aa1e2aa740f38ab5c0bdb138e 03-Feb-2012 Mikhail Naganov <mnaganov@google.com> Clarify comments for WebSettings.

setLoadsImagesAutomatically
getLoadsImagesAutomatically
setBlockNetworkImage
getBlockNetworkImage
setBlockNetworkLoads
getBlockNetworkLoads

Change-Id: Ic1486266a77254044425cdb51cce5c982ea0617c
/frameworks/base/core/java/android/webkit/WebSettings.java
4eda105cdb3ac0c33fee0deb3b6eb15be2672f30 20-Dec-2011 John Reck <jreck@google.com> Initial NavCache removal support

Change-Id: I927005093b620a1b1b60703bc8a58de539bdf3c8
/frameworks/base/core/java/android/webkit/WebSettings.java
777710e50410bb1cd2c438afa494f941d94608ae 05-Jan-2012 John Reck <jreck@google.com> Update WebSettings.PREVIOUS_VERSION

Bug: 5825937

Change-Id: Idb0982e13ad6790ca71b16ff322864fca135f14e
/frameworks/base/core/java/android/webkit/WebSettings.java
7b061309fabb6fdf9e40a48dd4feaac6ffa29710 04-Jan-2012 Steve Block <steveblock@google.com> Merge "Fix AppCache when either no path or an invalid path is supplied"
4cde13a3bbf29e065a278dc6c31c2cd9fd16f7f6 16-Dec-2011 Jonathan Dixon <joth@google.com> Remove misleading API council comments

Most of these APIs have no intention of being published, at least not in anything like the current form.

Change-Id: I1df3ae00320f909caea8a0d42d50ee7400577635
/frameworks/base/core/java/android/webkit/WebSettings.java
92f30c3d5f39bd33dcab8c3d31e156ea3188a67a 15-Dec-2011 Steve Block <steveblock@google.com> Fix AppCache when either no path or an invalid path is supplied

The bulk of the change is in to external/webkit:
https://android-git.corp.google.com/g/155448

This part of the change simply adds some optimizations to avoid syncing to
native when not required, and cleans up the JavaDoc.

Bug: 5745181
Change-Id: I0009c1868755fe211ec2dc31bd007d393aabfbe3
/frameworks/base/core/java/android/webkit/WebSettings.java
1da3d656358ab577f285d06e9db249dfb21cb8e3 17-Nov-2011 John Reck <jreck@google.com> Merge "Undeprecate LayoutAlgorithm" into ics-mr1
e832b63c97c18c8170643c5a1c565e07893c5368 16-Nov-2011 Mangesh Ghiware <mghiware@google.com> Revert change to setInitialScale() to take display density into account.

Updated WebView documentation to clarify this behavior.

Additionally, if target-densityDpi is specified in the meta viewport
tag, update the display density in ZoomManager.

Bug: 5477652
Bug: 5327492
Change-Id: I176e87489f76a2ee6595d76a006e302b07595de1
/frameworks/base/core/java/android/webkit/WebSettings.java
5a1ef4132f93f57940a5cc49d32991674d014841 26-Oct-2011 John Reck <jreck@google.com> Undeprecate LayoutAlgorithm

Bug: 5533078
There is no alternative and this is still useful and used. It should
not have been deprecated.

Change-Id: I641026cf76ea87738909827b7c48a556d9021d11
/frameworks/base/core/java/android/webkit/WebSettings.java
bb99e28cd69c7a3ab355873130242373282295a5 21-Oct-2011 Mangesh Ghiware <mghiware@google.com> Fix issue# 5492404: Reading level check thread error.

Remove access to WebSettings from getReadingLevelScale() by saving the
double-tap zoom scale factor in ZoomManager. WebSettings can only be
accessed in the UI thread.

Change-Id: Ic7289bf3c14d800797f2e85546a088a9071e0468
/frameworks/base/core/java/android/webkit/WebSettings.java
edb528ef52fd9b0148d559c5e596cf9bb9a6d2f9 12-Oct-2011 Mangesh Ghiware <mghiware@google.com> Add setting for configuring zoom level on double-tap.

In overview mode, text wrap is done at reading level scale. If user
changes double-tap zoom in overview mode, reflow text at the new scale.
In any other mode, a double-tap will take user to overview mode, at
which point, the text will be reflowed at the updated reading level
scale.

Bug: 5312461
Change-Id: I29be34a32246019101a9a875e1758e22b5af2bd3
/frameworks/base/core/java/android/webkit/WebSettings.java
e00e8a78374cdcf01a25bd6327d2b94944b2bc3f 12-Sep-2011 Adam Powell <adamp@google.com> Pause WebKit drawing when WebView loses window focus.

This prevents animations and other live page content from consuming
too many resources while the user is interacting with a popup window.

Bug 5300522

Change-Id: I40fb6d16d56b540c431172052a1ae7fead7109be
/frameworks/base/core/java/android/webkit/WebSettings.java
872cf224f30c8d083f1f8f14633fa029c9d3866b 18-Aug-2011 Nicolas Roard <nicolasroard@google.com> Modify nativeSetProperty to return a boolean indicating if we
need to invalidate the content or not.

corresponding C++ CL: https://android-git.corp.google.com/g/#/c/129130/

bug:5167645
Change-Id: I48a3dd252e2a7ef24f3828e1e2955f86867423dd
/frameworks/base/core/java/android/webkit/WebSettings.java
ecfeebebfff639ba4b66a334bd46dc37b1ab25da 29-Jul-2011 Derek Sollenberger <djsollen@google.com> Merge "Add a runtime switch between Raster and Ganesh rendering modes."
637758940f784d5ec31b6c8eece022832ee705ce 15-Jul-2011 John Reck <jreck@google.com> Add a hidden generic property interface

Change-Id: Iff890d7802af00a80b0148c7cc3233c6fc4d5dad
/frameworks/base/core/java/android/webkit/WebSettings.java
1d335f30f208223a70ec3e38a881f509d0c0b5d8 08-Jul-2011 Derek Sollenberger <djsollen@google.com> Add a runtime switch between Raster and Ganesh rendering modes.

There are corresponding changes in:

external/webkit -- change ID: 120660
packages/apps/Browser -- change ID: 120664

bug: 5013645
Change-Id: I4fc8ca6735a06682671ee06378c738ccf172e576
/frameworks/base/core/java/android/webkit/WebSettings.java
caeb120170477f52516cd9d12469c582e7dec8fe 17-Jun-2011 John Reck <jreck@google.com> Make textZoom public

Deprecate textSize (enum based) in favor of textZoom (percentage based)

Change-Id: Ibb4c25b461bcb57e5c2cdf709485d255db20a43c
/frameworks/base/core/java/android/webkit/WebSettings.java
ff56bcde857c1ea15a9d4bc7fc10653c409b89bd 17-Jun-2011 John Reck <jreck@google.com> Add textZoom setting

Replaces the limited textSize (enum) with a more flexible
textZoom (percent)

Change-Id: I443757841910f5cbe1c9078166361d1686005f14
/frameworks/base/core/java/android/webkit/WebSettings.java
0fbf20703f02836073567e9ad3bae401be8b3efc 09-Jun-2011 Romain Guy <romainguy@android.com> am 34e9f249: am fbef58fa: am 258f32e2: Merge "Disable plugins if setPluginsEnabled(false) called."

* commit '34e9f249a9b36ebe64476b997bca0edf990fbc0d':
Disable plugins if setPluginsEnabled(false) called.
34e9f249a9b36ebe64476b997bca0edf990fbc0d 08-Jun-2011 Romain Guy <romainguy@android.com> am fbef58fa: am 258f32e2: Merge "Disable plugins if setPluginsEnabled(false) called."

* commit 'fbef58faad5a31faf36294e4d160cbd148ed5458':
Disable plugins if setPluginsEnabled(false) called.
29086e46bedc145ebd34dc99538f61af8a2cdc5a 02-Jun-2011 Tero Saarni <tero.saarni@gmail.com> Disable plugins if setPluginsEnabled(false) called.

Old deprecated method for enabling/disabling plugins was
ignoring flag parameter and causing plugins always to be loaded.
Fixes issue 17242.

Change-Id: I1da10a3ee7f3041e59b43641169c3935a05aa347
Signed-off-by: Tero Saarni <tero.saarni@gmail.com>
/frameworks/base/core/java/android/webkit/WebSettings.java
2221e34ba539c3dea16f48659afaf100ca0c477f 25-May-2011 John Reck <jreck@google.com> am 00bcea1a: am dc8a53a7: am 2959916b: Merge "Update the Desktop UA to Chrome" into honeycomb-mr2

* commit '00bcea1ac3be490e2730d15a6406541341dd3853':
Update the Desktop UA to Chrome
994156053b25ece9641f521dc9853975c1857c7d 24-May-2011 Shimeng (Simon) Wang <swang@google.com> Use fixed viewport for all devices in wide viewport mode.

This will simplify viewport logic; and currently Clank behaves
the same for phones.

issue: 4343683
Change-Id: Icddc23cd5b12f9820c611dbf66c9772f147baf4b
/frameworks/base/core/java/android/webkit/WebSettings.java
2959916b13165f56431f3993bd6b16364032af14 24-May-2011 John Reck <jreck@google.com> Merge "Update the Desktop UA to Chrome" into honeycomb-mr2
5443ba43bb55c1a3e6ed846d8b5e5b5aac7dbeb4 24-May-2011 John Reck <jreck@google.com> Update the Desktop UA to Chrome

Bug: 4347787

Change-Id: I5117c7dbd4e73c39ed417113f12b517de5411e81
/frameworks/base/core/java/android/webkit/WebSettings.java
3e1aecea2e1885eef9248906be4acc8ddb26607d 28-Apr-2011 John Reck <jreck@google.com> DO NOT MERGE Use previous version if version is a codename

When the version is reported as a codename, use the previous version
in the user agent string.
Bug: 4347787

Change-Id: I4ed804a7334d6ca242446176ff042c4ac7938a0f
/frameworks/base/core/java/android/webkit/WebSettings.java
fc77165d446520716f18cdc14e30b39a6d8b9bac 10-May-2011 Kristian Monsen <kristianm@google.com> Deprecating webkit API's that might not be supported in the future

Change-Id: I992ae207f29a95daff991768cc6fe190471978cd
/frameworks/base/core/java/android/webkit/WebSettings.java
f5577407899aeb75f1eb206ba762f5d63136d68d 28-Apr-2011 John Reck <jreck@google.com> Use previous version if version is a codename

When the version is reported as a codename, use the previous version
in the user agent string.
Bug: 4347787

Change-Id: Ie42a2fc2f21975b59ccac5547d813d3e777da468
/frameworks/base/core/java/android/webkit/WebSettings.java
7818aaa14a04661bdfd7019bdd1904c4383cd40f 27-Apr-2011 John Reck <jreck@google.com> Add support for force-enabling zoom

Adds an option in WebSettings that causes WebView to ignore the
user-scalable option on the viewport metatag

Change-Id: Ia850489811a6617a8c17ec6cb17e0a65400f55f0
/frameworks/base/core/java/android/webkit/WebSettings.java
f440831d76817e837164ca18c7705e81d2391f87 22-Mar-2011 Huahui Wu <hwu@google.com> DO NOT MERGE

b/4088884 Backport "Remove content:// protocol handler in web browser"
to Gingerbread

It's a manual cherrypick of
https://android-git.corp.google.com/g/#change,87278
since a lot has been changed in bettween.

Change-Id: Ic8e3a419571f535bf983f32cd02181ca66d19319
/frameworks/base/core/java/android/webkit/WebSettings.java
9f5f7af6ccaf14303c109bfd5b2605eac16c46c6 24-Feb-2011 Kristian Monsen <kristianm@google.com> Deprecating webkit API's that might not be supported in the future do not merge

Change-Id: I7ed9498a24aceee529397bbe1ed96a15f834b4eb
/frameworks/base/core/java/android/webkit/WebSettings.java
da7378e86e6d6e7522dfd1e83091545fa93aa84d 16-Feb-2011 Teng-Hui Zhu <ztenghui@google.com> Adding a debug setting to enable visual indicator for GL

[This is the WebView part]
The idea is to turn on the visual indicator without building the code.

The implementation included:
1. Setup the UI on browser side to check whether or not this is enabled.
2. Transfer the info from browser setting to web setting.
3. Send this info down from WebView to webkit.
4. In the webkit, we save this info in TilesManager.
5. At texture generation time, we query this info to decide whether or
not add the visual indicator on the texture.

One design decision we made is we don't want to restart the browser for
debugging purpose. This is better preserving the browser current activity,
the only pitfall is that the visual indicator is NOT updated on different
textures simultaneously.

The corresponding browser change is: #change,97058
The dependent webkit change is: #change,97052

bug:3458721

Change-Id: I34a0514048df61b414c3386b292f2586efbde74e
/frameworks/base/core/java/android/webkit/WebSettings.java
5840cd294ad791645c8960da35413f1da5950dca 21-Jan-2011 Michael Kolb <kolby@google.com> Add public API for on screen zoom controls

http://b/issue?id=3378224
This is a simple unhide.
Allow the use of WebView pinch-to-zoom gestures
without the on screen zoom controls.
Currently, enabling pinch to zoom with the public API also shows the
on screen zoom buttons.
If the zoom buttons are not wanted, a custom implementation of pinch to
zoom is required, which can't be done correctly at this point.

Change-Id: I3f94080471c3a4b498b11c91603fff9994dc3c2c
/frameworks/base/core/java/android/webkit/WebSettings.java
c40fc87147baffa2a71d66550a0f99ca2524f4b9 19-Jan-2011 Kristian Monsen <kristianm@google.com> Need to sync the cache settings to native side

Fix for cts tests

Change-Id: I554f1240c16b2c2e68810e54d0ff99d13288a6a8
/frameworks/base/core/java/android/webkit/WebSettings.java
4bd87d6e47cb8fe17d41d1ed9cc98fa68f1592a7 18-Jan-2011 Ben Murdoch <benm@google.com> Disable AutoFill in private browsing mode.

Ensure that WebKit knows that AutoFill is disabled when private
browsing is on.

Bug: 3335257
Change-Id: I8c3e45175211e5cb00605c1dbf974e513c582d8e
/frameworks/base/core/java/android/webkit/WebSettings.java
d1737edc13864b2304763167720b27b68791e25a 05-Jan-2011 Patrick Scott <phanna@android.com> Do not merge.

Cherry picked:

Add an api to toggle content url access.

By default, WebView allows access to content providers on the system. This
setting allows applications to turn off content urls.

Bug: 1196879
Change-Id: I49eaea6d7b9ccc3b3a4443d712222556087568c0
/frameworks/base/core/java/android/webkit/WebSettings.java
36fd7a39caafac26ea3d56ffc924bce0a53092f1 08-Jan-2011 John Reck <jreck@google.com> Tweak user agent building to avoid multiple spaces

Bug: 3211038
The building of the user agent could previously have multiple sequential
spaces. This was causing the CTS test to fail.

Change-Id: I13fc76ba6b97ee84dd44461b4d03b6ca70b48cdf
/frameworks/base/core/java/android/webkit/WebSettings.java
aa6b9f55d60702211dd2d08403c7296347f0bd7d 10-Jan-2011 Leon Scroggins <scroggo@google.com> Do not show autofill++ or saved form data in incognito mode.

Bug:2968399

Also do not save the form data in incognito mode.

Change-Id: Ice6a1cb3620b5cf272b6b361ce11f8abef269a89
/frameworks/base/core/java/android/webkit/WebSettings.java
2c782e3d537c8b5b5182647c36a91bfc601684e6 04-Jan-2011 Shimeng (Simon) Wang <swang@google.com> Refactor zoom overview width calculation.

Refactor zoom overview width calculation in FirstLayout and NewPicture;
also taking care of the case when wide viewport is not enabled.

This fixes the setInitialScale Cts test case, which is broken by some
scale related changed for fixed viewport browser.

issue: 3242034
Change-Id: Ie54d089763ee38029ef25e6029884a17c2135f97
/frameworks/base/core/java/android/webkit/WebSettings.java
637d337b58d8eec6de19230a5dd5ca5581c0478d 25-Aug-2010 Adam Powell <adamp@google.com> Merge overscrolling from gingerbread.

Change-Id: I3eb4413261b38ddd8c609d6153bdfd4ae46c6a0f
/frameworks/base/core/java/android/webkit/WebSettings.java
57914381a80c9f19cf5227b4af9e822fa0c74ea9 16-Nov-2010 Ben Murdoch <benm@google.com> Offer the user the option to configure an AutoFill profile.

When the user selects a form field that is part of a form that can
be autofilled, inform the embedder that this is the case to give
them the opportunity to configure a profile if they the user has
not done so already. A Message is also provided
to the embedder that when sent will trigger the form to be filled
with the profile that the embedder set up.

Change-Id: Ica995e5b1ed92a3ec3e356401b261740d9f90e57
/frameworks/base/core/java/android/webkit/WebSettings.java
096fbe0583fec1fe5598a77f68f6c8185af655cb 20-Nov-2010 Bart Sears <bsears@google.com> Make sure we have a ";" after locale in User Agent

When in pre-release mode, we did not have a semi-colon between
the locale (i.e. "en-us") and the the Build (i.e. "Build/HRH50")

In release mode we correctly added the semi-colon (and put in
the "model") so this was only an issue when in pre-release mode.

Bug: 3215465
Change-Id: Ied1acc69463ffddabbc886e7e7e5e8cc8ab14956
/frameworks/base/core/java/android/webkit/WebSettings.java
28c742573ccaeb55c16bc02fb25fdd86b8d1f76a 04-Nov-2010 Jesse Wilson <jessewilson@google.com> Add @Deprecated to match @deprecated where it's missing.

Change-Id: Ice95022671968386a601f32df7850f9baa1d2dd0
/frameworks/base/core/java/android/webkit/WebSettings.java
c55886aee84034f7fcf4431fdbeeaff1a9eafbd9 28-Oct-2010 Shimeng (Simon) Wang <swang@google.com> Stabilize reflow, aka, the fit-to-screen option in settings.

This change is only for tablet device which has large screen and
good for fixed viewport.

The reflow will only happen in first layout and double tap if the
text wrap scale is not desired.

The initial text wrap scale is set to the reading level, so that if
the web page is in overview mode, after a double tap, the text will
be nicely shown full screen without any reflow.

All the previous reflowing, such as done when zoomed out, are disabled for
tablet device.

issue: 3003933
Change-Id: I8f460704bb27c50d6f5fa259ca2d5007648adfba
/frameworks/base/core/java/android/webkit/WebSettings.java
b1b82a8df848a374a7a64189f1cb57400c223282 20-Oct-2010 Ben Murdoch <benm@google.com> Set the unique id of the AutoFill profile WebKit can read it

After the recent Chromium merge to 7.0.540.0, it seems that we are no
longer allowed to use a profile unique id of 0. Set the unique id
in the AutoFillProfile class so that WebKit can access it.

Change-Id: I88cd1e91b8c6043c732a1709a89fda4a3c9f921f
/frameworks/base/core/java/android/webkit/WebSettings.java
c42f8b833241162968c5dbdedc18859908730823 14-Oct-2010 Shimeng (Simon) Wang <swang@google.com> Remove not-used code.

issue: 3003933
Change-Id: I3221fb253fe6fbfe9e24368426d7e4a2c1e3502b
/frameworks/base/core/java/android/webkit/WebSettings.java
cf30872b01d95a15dd10f44e1c551aa6a4ad817b 13-Oct-2010 Ben Murdoch <benm@google.com> Add support for the complete set of AutoFill profile data.

Change-Id: Iff5b48e732acb16281b9795f1f08b08d24b16cbe
/frameworks/base/core/java/android/webkit/WebSettings.java
e9e3ccd10db7d4793ae046a751f68791da0e6edb 06-Oct-2010 Ben Murdoch <benm@google.com> Sync autofill profile data to native WebKit

Add the necessary plumbing to send the currently active
AutoFill profile data from Java to native.

Requires a corresponding change in external/webkit.

Change-Id: I45770e36f09093fb891c3aa9cac4a8b8a8a6161c
/frameworks/base/core/java/android/webkit/WebSettings.java
4243a3a6ed571b17668a3caca7a535508893501f 05-Oct-2010 Patrick Scott <phanna@android.com> Add postSync so that the chrome stack has access.

Bug: 3053149
Change-Id: I75f5422afcacf4ae70a2aa26188446251d7f84da
/frameworks/base/core/java/android/webkit/WebSettings.java
f39b2cfadba27c0fd18eaf41127dc9fd59e1a2ed 09-Sep-2010 Ben Murdoch <benm@google.com> Make autofill a webview preference

Change-Id: I2bed0612ad6381dd4c6aedf4af8740fac33748c7
/frameworks/base/core/java/android/webkit/WebSettings.java
a2ded6ca77af8d3614e344879ab232db73c3e71d 17-Sep-2010 Shimeng (Simon) Wang <swang@google.com> Use dimension value instead of fixed constant in code.

issue: 3003933
Change-Id: Iab802ccfb9a3d8c16f8884c433987c4a730f713c
/frameworks/base/core/java/android/webkit/WebSettings.java
14bcc0e7fe4e2cfddb0d98079ec0fbdbe33c5e87 17-Sep-2010 Shimeng (Simon) Wang <swang@google.com> Use website preferred width as the fixed viewport.

This preferred width will be set between the default viewport width and
the max fixed viewport width. The default viewport width serves as the
minimum fixed viewport width, so it's lowered to 980.

This change will make the shirt.woot.com/blog site works better, since it's using
1080 as the preferred width, so user needs not to scroll in overview mode.

issue: 3003933
Change-Id: Ie3eed44a54d277f5bc5f63cd394d463012a80d80
/frameworks/base/core/java/android/webkit/WebSettings.java
6fe3b421fdc5b109cbf9006f44c9f089224a817d 19-Aug-2010 Michael Kolb <kolby@google.com> Add setting for on screen zoom buttons
enables to use pinch to zoom without
showing the on screen buttons

Change-Id: Ifd08d11232e2a32178a89e559b6f1f645bf627b9
/frameworks/base/core/java/android/webkit/WebSettings.java
9dc2e75e2720a8d0a5d7b87be53300eac021a3f3 02-Sep-2010 Jason Chen <jasonchen@google.com> Add Deprecated annotation to getPluginsPath/setPluginsPath

Javadoc annotations aren't enough to properly mark an API
as deprecated. This change adds the @Deprecated annotation
to the source and updates current.xml.

Change-Id: I04a398fc04ad99979c674789af5af994fbd25be0
/frameworks/base/core/java/android/webkit/WebSettings.java
b766ab830a714c0b79f64265e681f454865ffe65 02-Sep-2010 Jason Chen <jasonchen@google.com> DO NOT MERGE Add deprecated annotation to get/set PluginsPath and update current.xml

Previous changes only added javadoc annotation, but didn't apply
annotation to the source. Fixing this and updating current.xml.

Change-Id: I52aabd6485a3972fc360f24c2e86cc342a5101ab
/frameworks/base/core/java/android/webkit/WebSettings.java
edb3211c85f919b719cdec72922bceb476941dd3 01-Sep-2010 Derek Sollenberger <djsollen@google.com> am 27c6f7d4: am 1614843e: Merge "Fix invalid comment in WebSettings." into gingerbread

Merge commit '27c6f7d44c592ab8685b93a2ec30a74d594c822d'

* commit '27c6f7d44c592ab8685b93a2ec30a74d594c822d':
Fix invalid comment in WebSettings.
fdbdeb3137a6b47527d1d714afbb7e1b19b474ec 12-Aug-2010 Derek Sollenberger <djsollen@google.com> Fix invalid comment in WebSettings.

The get/set for the pluginPath is leftover from the Gear's plugin
and is no longer useful now that plugins are loaded from their
own APK using the package manager. These methods were modified to
be no-ops in froyo, but the documentation was never completed.

Change-Id: I20f6593445d877a3dae9b9f51d5198a3509255d6
http://b/2811032
/frameworks/base/core/java/android/webkit/WebSettings.java
6c43d5231d40f55ef9cc1e9803431a8fc5523fcc 31-Aug-2010 Cary Clark <cary@android.com> add web setting for enabling/disabling synthetic links

According to this feature request

http://b/1865484

Some webviews wish to load pages and ignore the
email, phone, and postal addresses. Add a way
to specify that preference to the WebView class.

Change-Id: I6c077c6704e821206a8d653cce4036cecfba2e54
/frameworks/base/core/java/android/webkit/WebSettings.java
0a77ce277c6ed2aa25bbea5f8cd5687c0720cb68 25-Aug-2010 Adam Powell <adamp@google.com> New edge effects for scrolling widgets (overscroll)

TODO: Currently disabled for WebView. Assets used for the glow effect
need to be themable/styleable. Overscroll effect should take place
even when the user did not grab the widget within actual content.

Change-Id: I68277d14d37dc5bcdb9254eaddf6e4998b3f2bf4
/frameworks/base/core/java/android/webkit/WebSettings.java
c1cba781d37910e61591cffda50633f1db6cc4ea 17-Aug-2010 Shimeng (Simon) Wang <swang@google.com> Use fixed viewpport for tablet device.

This makes the zoom animation much more smooth. With previous dynamic
viewport, the animation jumps because of viewport adjustment and big
screen.

Also the viewport width is changed from 800 to 1040 to better suit
the tablet device. It's the middle point of 1280 and 800.

The text reflow re-alignment for non-double-tap zoom is disabled for
tablet, since most of the time the reflow has no effect.

issue: 2919307
Change-Id: I74493df6408291c24ef8511512d7ed0b81bf507a
/frameworks/base/core/java/android/webkit/WebSettings.java
f21d2e305961b0df4d1c3d5d45a3ff7723b293af 15-Jul-2010 Elliott Slaughter <eds@google.com> Initial work on browser incognito mode history feature.

Change-Id: I050edf263d5c4ee0c0373692e267d7e19f47ba1b
/frameworks/base/core/java/android/webkit/WebSettings.java
37b64de6bcd0013856954c5f9c847feb81618f7f 01-Jul-2010 Michael Kolb <kolby@google.com> moved target_content user agent parameter to strings
added target content parameter for xlarge screen configuration

Change-Id: I27d252167d4011beec3784addaa548193ba9e20c
/frameworks/base/core/java/android/webkit/WebSettings.java
a172e7d0d96e4a4db5e2b408e8ee3e96948df9a4 30-Jun-2010 Michael Kolb <kolby@google.com> user agent string change: remove "Mobile" for large screen configuration

bug: http://b/issue?id=2778676

Change-Id: I268d8c0f8834bdbd099d59fdbc462da26234241a
/frameworks/base/core/java/android/webkit/WebSettings.java
f0785a66f0e8447c30f47a760905bc74644f5c10 25-Jun-2010 Cary Clark <cary@android.com> set maximum image size

Our use of web settings does not specify the maximum image size,
although we have some hard-coded values used when decoding the
image. For defective images, the hard-coded values are not enough,
since we may exceed memory in the decoder before the limit is
reached.

Pass along our limits to the decoder, and respect any limits
set by the caller.

companion change in external/webkit

Change-Id: Iabd78165390dddce917f637bd3263b83f9b4aa56
http://b/2689053
/frameworks/base/core/java/android/webkit/WebSettings.java
be1304f0c2c96be1876c2bd38d319f46e135536f 23-Jun-2010 Elliott Slaughter <eds@google.com> Tweak fix for setXSSAuditorEnabled in LayoutTestController.

Change-Id: Iba9b67da8628e3880e8f6b18d2dc51337b9c58fb
/frameworks/base/core/java/android/webkit/WebSettings.java
5dc0c8253b368239a90d7176ff6325ae5ba371b3 22-Jun-2010 Elliott Slaughter <eds@google.com> Add setXSSAuditorEnabled support in WebSettings.

Change-Id: I6f74589b28960b91093acf8219a55e98f93b1881
/frameworks/base/core/java/android/webkit/WebSettings.java
f9b731d383790e0dfd407525efcd72bba4ee4895 22-Jun-2010 Grace Kloba <klobag@google.com> Add a WebSettings to control whether WebView will
use some perf trick, e.g. pause updating the picture,
during panning and zooming transition.

Fix http://b/issue?id=2784020
/frameworks/base/core/java/android/webkit/WebSettings.java
178db41234abd08925fea9a4dc5180218f7da737 19-May-2010 Grace Kloba <klobag@google.com> Experimental feature: use WebKit to find out the selection
highlight.

The new setting, supportTouchOnly(), is currently not
fully implemented. It is overloaded with mLightTouchEnabled
for short term testing. To test the feature, please
use the "Enable Light Touch" in the debug settings.

When supportTouchOnly is true, we are not using nav
cache to display the yellow ring. Instead we show
the gray rectangle(s) based on the calculation from
WebKit. When short press happens, we current use 0
for mMoveGeneration so that it will trigger WebKit
to use the same point when it calculates the highlight.

If you turn on NavDump in the debug settings, it will
also draw the fat point where you tap on the screen.

Known issues, it is not fully synced with IME. If you
tap a text input box also in focus, the yellow ring
will show up. If you leave the text input field, the
IME is not dismissed. If this passes the user tests,
we will make a special mode and fix all these issues.

There is another matching CL in external/webkit
/frameworks/base/core/java/android/webkit/WebSettings.java
0e4cb9d89fe58b378d94c87f182aaaef9d6a6d60 15-Apr-2010 Shimeng (Simon) Wang <swang@google.com> Convert obsolete language codes to new standards in Accept-Language and User-Agent.

Bug:2593415
Change-Id: I6b0bd161a0a2222da6ab7812614c1ba03d8c22eb
/frameworks/base/core/java/android/webkit/WebSettings.java
9d32d24dbd8a015c9d5c44ed4901d5a666eb8e7f 30-Mar-2010 Adam Powell <adamp@google.com> Remove overscrolling

Change-Id: I7e9db8d8a9b8ef67f0c0c82bf57c9155b7ebabea
/frameworks/base/core/java/android/webkit/WebSettings.java
300f2e95a4cecebb80c2c55418745df5c0c2fb6c 22-Mar-2010 Patrick Scott <phanna@android.com> Add on-demand setting for plugins.

Deprecate the old apis for enabling plugins in favor of the multi-state plugin
flag. Add the assets for WebView to display the plugin placeholder for on-demand
plugins.

Bug: 2411524
Change-Id: I5a35cc6d0afced1489f54d4dcb8bb92d36de52d8
/frameworks/base/core/java/android/webkit/WebSettings.java
f4418b0113ff63c82348844f4c945c81aa9157ad 19-Mar-2010 Grace Kloba <klobag@google.com> Change api for webview overscroll background.
/frameworks/base/core/java/android/webkit/WebSettings.java
2d17e1d212ed88fdeca4b27bf04c17c56bd5dee1 09-Mar-2010 Grace Kloba <klobag@google.com> Add an api to set WebView over scroll background.

If the WebView doesn't support zoom, or WebView does
not use wide viewport and horizontal is just fit,
don't do over scroll.

Fix http://b/issue?id=2498403
Fix http://b/issue?id=2497901
/frameworks/base/core/java/android/webkit/WebSettings.java
18773afa64d407ebdd4bfc7bc151497d4447884d 25-Feb-2010 Ben Murdoch <benm@google.com> Keep track of when the HTML5 database path has been set, so that we don't inadvertantly sync it to the native side before it
has been set by the client.

Change-Id: Idcf604060e5208ec28610dd13e9858adcf44165e
/frameworks/base/core/java/android/webkit/WebSettings.java
f43113f6216efacc3957fc48d9fa1c0326facceb 18-Feb-2010 Patrick Scott <phanna@android.com> Unhide setBlockNetworkLoads.

Blocking network images is not as secure as completely blocking network loads.
Leave setBlockNetworkImage so clients can reduce bandwidth by disabling remote
images. This will allow file:// and content:// URIs to load.
/frameworks/base/core/java/android/webkit/WebSettings.java
18e939623556928f73fcc7511c85a537929a4a7e 11-Feb-2010 Dan Egnor <egnor@google.com> Eliminate dependencies on Checkin, replacing checkin events with EventLog
events (and in one case, a DropBox entry).

Add a simple intent that triggers master-clear (and toggle EFS), given the
right permissions.

Bug: 2264596
Bug: 2350452
Bug: 2264596
/frameworks/base/core/java/android/webkit/WebSettings.java
91f2a20a5957095a6cba9f97326ea0f1eab17195 09-Feb-2010 Bjorn Bringert <bringert@android.com> Add content provider for browser geolocation permissions

This replaces the old Google-specific geolocation setting.

Fixes http://b/issue?id=2428694
Part of http://b/issue?id=2383870

Change-Id: I6308b476ad18b1d71d7438b936c592a45365c9f0
/frameworks/base/core/java/android/webkit/WebSettings.java
3a0def280fa4f6306929910a414b41ae58a7d139 24-Jan-2010 Grace Kloba <klobag@google.com> Manual merge pinch zoom from Eclair to Master.

Too many conflicts which prevent me to use git cherry-pick.
Merge based on the source diff.

WebSettings.java
https://android-git.corp.google.com/w/?p=platform/frameworks/base.git;a=commitdiff;h=5f01d7e268167c5cfb3366ce08e20a66d9b6fa6f

WebView.java (excl. drag tracker changes)
https://android-git.corp.google.com/w/?p=platform/frameworks/base.git;a=blobdiff;f=core/java/android/webkit/WebView.java;h=ab1841e140d72c22885512722cf1b75925bb8747;hp=ed1a98ae2d9321a483f6f8fa97b29b78121e94a7;hb=eclair;hpb=db08d5cd441424e4f9621aae7c2414934f781400

WebViewCore.java
https://android-git.corp.google.com/w/?p=platform/frameworks/base.git;a=blobdiff;f=core/java/android/webkit/WebViewCore.java;h=8ac915c556e3461f3c572c3a68d191ca1fecfee7;hp=a5a48527a389609e40da14ecad8c12dd8377cfaf;hb=eclair;hpb=dafc19a1406bdd554fb4629d79c8aa4d75aca363
/frameworks/base/core/java/android/webkit/WebSettings.java
097b1e777a2a29eef3938338cb0c355203bf1448 24-Nov-2009 Grace Kloba <klobag@google.com> Add PageCacheCapacity to the WebSettings.

By default, page cache is disabled.

http://b/issue?id=2284168
/frameworks/base/core/java/android/webkit/WebSettings.java
d9e22ed8fe08c8c9fcf5c47a6b25d335a3158056 07-Nov-2009 Grace Kloba <klobag@google.com> am 0691ad50: Remove "@hide pending API council" in webkit to expose the apis to SDK.

Merge commit '0691ad50ca6b7a2968a0b95e1e9bb7228dd47d65' into eclair-mr2

* commit '0691ad50ca6b7a2968a0b95e1e9bb7228dd47d65':
Remove "@hide pending API council" in webkit to expose
0691ad50ca6b7a2968a0b95e1e9bb7228dd47d65 22-Oct-2009 Grace Kloba <klobag@google.com> Remove "@hide pending API council" in webkit to expose
the apis to SDK.

Remove @hide in GeolocationPermissions and WebStorage
to expose them to the SDK users.

Remove @hide for freeMemory() in WebView.

Remove @hide comment in CallbackProxy and
GoogleLocationSettingManager as they are not public class.
/frameworks/base/core/java/android/webkit/WebSettings.java
8f5e405f60e3816f61549783782d9bf0d9d4d199 06-Oct-2009 Grace Kloba <klobag@google.com> mGeolocationDatabasePath needs to compare mGeolocationDatabasePath
/frameworks/base/core/java/android/webkit/WebSettings.java
2e4dbe70e7c0fe003dab0837fd1dba2703bdd6e2 30-Sep-2009 Mike LeBeau <mlebeau@android.com> Unhide APIs for enabling geolocation in web views. I've confirmed
with Grace that these are okay to unhide.
/frameworks/base/core/java/android/webkit/WebSettings.java
dee76be487fcdc975877f85221a693b87b9669a7 22-Sep-2009 Andrei Popescu <andreip@google.com> Fix for 2122292: make sure we unregister the ContentObserver for the system location settings. Also make the GoogleLocationManager use the singleton pattern correctly.
/frameworks/base/core/java/android/webkit/WebSettings.java
24a3ff958b87550904a71961835f6883d1411c27 22-Sep-2009 Grace Kloba <klobag@google.com> Change double tap toast to long toast.

Change toast count to static to cross all the windows.

It should be --count instead of count--.
/frameworks/base/core/java/android/webkit/WebSettings.java
f8d8b46a2c684d51cd661a9d479dd895420a90b2 21-Sep-2009 Grace Kloba <klobag@google.com> Add a tip toast for double tap.

Fix http://b/issue?id=2059934
/frameworks/base/core/java/android/webkit/WebSettings.java
f8d4964e45f7e671f4b333386b4269b23ced4750 08-Sep-2009 Cary Clark <cary@android.com> default overview mode to false in webkit

Browser defaults overview mode to true in BrowserSettings.java,
but a WebView should default overview mode to false. This permits
applications without zoom interfaces, such as HTMLViewer, to
have the same interface as before.
/frameworks/base/core/java/android/webkit/WebSettings.java
ce761d3219d1a091e6177ff852d9f0636777f04f 28-Aug-2009 Grace Kloba <klobag@google.com> Only add model in the UA for the release build
/frameworks/base/core/java/android/webkit/WebSettings.java
09b0ca1ceefde02b9ed50dc4dd12774ba569143f 26-Aug-2009 Steve Block <steveblock@google.com> Sets default value of 'enableGeolocation' to true. This allows WebKit's DumpRenderTree to function correctly. Note that when Geolocation is used in the browser, this default value is overridden by the browser's default anyway.
/frameworks/base/core/java/android/webkit/WebSettings.java
d875ce6dac3c2e9a671c121c80b40d2536cbb2af 24-Aug-2009 Steve Block <steveblock@google.com> Sets or clears Geolocation permissions for Google origins when the 'Location & privacy - Share with Google' sysetm setting is changed.

This fixes bug http://b/issue?id=1933893
/frameworks/base/core/java/android/webkit/WebSettings.java
9d3273f62288fa54536a3928383588398ca2d029 21-Aug-2009 Steve Block <steveblock@google.com> Java-side changes to persist Geolocation permissions between browser sessions.

This fixes bug http://b/issue?id=2054365.
/frameworks/base/core/java/android/webkit/WebSettings.java
06cd751b052e65c359b16cce0570b6fab305eb89 21-Aug-2009 Steve Block <steveblock@google.com> Adds Java-side of logic to make Geolocation obey Browser 'Enable Location' setting.

This fixes bug http://b/issue?id=2067559.
/frameworks/base/core/java/android/webkit/WebSettings.java
e397a88e4fd65ee7d346f63a43e6608dba943ee9 06-Aug-2009 Grace Kloba <klobag@google.com> Couple of tuning for the Browser zoom.

1. Added a setting to control whether a page is loaded with overview mode;
2. If there is no viewport metag tag, a page will be loaded in the viewport
at least 800px wide.
3. When we adjust zoom scale in the overview mode, don't use animation.
4. When zoom out to close to min zoom scale, switch to overview mode. So double
tap will always have visual feedback unless it is mobile site.
/frameworks/base/core/java/android/webkit/WebSettings.java
c27a9acb3b7ec4d1845b623cc167e0b62b1d0585 03-Aug-2009 Andrei Popescu <andreip@google.com> Enable workers for v8
/frameworks/base/core/java/android/webkit/WebSettings.java
1c829208eadf175ad4600e70a14013b50a20adfe 22-Jul-2009 Andrei Popescu <andreip@google.com> Enforce app cache maximum size
/frameworks/base/core/java/android/webkit/WebSettings.java
972acd0c339db4b6a72c307ae0a0b2b5405376db 10-Jul-2009 Andrei Popescu <andreip@google.com> Undo the changes accidentally merged from Donut
/frameworks/base/core/java/android/webkit/WebSettings.java
ec696c0115bbc915417bd76af6432bc603b680d2 09-Jul-2009 Grace Kloba <klobag@google.com> Fix the build. Remove mPluginsPath as it is not used in the master any more.
/frameworks/base/core/java/android/webkit/WebSettings.java
a5f451f3aec0946360b8bf116c0b83955f2e6d79 09-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> am 3bb69233: Merge change 6620 into donut

Merge commit '3bb692338fed7f34f010398fe8b831d0de22c6e8'

* commit '3bb692338fed7f34f010398fe8b831d0de22c6e8':
Keep Gears permissions in sync with system location settings.
215a23654ad6dfcc231793e5fab21e9f71ca374d 08-Jul-2009 Andrei Popescu <andreip@google.com> Keep Gears permissions in sync with system location settings.
/frameworks/base/core/java/android/webkit/WebSettings.java
b4f33445b8106f550ade837362c678cf9de2ecd2 26-Jun-2009 Grace Kloba <klobag@google.com> Update WebKit user agent.
/frameworks/base/core/java/android/webkit/WebSettings.java
d1ebf538a9f475ef9ac34480ef7ce742454bc899 25-Jun-2009 Grace Kloba <klobag@google.com> resolved conflicts for merge of 0d8b77c2 to master
0d8b77c2453d0e597f94e39212e4bfeed8affffa 25-Jun-2009 Grace Kloba <klobag@google.com> Add ZoomDensity so that we can change the desired default scale.

Fix a bug where we didn't adjust the viewport scale according to our density.
/frameworks/base/core/java/android/webkit/WebSettings.java
274680d9b8fce08f31c23dda796ecec937c942de 28-May-2009 Ben Murdoch <benm@google.com> Add support for toggling DOM Storage support on and off.
/frameworks/base/core/java/android/webkit/WebSettings.java
2e5c150e746647a1ce5c10e1708debbf06c45ea7 03-Jun-2009 Derek Sollenberger <djsollen@google.com> Centralized debug flags and enabled more granular control of debug settings.
/frameworks/base/core/java/android/webkit/WebSettings.java
cc77c6bd6f2adf0ee26480deb1ff8923a7bfa891 25-May-2009 Romain Guy <romainguy@android.com> am ff686ce1: Change when gestures listeners are fired.

Merge commit 'ff686ce11e952a9001b1384d8e7d82127b0529a2'

* commit 'ff686ce11e952a9001b1384d8e7d82127b0529a2':
Change when gestures listeners are fired.
Manual merge from cupcake_dcm. internal CL#148693. Two donottranslate.xml-s are already submitted.
c27d9b5341b29c1b58c882f0a04b4c519d8a9853 25-May-2009 Daisuke Miyakawa <dmiyakawa@google.com> Manual merge from cupcake_dcm. internal CL#148693. Two donottranslate.xml-s are already submitted.
/frameworks/base/core/java/android/webkit/WebSettings.java
658ab7d787f64987d7c45aae08e5a12a073afe78 14-May-2009 Grace Kloba <klobag@google.com> Added PluginManager to handle getting all the plugin directories from PackageManager.

Deprecated the old api to set a single plugin path.
/frameworks/base/core/java/android/webkit/WebSettings.java
11e8fe5a7208c9cd6afc2a0373761ae506d7707f 11-May-2009 Nicolas Roard <nicolasroard@google.com> Add modifications to handle the WebStorage settings + the WebStorage bridge native functions
/frameworks/base/core/java/android/webkit/WebSettings.java
7df1985e86635af006be3dfa65987d60e290b5de 22-Apr-2009 Ben Murdoch <benm@google.com> Merges p9 CLs 144856 and 145055 to GIT to enable the Database API in the browser.
/frameworks/base/core/java/android/webkit/WebSettings.java
74008f608af0c567456d37e63d48643689388c74 23-Apr-2009 Jean-Baptiste Queru <jbq@google.com> Merge donut into master
60a9a7d05577a65c8904fcb5f32b6a7a10886a13 17-Apr-2009 Andrei Popescu <andreip@google.com> Enable Application Caches.
/frameworks/base/core/java/android/webkit/WebSettings.java
42bc2ff5d2e3a10ab6c1fb1e716a124f2b446dbc 14-Apr-2009 Dave Bort <dbort@android.com> Remove references to android.util.Config

The semantics of Config.DEBUG will be changing soon, and all other
Config.* fields will become deprecated/hidden.

BUG=1780938
/frameworks/base/core/java/android/webkit/WebSettings.java
e1861133d51b9e6a6f658eb366630ad4f4d3ff8f 27-Mar-2009 The Android Open Source Project <initial-contribution@android.com> Merge commit 'korg/cupcake'

Conflicts:
core/java/android/webkit/WebView.java
core/java/android/widget/TwoLineListItem.java
preloaded-classes
105925376f8d0f6b318c9938c7b83ef7fef094da 19-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake_rel/...@140373
/frameworks/base/core/java/android/webkit/WebSettings.java
2a73de7b21a89aa2ba4c254d28658b49793425b2 18-Mar-2009 Jean-Baptiste Queru <jbq@google.com> Merge commit 'remotes/korg/cupcake' into merge

Conflicts:
core/java/android/view/animation/TranslateAnimation.java
core/jni/Android.mk
core/res/res/values-en-rGB/strings.xml
libs/audioflinger/AudioFlinger.cpp
libs/surfaceflinger/LayerScreenshot.cpp
packages/SettingsProvider/src/com/android/providers/settings/SettingsProvider.java
c39a6e0c51e182338deb8b63d07933b585134929 11-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@137873
/frameworks/base/core/java/android/webkit/WebSettings.java
9066cfe9886ac131c34d59ed0e2d287b0e3c0087 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/frameworks/base/core/java/android/webkit/WebSettings.java
d83a98f4ce9cfa908f5c54bbd70f03eec07e7553 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/frameworks/base/core/java/android/webkit/WebSettings.java
15ab3eae2ec3d73b3e8aa60b33ae41445bf83f4b 20-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@132569
/frameworks/base/core/java/android/webkit/WebSettings.java
d24b8183b93e781080b2c16c487e60d51c12da31 11-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@130745
/frameworks/base/core/java/android/webkit/WebSettings.java
adcd2ed8d24deddee528e96260d0ed673eeb261c 21-Jan-2009 Mike Hearn <hearn@google.com> Add some documentation to WebView, WebSettings and CookieSyncManager.
Double-tree rendering is deprecated.
/frameworks/base/core/java/android/webkit/WebSettings.java
f013e1afd1e68af5e3b868c26a653bbfb39538f8 18-Dec-2008 The Android Open Source Project <initial-contribution@android.com> Code drop from //branches/cupcake/...@124589
/frameworks/base/core/java/android/webkit/WebSettings.java
54b6cfa9a9e5b861a9930af873580d6dc20f773c 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
/frameworks/base/core/java/android/webkit/WebSettings.java