History log of /frameworks/base/core/java/android/webkit/JWebCoreJavaBridge.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
55bc7efaf9ec91c226bd0d5fe5904f2efa9322d7 19-Sep-2012 John Reck <jreck@google.com> Revert "Test aggressive throttling"

Bug: 7182109
This reverts commit c7c85b34dad5ee722bd9f14318c1e0e4237d529e.

Change-Id: Ibc8837b97450ec6e77a0e9dd509280ff780bb22b
/frameworks/base/core/java/android/webkit/JWebCoreJavaBridge.java
c7c85b34dad5ee722bd9f14318c1e0e4237d529e 15-Jun-2012 John Reck <jreck@google.com> Test aggressive throttling

Change-Id: Idebb269ae2c619db626aa5dfcf8443e731b27895
/frameworks/base/core/java/android/webkit/JWebCoreJavaBridge.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/JWebCoreJavaBridge.java
aefc28a1b666f3e9b19eb5a8955e70297119f03d 08-Nov-2011 John Reck <jreck@google.com> Remove unnecessary memory allocations

Bug: 5581637
Also delete some dead, unused code

Change-Id: If6efd11f5032141dadbfcd0b3215e89b464e5f35
/frameworks/base/core/java/android/webkit/JWebCoreJavaBridge.java
2032eee0c178a15fd41cebbdec71c7622d2aab23 23-May-2011 Kristian Monsen <kristianm@google.com> Fix for bug 4144936: [Proxy setting]: traffic to a bypass domain doesn't bypass proxy

This is the WebView part, passing the bypass list to
the native side.

Moved some code to JWebCoreJavaBridge.java because
because sendStaticMessage only takes one argument.

Needs CL in external/webkit:
https://android-git.corp.google.com/g/#change,112401

Needs following CL in external/chromium:
https://android-git.corp.google.com/g/#change,111832

Change-Id: Ib548bdcbc9eb22bbb8f2754808840052bd3ec80e
/frameworks/base/core/java/android/webkit/JWebCoreJavaBridge.java
358d2cd96403383cfb91bb68598a4cb2fe2e170e 23-May-2011 Shimeng (Simon) Wang <swang@google.com> Simplify browser pause/resume logic to avoid stuck timer.

The current browser pause/resume logic uses an integer count to track
the pause/resume behavior, which is mostly working fine in phone. The interger
count is usually 0 when browser is paused, and its value is usually 1
when the browser is resumed and will trigger any delayed timer.

But in tablet, where tabs can be easily created/switched/deleted, this
logic will not work well and sometimes cause resources timers get stuck.
For example, in case multiple tabs are created, and you reload one of the
tabs, when it's almost finished, switch to another tab, and hit home or power
button, at this point of time, the browser will be suspended at
Controller.java::onPause, hence the integer count will be 0; but since
the other tab is also finished after the pause, the current logic at
Controller.java::onPageFinished will call pause timer again, which will make
the integer count to be -1. Before the time the browser is resumed, it's very
possible some tabs will have some resources, such as images/flashs,
scheduled to be loaded, these will be in delayed timer in
ResourceLoadScheduler.cpp's m_requestTimer.
Now when the browser is resumed, the integer count will be 0, which will not
trigger delayed timer. Then all the new timers will be stuck as well since
old timers are not executed yet.

The fix is to simplify the pause/resume logic by just using a boolean variable
instead of error-prone integer counting.

issue: 4177932
Change-Id: Id10af9298c7be1f82222d0b94c34c5dc68403630
/frameworks/base/core/java/android/webkit/JWebCoreJavaBridge.java
41e7e6f9339cd9181df26ca96f0ac133371bc524 21-Dec-2010 Kristian Monsen <kristianm@google.com> Retrying sending proxy changes to webkit

Now checking if the ProxyProperties object is null, and if the
string returned by getHost() is null.

Change-Id: I727e26c2a41fe057501c3b610ba6fa221d16da45
/frameworks/base/core/java/android/webkit/JWebCoreJavaBridge.java
77788f815374cd0d611f8be0d00b45f0e1dd45ec 20-Dec-2010 Huahui Wu <hwu@google.com> Revert "Merge "Send proxy changes on the webcore thread to WebKit""

This reverts commit ea8f4e0d667b1da70960e35f16ed371ffb4ad2ed, reversing
changes made to fd4dda8d77231db01b26686f61601a999a2d96f3.
/frameworks/base/core/java/android/webkit/JWebCoreJavaBridge.java
64a2f6bd06d4df1a34b4187ff750ec559a4d0597 17-Dec-2010 Kristian Monsen <kristianm@google.com> Send proxy changes on the webcore thread to WebKit

Change-Id: I16995b4595e931715b064702ae570c387cf453f3
/frameworks/base/core/java/android/webkit/JWebCoreJavaBridge.java
8a5d335a5533eef89aa8e4b701b692673145eef1 18-Aug-2010 Patrick Scott <phanna@android.com> Use a static variable and methods for the current WebView.

sJavaBridge may not exist by the time onWindowFocusChanged is called.
To avoid an NPE, just static methods that modify a global field.
JWebCoreJavaBridge is a global object anyway so using a static field
will be fine. To avoid any garbage collection issues, store the
WebView in a WeakReference.

Bug: 2894682
Change-Id: I73de9237ddbbdc55841a9b2639437e26856439c8
/frameworks/base/core/java/android/webkit/JWebCoreJavaBridge.java
65b4cdabb0b626635606c4b2dfec145c547d3396 28-May-2010 Ben Murdoch <benm@google.com> Frameworks changes to enable File Reader and blob.slice APIs.

Rather than just storing the name of the file that the user chose in the file picker,
store the full path to the file. That way we can open it using the file API and still
extract the filename itself by simply chopping off all but the last path segment.

Change-Id: I25f2fe818deda8ca848f0da02cf45ae97d2127fb
/frameworks/base/core/java/android/webkit/JWebCoreJavaBridge.java
cc749dee638785cee52a05c3c76445573591c6f1 18-May-2010 Ben Murdoch <benm@google.com> Add a method on the JavaBridge to resolve filenames from content URIs.
Requires an external/webkit change.

Change-Id: I7cc9a1c9c544546ca4fe8a212d3d60183ad99c36
/frameworks/base/core/java/android/webkit/JWebCoreJavaBridge.java
9b95ab17ecdaf1e3501f0deb7580cb2b5492331a 02-Apr-2010 Grace Kloba <klobag@google.com> Instead of holding an ApplicationContext, JWebCoreJavaBridge
will have a reference of the current window's main
WebView. It is only non-null if the WebView's window
has the focus.

Extract setActive() from onWindowFocusChanged() so
that onAttachedToWindow() can call it directly. The
old way has a mis-matching call to onWindowFocusChanged.

Fix http://b/issue?id=2559152
/frameworks/base/core/java/android/webkit/JWebCoreJavaBridge.java
a6d747d5c74558d73a95a69a52907c37815d3ba1 11-Feb-2010 Andrei Popescu <andreip@google.com> Implement navigator.isApplicationInstalled() API

This CL contains the framework plumbing to pass the package names to WebKit.

Fix b: 2371005
/frameworks/base/core/java/android/webkit/JWebCoreJavaBridge.java
f5dba888c671c1a4f32a07a4e8f028f7dadd2ce9 12-Jan-2010 Andrei Popescu <andreip@google.com> Detect if the current network is wifi or not and update webkit.
This info is passed to youtube.com via navigator.networkType

Fixes Bug: 2368650
/frameworks/base/core/java/android/webkit/JWebCoreJavaBridge.java
c633253bef85252e44ffb86500b50943a024246c 18-Sep-2009 Chia-chi Yeh <chiachi@android.com> CertTool: avoid using final static array.
/frameworks/base/core/java/android/webkit/JWebCoreJavaBridge.java
41d8565e816a29192d966f271c06bee91272087c 17-Sep-2009 Chia-chi Yeh <chiachi@android.com> WebKit: switch to java-based CertTool.

Change-Id: Ica6d491ede2bf2a311cacb7a7d64a249191fbecf
/frameworks/base/core/java/android/webkit/JWebCoreJavaBridge.java
37eb3c35152fadc2541ebe6af3e39b246ca87fb7 18-Aug-2009 Derek Sollenberger <djsollen@google.com> removing old gears code and correcting simple method typo
/frameworks/base/core/java/android/webkit/JWebCoreJavaBridge.java
fd055b2d7cebd6693925a30adad6c66a697af407 05-Aug-2009 Grace Kloba <klobag@google.com> Add the support for the new SystemInterface of android_npapi, expose
getApplicationDataDirectory to the plugin.
/frameworks/base/core/java/android/webkit/JWebCoreJavaBridge.java
f6a6cff234e164874233de3618ab98b4fb00efb7 06-Jul-2009 Android (Google) Code Review <android-gerrit@google.com> am 4492bcb8: Merge change 6081 into donut

Merge commit '4492bcb851f4ee862a446664eb9045045ebb7b5e'

* commit '4492bcb851f4ee862a446664eb9045045ebb7b5e':
Migrate to the CertTool library.
bf20b9963add781a35de658f3228760015a163c9 02-Jul-2009 Chung-yih Wang <cywang@google.com> Migrate to the CertTool library.

Keystore is reimplemented and it is mainly for storing
(key, value) pair generically. The certificate related
APIs are moved to the class CertTool instead.

Updates:
Provide the getInstance() which gives the singleton.
Fix the missing construction of the BIO in cert.c.
/frameworks/base/core/java/android/webkit/JWebCoreJavaBridge.java
526abb93fb8ce7cc671bed7964ddb1647cf8d2ee 23-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> am e8a1f6af: Merge change 4961 into donut

Merge commit 'e8a1f6af96d09d8105621932073d6f79e24a5dc9'

* commit 'e8a1f6af96d09d8105621932073d6f79e24a5dc9':
Set organizations to be null for generateKeyPair to use the default.
9427c285df34a656a095645579d953565c67fea3 22-Jun-2009 Grace Kloba <klobag@google.com> Set organizations to be null for generateKeyPair to use the default.
/frameworks/base/core/java/android/webkit/JWebCoreJavaBridge.java
ba165caf441f25e180922f83ce02f91d6e0012f2 19-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> am e0b7e916: Merge change 4679 into donut

Merge commit 'e0b7e916a1259d2dd9c116695607f9877ec56056'

* commit 'e0b7e916a1259d2dd9c116695607f9877ec56056':
Replace the dummy code with Keystore for <keygen> support.
0de8e4398d81a770f8bf648e8137272c3d841296 19-Jun-2009 Grace Kloba <klobag@google.com> Replace the dummy code with Keystore for <keygen> support.
/frameworks/base/core/java/android/webkit/JWebCoreJavaBridge.java
1155e18ccc1c5dd486aa6e6648f91cbbf1521b92 18-Jun-2009 Feng Qian <fqian@google.com> Merge commit 'goog/master' into webkit_merge
16be88a912e7d39b6dc1375b6346254b3f7629ff 17-Jun-2009 Feng Qian <fqian@google.com> Chagne setCookie API according to new WebCore merge.

Removed the second parameter, policyURL.
/frameworks/base/core/java/android/webkit/JWebCoreJavaBridge.java
e3a6cf3eaab04dede374a3d64cb8db2d20e3820e 15-Jun-2009 Android (Google) Code Review <android-gerrit@google.com> am 3adf7678: Merge change 4184 into donut

Merge commit '3adf7678cdf8fa955627e096bb5c27b94adc3079'

* commit '3adf7678cdf8fa955627e096bb5c27b94adc3079':
Add permission test structure for private framework permissions.
Add <keygen> support for VPN.
7180efed8990b843321500208e3fe5fbe977bd87 12-Jun-2009 Grace Kloba <klobag@google.com> Add <keygen> support for VPN.
/frameworks/base/core/java/android/webkit/JWebCoreJavaBridge.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/JWebCoreJavaBridge.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/JWebCoreJavaBridge.java
74008f608af0c567456d37e63d48643689388c74 23-Apr-2009 Jean-Baptiste Queru <jbq@google.com> Merge donut into master
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/JWebCoreJavaBridge.java
9ae010a349e953a443f1cc8bc33ff1becf997a19 11-Apr-2009 Feng Qian <> AI 145796: Land the WebKit merge @r42026.

Automated import of CL 145796
/frameworks/base/core/java/android/webkit/JWebCoreJavaBridge.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/JWebCoreJavaBridge.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/JWebCoreJavaBridge.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/JWebCoreJavaBridge.java
54b6cfa9a9e5b861a9930af873580d6dc20f773c 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
/frameworks/base/core/java/android/webkit/JWebCoreJavaBridge.java