History log of /frameworks/base/core/java/android/webkit/WebChromeClient.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
4961105a7d01c1c50804b064c76d00cacbdb83f2 23-Jul-2015 Tim Volodine <timvolodine@google.com> Revert "Invoke geolocation permissions callback with denied state by default."

This reverts commit 954d1333c478d4dba6c9a0536510da4fd94c0622.

The revert is due to apps calling super.onGeolocationPermissionsShowPrompt see b/22685046

Bug: 22685046
Change-Id: I2a9f42b432a010828a0cafaee064480bb0f91cbe
(cherry picked from commit 0bb7d2e46710932d09688a18d4c5836f9b1413a5)
/frameworks/base/core/java/android/webkit/WebChromeClient.java
954d1333c478d4dba6c9a0536510da4fd94c0622 24-Mar-2015 Tim Volodine <timvolodine@google.com> Invoke geolocation permissions callback with denied state by default.

For apps that use WebView but don't override
WebChromeClient.onGeolocationPermissionsShowPrompt the callback should
be invoked with allow set to false by default. This ensures that
the error handler callback in JavaScript is invoked in this case (with
the "User denied Geolocation" error). Currently no callbacks are invoked
at all by default (see http://crbug.com/470500).

Change-Id: I49664906b8cfa6910106c8da1b21b99628adacfc
/frameworks/base/core/java/android/webkit/WebChromeClient.java
7a4e18f8b8dfc09294566362fba345ec9d9f4500 29-Dec-2014 Ignacio Solla <igsolla@google.com> [WebView] Improve documentation around full screen mode.

onShowCustomView and onHideCustomView are only used for full screen
support so we make that more explicit now (perhaps we should consider
rename and deprecate).

In M40 the WebView will also support full screen for non <video>
elements so we also consider that use case.

Change-Id: Ie4e245defbdd3e53bff98ac73305dd5e5e46334c
/frameworks/base/core/java/android/webkit/WebChromeClient.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/WebChromeClient.java
e8df27aec8367f8718c03059af679049fc522d9c 02-Sep-2014 Tao Bai <michaelbai@google.com> Revise createIntent and parseResult API.

- Both are move to FileChooserParams, remove UploadHelper class.
- createIntent only handls non-capture intents
- parseResult is the static member of FileChooseParams and should
be used with createIntent.

BUG:17253647,16624450

Change-Id: I81cac7c1b739880db4e4c1f2b4612ed2ee87cb1b
/frameworks/base/core/java/android/webkit/WebChromeClient.java
17d1adb1835754e5ed015372027cbfa914fd4d31 27-Aug-2014 Selim Gurun <sgurun@google.com> Address API Feedback

Bug: 17253647

This is Part I of API feedback. It does not address portions
of the feedback that is still pending a response from API council.

Change-Id: I6ae250c6455a5545912623aeb34332d564fffde7
/frameworks/base/core/java/android/webkit/WebChromeClient.java
48f6c4506919c7f5ba1834bbf18eec025cb713ca 19-Jul-2014 Selim Gurun <sgurun@google.com> Address API review

Bug: 16403458

Address API review. This change updates the FileChooser api. The
largest change is, as requested by API council, providing a helper
to reduce the code app developers need to implement. This
change does not include the CookieManager changes that was requested.

Change-Id: I30d75f36df6bc96d9842b63fdd25c4ff62aee5bb
/frameworks/base/core/java/android/webkit/WebChromeClient.java
2871febb19c02c2d11c0aa3835e884361e60c580 16-Jul-2014 Tao Bai <michaelbai@google.com> WebView permission change

As requested by API council, the following were changed
- Changed the PermissionRequest to abstract.
- Used String for resources instead of long.
- Also remove the WebView.preauthorizePermission() which we didn't think

BUG: 15432556
Change-Id: I900a98b4e0288d2bcd8faf0bbcd84970600548a5
/frameworks/base/core/java/android/webkit/WebChromeClient.java
1b6e10bccae4fd1a2457fed5d12663ba3a37fc79 16-Jun-2014 Selim Gurun <sgurun@google.com> Unhide the file API

Bug: 6930981
Change-Id: I4818d5dff3cb05b38e4d8f9f817e4fcdeade7f00
/frameworks/base/core/java/android/webkit/WebChromeClient.java
3a5cf3876cc63a24a488ba89ed4655dccc81d7a9 28-Jul-2013 Jonathan Dixon <joth@google.com> Add WebChromeClient.showFileChooser

Bug: 6930981

This replaces the never-published openFileChooser, and is more future
extensible.
Currently hidden; will unhide once working end to end and tested.

Change-Id: Ie66750be37e5b90e4a411cec76278369dc8dabe8
/frameworks/base/core/java/android/webkit/WebChromeClient.java
fa1fd2cb7d1bfcf17a02b926b3dfc2eefe5b9461 30-Apr-2014 Tao Bai <michaelbai@google.com> Public WebView permission API

BUG: 13699047
Change-Id: Ibcc8c0d4f1bba4365cb71c1991a0fcb1d7febb94
/frameworks/base/core/java/android/webkit/WebChromeClient.java
4c22b547761fad31755b76e2fb4fc2c369d61a46 15-Apr-2014 Tao Bai <michaelbai@google.com> Revert "Revert "Define new general permission APIs for webview.""

This reverts commit e0a7b08d369e323f524251a44251c902122a6414.

Change-Id: Ieba5a72524e43eb5e2fccb39647fd11e9d9494c8
/frameworks/base/core/java/android/webkit/WebChromeClient.java
e0a7b08d369e323f524251a44251c902122a6414 15-Apr-2014 Tao Bai <michaelbai@google.com> Revert "Define new general permission APIs for webview."

This reverts commit 672b99c8f80177784053074d178fdea6750e82df.

Change-Id: I486b313b8cd638d5e29e2f022bba99b570a9415f
/frameworks/base/core/java/android/webkit/WebChromeClient.java
672b99c8f80177784053074d178fdea6750e82df 29-Mar-2014 Tao Bai <michaelbai@google.com> Define new general permission APIs for webview.

This will give us ability to add new webview featrues which requires permission without changing API during the WebView autoupdate.
Also deprecated geolocation permission related APIs.

BUG: 13699047
Change-Id: I6a557e11eb26c6ca236d44e75600e0b265fd791c
/frameworks/base/core/java/android/webkit/WebChromeClient.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/WebChromeClient.java
0e0b2daa983a7d9587bb761d5a018b698482e0a1 10-Apr-2013 Kristian Monsen <kristianm@google.com> Fix for bug 8589670: Marking a not called WebChromeClient as deprecated.

This is just a documentation improvement, the method is not called anymore.

Change-Id: I6f704f7f1a5eef5048b7bf2c52c0589bc8e99839
/frameworks/base/core/java/android/webkit/WebChromeClient.java
3b2fb7b2d13bbd9fba9ee3a8e07aa89d9eb7b15f 10-Jul-2012 Selim Gurun <sgurun@google.com> Merge "Fix onReachedMaxAppCacheSize callback"
c86bec97279c4a5872d78fe371577748ddf43dcf 29-Jun-2012 Selim Gurun <sgurun@google.com> Fix onReachedMaxAppCacheSize callback

Bug: 5869022

When appcache reached max size, a callback is triggered. The
second parameter of this callback was returning the used Web SQL
quota, which is a rather different concept then AppCache. Fix this
to return max database size.

Change-Id: Iee11f40aa9635eaa22e237d4ddfb98792c977497
/frameworks/base/core/java/android/webkit/WebChromeClient.java
d594047f8f9e64cf9307a49e41ededd4d4fe0f5a 21-Jun-2012 George Mount <mount@google.com> Remove unused ENABLE_ANDROID_INSTALLABLE_WEB_APPS

Remove an unused #define and code associated with it. This will
smooth a possible future webkit merge.
WebKit change: I16d8c457a3f08996bc66401b241fe0db5a118975

Change-Id: Ibf046337cdabb9bee9cff8e3d77d9f69a59ecb15
/frameworks/base/core/java/android/webkit/WebChromeClient.java
1bd37b176e65fddd04d7412ef05f905bd81f8e95 28-May-2012 Ben Murdoch <benm@google.com> Deprecate WebChromeClient.onJsTimeout

This method was only supported with the JSC JavaScript engine.
V8 became the default JavaScript engine in Froyo and this method
has not been invoked since. Support for building JSC was removed
in b/5495373.

Bug: 6295376
Change-Id: I3dbe83f375b88ebbbb713d3c3fa5a2fa323a0d45
/frameworks/base/core/java/android/webkit/WebChromeClient.java
9c6b01a753ff0193054ab2e7207ae19164a6ca6e 16-Apr-2012 Steve Block <steveblock@google.com> Merge "Clean up JavaDoc for WebStorage"
285ddfc8abfcdd252c50477b34c13f8173f9f3f4 28-Mar-2012 Steve Block <steveblock@google.com> Clean up JavaDoc for WebStorage

Bug: 5461416
Change-Id: Ice7a2ca1e346ae80f53b477d236ff8c20032cf2f
/frameworks/base/core/java/android/webkit/WebChromeClient.java
be716920e70541c9b334c9389d335f1aa1ed7124 11-Jan-2012 Ben Murdoch <benm@google.com> Add support for HTML Media Capture "capture" attribute.

Plumb the value of the "capture" attribute through the framework
down to the embedder.

Requires a change in WebKit
(I0a921be31fda79a43c05da4fe22d9c808d92709c)

and Browser (I38dfe2df043fdba1388384dbd3b5370737eb38e5).

Bug: 5771207

Change-Id: I494adc1274ca21ce8fe52a6c7b6b758217927e66
/frameworks/base/core/java/android/webkit/WebChromeClient.java
7351adf76a97b07bb2d777c56e78752cb7834bb0 30-Nov-2011 Steve Block <steveblock@google.com> Clean up JavaDoc for GeolocationPermissions

Much of the current JavaDoc for GeolocationPermissions exposes implementation
details which are of no interest to a Java developer. Move these comments out
of the JavaDoc and clean up the text.

Bug: 5461416
Change-Id: I95a68fe15016fadc729d8d857fd69b2c927a5ea9
/frameworks/base/core/java/android/webkit/WebChromeClient.java
b22a69f2caa4805159027ac06f540da3714d99f0 17-Oct-2011 Steve Block <steveblock@google.com> Build fix

Fix after https://android-git.corp.google.com/g/#/c/125775

Bug: 5461416
Change-Id: Ifee29b287c9fcd2a35b0b676db00ef2a4fc8c5a8
/frameworks/base/core/java/android/webkit/WebChromeClient.java
89e00a90d5a25f2e6e36684a58d10fbe7db7a284 03-Aug-2011 Steve Block <steveblock@google.com> Improve documentation for WebChromeClient.onCreateWindow()

Bug: 5461416
Change-Id: I9beac56374fb3ce97da4b20fa5646b5b5f05bad9
/frameworks/base/core/java/android/webkit/WebChromeClient.java
7ab3d673ba341db5a44a9c754a25961cfd16f8cd 01-Jun-2011 Derek Sollenberger <djsollen@google.com> Add API to allow plugins to lock their orientation in full-screen mode.

This CL has companion changes in the browser and webkit.

bug: 3398386
Change-Id: I09eee11e3a22ba3ce0af67e2a068dc7331dc49c2
/frameworks/base/core/java/android/webkit/WebChromeClient.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/WebChromeClient.java
fe026bdd3c0fd7543ceaf0732aeb824cfddb5b23 24-Aug-2010 Leon Scroggins <scroggo@google.com> Move Find on page and Select ActionModes to framework.

Bug: 2938052

Requires a change to packages/apps/Browser

Change-Id: I1bb1a47610b06c4bb02ef08647c02cc1dcaddb15
/frameworks/base/core/java/android/webkit/WebChromeClient.java
387b6580b8723d738ffd99d93d0f8357d55b3dc3 16-Jul-2010 Leon Clarke <leonclarke@google.com> Cancel test selections when they start if the client hasn't overridden the
selection behavior.
http://b/issue?id=2847546

Change-Id: I0d8529add54b3dfbf0af239fda1b15edd7bd32e0
/frameworks/base/core/java/android/webkit/WebChromeClient.java
6312de2a9a2cf7304d91b7f78c3dff2db59b918c 29-Jun-2010 Ben Murdoch <benm@google.com> Receive notification from native webcore that the page being viewed
has marked itself as being an installable web app. Default implementation
in the WebChromeClient does nothing.

Requires an external/webkit change.

b/2766917

Change-Id: I7aae1b097f866e3d1c6c6a7a31a55bb12ff6a441
/frameworks/base/core/java/android/webkit/WebChromeClient.java
924af70019f1cc82d850a0c29c2606a2f4faf5cf 04-Jun-2010 Cary Clark <cary@android.com> Refactor find and select dialogs

In WebView:
- Remove the select mode, so that while text is selected,
the view may respond to scroll or zoom gestures.
- Remove the getFindIsUp() method -- let the host application
track if the dialog is visible.
- Map long press to select text if the host application does
not already intercept it.
- Draw find 'extras' during zoom animation.
- Draw select 'extras' during animation and scrolling as well.
- Distinguish between selecting text and pressing a shift key
(the shift key is still a possible select text shortcut)
- Add more public (but hidden) interfaces: setUpSelect, selectAll, etc.

In WebChromeClient, add interfaces to allow WebView to tell the host
application that selection has started or finished. A long press on
a part of the view that does not trigger a host context menu may
start the selection (if text is underneath the press), and clicking
the trackball or tapping away from the current selection may
end the selection.

Companion changes in external/webkit and packages/apps/Browser

Change-Id: I81f549181249c38d8d4c10fd7064f513d11318fa
http://b/262451
/frameworks/base/core/java/android/webkit/WebChromeClient.java
4ae32f5f11f2914196d6d0d195dcbc59d37b92bc 18-May-2010 Ben Murdoch <benm@google.com> Allow passing of accept types from WebCore to Java for the file picker.

Requires a change in external/webkit and packages/apps/Browser.

Change-Id: I0fe5f0edb00be0f329f07e42e84f88aced543d17
/frameworks/base/core/java/android/webkit/WebChromeClient.java
3141e0a62abe57e93e5d716895a2a57cc052bb50 28-Jan-2010 Ben Murdoch <benm@google.com> Add new ConsoleMessage class that adds more information (such as the Message Log Level from WebCore) and a new overload of onConsoleMessage that takes this as a parameter.
This change requires a corresponding change in external/webkit.

BUG=2401755

Change-Id: Iea2c58e93172240f162d8ad57eb2c8f2352f8162
/frameworks/base/core/java/android/webkit/WebChromeClient.java
7caaeecce1b04e2098dd4f471fdd69ebe28c31b0 19-Nov-2009 Ben Murdoch <benm@google.com> Rename WebChromeClient.addMessageToConsole to WebChromeClient.onConsoleMessage.

BUG=b/2271636

Change-Id: Ia9bed430c624c4c3745904c98fb2e27632d929f9
/frameworks/base/core/java/android/webkit/WebChromeClient.java
f0c443deca49d597c8268ef3b0f7198976073241 19-Nov-2009 Ben Murdoch <benm@google.com> Update JavaDoc for CacheManger.CacheResult, WebChromeClient.getDefaultVideoPoster and WebChromeClient.getVideoLoadingProgressView.

Change-Id: I09e159cec0ccdf09b278daeeab268c0c4f4476ba
/frameworks/base/core/java/android/webkit/WebChromeClient.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/WebChromeClient.java
70ca3c25b959427359bdb7cf37a8c3d6eb962357 02-Oct-2009 Leon Scroggins <scroggo@google.com> File upload.

Implement java side of file upload. Requires changes to external/
webkit to not break; requires changes to packages/apps/Browser
before it actually is used.

Fix http://b/issue?id=675743
/frameworks/base/core/java/android/webkit/WebChromeClient.java
194e345eb0fbfd170dcebb81a2bb7d93e8f93f94 28-Sep-2009 Leon Clarke <leonclarke@google.com> Re-instate the link coloring on startup, but going via the browser
to read the bookmark history, and restricting it to 100 results.

Link coloring - doing db lookup in new thread

Whitespace, following review
/frameworks/base/core/java/android/webkit/WebChromeClient.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/WebChromeClient.java
d58ccff769e40a6c52e9f6e30e4016590e05ba9a 18-Sep-2009 Patrick Scott <phanna@android.com> Add a boolean indicating if the apple-touch-icon is precomposed.
/frameworks/base/core/java/android/webkit/WebChromeClient.java
bf385d7c7b093564738f8cfd4386daf5e94b8a6d 18-Sep-2009 Andrei Popescu <andreip@google.com> Add progress view and default poster for the <video> implementation
/frameworks/base/core/java/android/webkit/WebChromeClient.java
0236e673d8b980fd6333c18505129c6b49e38cd1 03-Sep-2009 Leon Scroggins <scroggo@google.com> Attach the title bar to the top of the page.

Remove the old notions of changing the viewing mode
resulting in changing the visibility of the title bar.
Instead, attach the title bar to the top of the page.
Change contentToView() to contentToViewY() (and an X
version; same change for viewToContent), to account
for the title bar's height. Adjust the parameters
for drawing the scroll bar to account for the title bar.
Requires a change to packages/apps/Browser.

Change-Id: Ic0f7d6e0a1cce58ba2bca87337cf72a8194e9aa4
/frameworks/base/core/java/android/webkit/WebChromeClient.java
d497d87650dd79f7d6a4751d79598d68ceb4b789 25-Aug-2009 Ben Murdoch <benm@google.com> Pass the estimated size of new HTML 5 databases to the ChromeClient so it can use that amount to figure an initial default quota.

Change-Id:Ic9372b0c86472b42ba5d0b964aaff1e2bbfe3efa
/frameworks/base/core/java/android/webkit/WebChromeClient.java
b2359262b48bf33887c72be94b044cfdfd602858 19-Aug-2009 Leon Scroggins <scroggo@google.com> Implement new title bar hiding/showing behavior.

Remove the code that hides the title bar when the page finishes loading.
When the user double taps, if it did not result in changing the viewing
mode (i.e. on a mobile site), send a message to the client so we can
toggle the title bar's visibility. Required for a change to
packages/apps/Browser

Change-Id: I0040fd183ce5673a4069e943f38eb31599c0ca7d
/frameworks/base/core/java/android/webkit/WebChromeClient.java
f58ffac202b5a15f4bbfd5512c58f202a992f594 13-Aug-2009 Leon Scroggins <scroggo@google.com> Hide the title bar when zoomed in.
/frameworks/base/core/java/android/webkit/WebChromeClient.java
2ba1262b420ef5b9abebcd818c46774b8517f244 04-Aug-2009 Patrick Scott <phanna@android.com> Add a callback for the url of an apple-touch-icon.

Hide the apis until this is a well-tested feature. The url is reported rather
than the actual icon since it may never be used. The apple-touch-icon is meant
for shortcuts on the home screen.
/frameworks/base/core/java/android/webkit/WebChromeClient.java
4faee09c422a70439129e9fb40dd82f03d42c98d 28-Jul-2009 Steve Block <steveblock@google.com> Adds the Java side of the system to show the Geolocation permissions prompt.
/frameworks/base/core/java/android/webkit/WebChromeClient.java
59e2ad93bf37c7ded44c033d38fe7c972e2f4118 28-Jul-2009 Andrei Popescu <andreip@google.com> Wire in the AppCache out-of-space callback
/frameworks/base/core/java/android/webkit/WebChromeClient.java
3c946a1a9637e85e4256f40b68f3b9d4b9f40c27 03-Jul-2009 Andrei Popescu <andreip@google.com> Add fullscreen support back in.
/frameworks/base/core/java/android/webkit/WebChromeClient.java
6fa2958059a08390ed2b87b8572f8847ad9999e4 19-Jun-2009 Andrei Popescu <andreip@google.com> Implement support for showing a VideoView.
/frameworks/base/core/java/android/webkit/WebChromeClient.java
6262ae5c9df44c0673cebaeaf7f655094f5b5485 17-Apr-2009 Ben Murdoch <benm@google.com> Implement handling of console messages from WebCore. Default implementation in WebChromeClient is to do nothing.
/frameworks/base/core/java/android/webkit/WebChromeClient.java
10e4d2068aa687e30dd4e5fcae6417f66874823b 12-May-2009 Guang Zhu <guangzhu@google.com> merged 25fdf35, resolved conflicts
81e41434b3421a89e3e967e866238719e8468bd5 09-May-2009 Guang Zhu <guangzhu@google.com> Added Java callback for JavaScript execution timeout.
/frameworks/base/core/java/android/webkit/WebChromeClient.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/WebChromeClient.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/WebChromeClient.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/WebChromeClient.java
54b6cfa9a9e5b861a9930af873580d6dc20f773c 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
/frameworks/base/core/java/android/webkit/WebChromeClient.java