History log of /frameworks/base/core/java/android/webkit/CallbackProxy.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
b2044da3f9f9ad74f0dffd5ae024e558f8a9a89a 16-Jun-2010 Patrick Scott <phanna@android.com> Do not merge: cherry-pick a fix for a npe.

Fix a monkey crash when the new WebView is destroyed.

Grab the WebViewCore immediately so that if the Tab is destroyed, we have the
old WebViewCore object and can return the BrowserFrame.

Bug: 2733004
Change-Id: I8cddf9c9d635fc8b50983e4813eadda26cf23348
/frameworks/base/core/java/android/webkit/CallbackProxy.java
336d7dcb105a43ee4de51fd0f26f277c63662f02 12-May-2010 Grace Kloba <klobag@google.com> The default AlertDialog allows cancel. But the default
JSConfim doesn't have a cancel listener. So when
user cancel the dialog, we do not wake up the WebCoreThread.
The same code is already done for JSPrompt dialog correctly.

Fix http://b/issue?id=2679139
/frameworks/base/core/java/android/webkit/CallbackProxy.java
0348440e4ad665f9fa7ed73a5c6b533e183a9e1f 26-Mar-2010 Steve Block <steveblock@google.com> Cherry pick from master.

This change forwards to the WebView HTTP authentication credentials that
are supplied to an XHR from JavaScript. This allows the WebView to store these
credentials for use with later requests.

This is a re-working of https://android-git.corp.google.com/g/46430

Bug: 2544330
Change-Id: I3f04433b00233d7b7bf4f7e3471d8d15d8817f93
/frameworks/base/core/java/android/webkit/CallbackProxy.java
0cf6046b8d0fcc920e253a2baca8d2a737c1620a 30-Mar-2010 Patrick Scott <phanna@android.com> Fix a simple logic mistake.

If the icon is precomposed or the icon IS null, set the touch icon url. This
ensures there will be a touch icon set if either precomposed or regular is
specified. Precomposed icons take precedence.

Bug: 2546984
Change-Id: Id9291006ecda8659b823ab9629eb98a6f8d45f5e
/frameworks/base/core/java/android/webkit/CallbackProxy.java
c6a90a59b342114d760d899e09d8def672b49ca8 25-Mar-2010 Steve Block <steveblock@google.com> Provides ability to store HTTP authentication credentials supplied to an XHR from JavaScript

This change forwards to the WebViewClient HTTP authentication credentials that
are supplied to an XHR from JavaScript. This allows the client to store these
credentials for use with later requests.

Currently, the browser only stores credentials that have been entered manually
by the user through the authentication dialog.

Bug: 2544330
Change-Id: I913e35d80b7ad41ff75586092408b86ea9f543d8
/frameworks/base/core/java/android/webkit/CallbackProxy.java
21817f6e2924217a1c456f3ba7e9a359b00602d2 20-Mar-2010 Grace Kloba <klobag@google.com> Explicitly dismiss the zoom control if
1. start double tap
2. start pinch
3. start a popup window
4. about to detach from window
5. WebView size change which happens when IME is up
or rotation changed.

Partial fix http://b/issue?id=2530401. Dismiss the
zoom control of the main window when bringing up
the sub window
/frameworks/base/core/java/android/webkit/CallbackProxy.java
4ab72cb7e79c15b94b4b7aca4cdb28677a615f8a 15-Mar-2010 Brian Carlstrom <bdc@google.com> b/2511635 Browser displays incorrect SSL cert information

WebView's mCertificate member was not cleared when going to new
pages. Rather than clearing mCertificate as was done in previously in
WebView.goBackOrForward, we now clear when CallbackProxy receives a
PAGE_STARTED message.

This problem was highlighted whenever we went to a https page that was
in the cache, since the cache does not store certificate information,
so "More > Page Info > View Certifcate" was showing the certificate of
the last non-cached page because it had not been cleared. See also
b/2516638 "SslCertificate information not cached by CacheManager"

Change-Id: I40284f22ceb7150a6b20ecc2741f6153ed9a3276
/frameworks/base/core/java/android/webkit/CallbackProxy.java
0b2e84b32af48f4b2b17c72adcf12ad29ec7bb7a 02-Mar-2010 Patrick Scott <phanna@android.com> Add a client for WebBackForwardList operations.

Provide a custom data slot in WebHistoryItem to store application data in the
history item. A client of WebBackForwardList can insert their custom data into
the item when created. In onIndexChanged, the custom data can be read by the
client.
/frameworks/base/core/java/android/webkit/CallbackProxy.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/CallbackProxy.java
6a5b0ecae5dc89a951e1e204bc007f50f944c5d1 08-Jan-2010 Patrick Scott <phanna@android.com> Deprecate onTooManyRedirects.

The method was added a long time ago but has never been called. Rather than
spend time implementing and testing this feature, deprecate the function.

Bug: 2257857
/frameworks/base/core/java/android/webkit/CallbackProxy.java
11438c371e5757bde2a5c08eb81aedb794805fc1 16-Dec-2009 Grace Kloba <klobag@google.com> Implement the full screen WebView plugin.

Use a NoTitleBar_Fullscreen dialog to implement the
full screen plugin. This runs in the same thread as
WebView (UI in the Browser case). One catch is that
the SurfaceView provided by the plugin needs to be
opaque if it doesn't want to see through the WebView.

The PluginFullScreenHolder translates the events to
the underline WebView. Special treatment in the touch
case as it needs to translate the coordinates.

WebView can't be panned, or double tap to zoom, or
long press to trigger the context menu while having
a full screen plugin.

Inside webkit, we also give the plugin element focus
when it goes to the full screen so that it takes key
events. While handling key events, we don't let it
loose focus or scroll out.

Todo:
When a plugin goes to full screen, we should make
sure the embedded plugin is fully visible. Otherwise
when we translate the touch events back, they will be
outside of the visible rect and will be ignored.

This is part 1 of 2-project check in.
/frameworks/base/core/java/android/webkit/CallbackProxy.java
b6ddc7ae3507f0e1ea9a76c76f829bc8b26a292c 08-Dec-2009 Derek Sollenberger <djsollen@google.com> Notify native plugin code when the browser discards the customView.
/frameworks/base/core/java/android/webkit/CallbackProxy.java
51ef573a8336c637ac508c49b84b512d8f11fa3a 07-Dec-2009 Derek Sollenberger <djsollen@google.com> Switching from activity based full screen plugins to a view system overlay.
/frameworks/base/core/java/android/webkit/CallbackProxy.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/CallbackProxy.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/CallbackProxy.java
3613385fbc5368715e7af1a6676b7bb63fafcf09 04-Nov-2009 Leon Scroggins <scroggo@google.com> Do not update the progress if it is the same as the last given progress.
/frameworks/base/core/java/android/webkit/CallbackProxy.java
405d785f86c1f32feaf1f0f93d1cd8df5cbcd151 02-Nov-2009 Leon Scroggins <scroggo@google.com> Do not scroll the title bar off screen until the page finishes loading.

Fix http://b/issue?id=2139418
/frameworks/base/core/java/android/webkit/CallbackProxy.java
94ab3b6d0e9a5a914c7706ed1888c9d27756f7e4 08-Oct-2009 Grace Kloba <klobag@google.com> Expose WebViewClient of WebView.
/frameworks/base/core/java/android/webkit/CallbackProxy.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/CallbackProxy.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/CallbackProxy.java
dbad320bf3a4ae44717aa8dff4ec1791a3820259 24-Sep-2009 Grace Kloba <klobag@google.com> ResultTransport needs a default value. If the thread is
ununlocked by something else other than CallbackProxy's
notify(), it can have a null value.

Fix http://b/issue?id=2131842
/frameworks/base/core/java/android/webkit/CallbackProxy.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/CallbackProxy.java
5a4fbd6c20e36410bed07c0b6b655412c6eb71d5 17-Sep-2009 Grace Kloba <klobag@google.com> The starting progress for WebView should be 100 as it is
not in the loading state.
/frameworks/base/core/java/android/webkit/CallbackProxy.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/CallbackProxy.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/CallbackProxy.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/CallbackProxy.java
f58ffac202b5a15f4bbfd5512c58f202a992f594 13-Aug-2009 Leon Scroggins <scroggo@google.com> Hide the title bar when zoomed in.
/frameworks/base/core/java/android/webkit/CallbackProxy.java
7ec19876c95584c2114982826b2006557b0728d6 11-Aug-2009 Cary Clark <cary@android.com> make private inner classes static

bug found by findbugs
http://b/issue?id=1856695
/frameworks/base/core/java/android/webkit/CallbackProxy.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/CallbackProxy.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/CallbackProxy.java
59e2ad93bf37c7ded44c033d38fe7c972e2f4118 28-Jul-2009 Andrei Popescu <andreip@google.com> Wire in the AppCache out-of-space callback
/frameworks/base/core/java/android/webkit/CallbackProxy.java
f099481c26a412b8193847b4c1a145c9f2d59aba 03-Jul-2009 Grace Kloba <klobag@google.com> Add the code to detect how long the WebViewCore thread is idle in the real time.
/frameworks/base/core/java/android/webkit/CallbackProxy.java
6fa2958059a08390ed2b87b8572f8847ad9999e4 19-Jun-2009 Andrei Popescu <andreip@google.com> Implement support for showing a VideoView.
/frameworks/base/core/java/android/webkit/CallbackProxy.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/CallbackProxy.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/CallbackProxy.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/CallbackProxy.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/CallbackProxy.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/CallbackProxy.java
ba87e3e6c985e7175152993b5efcc7dd2f0e1c93 13-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake_rel/...@138607
/frameworks/base/core/java/android/webkit/CallbackProxy.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/CallbackProxy.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/CallbackProxy.java
076357b8567458d4b6dfdcf839ef751634cd2bfb 03-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@132589
/frameworks/base/core/java/android/webkit/CallbackProxy.java
3dec7d563a2f3e1eb967ce2054a00b6620e3558c 03-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@137055
/frameworks/base/core/java/android/webkit/CallbackProxy.java
22f7dfd23490a3de2f21ff96949ba47003aac8f8 20-Jan-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@127101
/frameworks/base/core/java/android/webkit/CallbackProxy.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/CallbackProxy.java
54b6cfa9a9e5b861a9930af873580d6dc20f773c 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
/frameworks/base/core/java/android/webkit/CallbackProxy.java