| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
Delete all the Java classes used only by the old WebView implementation,
and also sections of common classes that were only needed for the old
WebView.
Bug: 10427705
Change-Id: I02549a71104b35d86d99058c71f43e054730ec7d
|
| |\
| |
| |
| | |
klp-dev
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This adds static (as this is for the whole process) method
for controlling the web debugging state.
Please note that the implementation only makes sense for
Chromium WebView, and it's a no-op in WebViewClassic.
BUG=8691809
Change-Id: I815b4d69ad9ee814ca4cec1da81490b63ba2da68
|
| |/
|
|
|
|
| |
Bug:10652036
Change-Id: Ibcc7e48f4e4ce1bc437c0d3fb89d3d66a90dca64
|
| |
|
|
|
|
|
|
| |
Bug: 10488419
This is useful for debugging numerous SxS issues.
Change-Id: I5d0d2e253499741c5f9454582988c99e42dc0a81
|
| |
|
|
|
| |
Bug: 10507857
Change-Id: I3120ebfd11716259b9a83312b95a6a3f98a23d89
|
| |
|
|
|
|
| |
Bug:10190508
Change-Id: I52b327e0724938e1de7ce7550d26563364ff1589
|
| |
|
|
|
|
| |
Change the exception msg to better identify the webview version.
Change-Id: I64c9a433144f9aa0362ad6c9217da92acbb655bc
|
| |
|
|
|
| |
Bug: 10190508
Change-Id: I47fc46bb1ea632876048b29621843f781c47aab7
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This API is intended to replace the "WebView.loadUrl("javascript:...")
pattern that is the current mechanism for executing JavaScript in the
context of the current page displayed in the WebView.
The new API is more convenient - it doesn't trigger the normal URL
loading path - and so does not have side effects such as hiding
the keyboard - and allows the caller to specify a callback that will
be invoked once the script execution is complete.
BUG=9814043
Change-Id: I3f27e8ff5371077d9265430090d61381a3a86e76
|
| |
|
|
|
|
|
| |
This is needed to make use of the new Accessibility implementation
in the Chromium WebView. nos for WebView Classic.
Change-Id: I96bd2426d2de3b26dc9b72d0fdbacefa9bbe20f7
|
| |
|
|
| |
This reverts commit 150cf1c15b23bb30be8b7267a5e8bc326d0f50cc.
|
| |
|
|
|
|
|
| |
This is needed to make use of the new Accessibility implementation
in the Chromium WebView. nos for WebView Classic.
Change-Id: I8e26035d15af494e4caa50b4c6c7cb4ac8efeb9e
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Allow the appropriate WebView to be preloaded in the zygote by
constructing the currently selected WebViewFactoryProvider when the
WebViewFactory is preloaded. At runtime, if the preloaded provider is
still the current selection, the preloaded instance is used, otherwise
the provider is loaded at that time.
This change also removes "graceful" fallback from the experimental
WebView to the classic implementation: if the option to use the
experimental WebView is selected and it could not be loaded
successfully at the time a WebView is created, an exception will be
thrown, rather than allowing execution to continue with the classic
implementation, as the fallback may mislead developers who do not
examine logcat output in detail.
Change-Id: I0cd01c784d7048abeac55ab5863ca16b8fd9ecf2
|
| |\
| |
| |
| |
| |
| |
| | |
after copy""
* commit '28d91bdbde63ba1afe3bb67c5466527ec7184217':
Revert "Can not mark the same content of browser page after copy"
|
| | |
| |
| |
| |
| |
| |
| |
| | |
This reverts commit 2b3cef0dd74cb9470e5387b015ee7a13af1fff7b
Causes crashes in Email, reverting for now
Change-Id: Ia0286763d0ab1f90c2b6082d44a6ca804769f49c
|
| |\|
| |
| |
| |
| | |
* commit 'b0e0e54d9dbef720ac653ed87d8ed6b46e1abdbe':
Can not mark the same content of browser page after copy
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Marking a text on the web page and then press copy works,
but trying to mark the same text again does not work.
The reason for this is that the selection never gets
cleared in webkit.
The fix, calling cleaSelection in the onDestroyActionMode.
Also added clearSelection when getting an
onConfigurationChange.
Change-Id: I59b384cb5441b6a3a05007ea7e77f9699889a87c
|
| | |
| |
| |
| |
| |
| | |
Adding extra logging to fix cts bugs that are only on bots
Change-Id: I24b4b7aad200ffc23c002f4a8f0fe9246991c4f0
|
| |\|
| |
| |
| |
| | |
* commit 'bd5ee4d39c8d7d1fc2c1f94980875f1900880880':
Fix NPE when pasting non-text from Clipboard
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When copying a link from a bookmark and then pasting it into
a textfield a NullPointerException will occur.
A ClipData.Item is not guaranteed to always contain a text string
and therefore getText() can be set to null.
Using method coerceToText() instead of getText() makes sure that
a text string is always returned.
Change-Id: I81343c0371835a3a7a52045dcd1760e69e59a967
|
| |\|
| |
| |
| |
| | |
* commit '263554ae5f51fe1181c0c80123ec7f489e124f1a':
FIX Null Pointer Exception on dialog cancel
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Null Pointer Exception occurs because mWebViewCore instance
is made to null while calling destroyJava(). When
1.webview hosting activity goest to background, without calling webview onPause().
2. If app is launched again (having launchmode:singletask ) and another activity (not webview hosting) comes on top top.
3. It destorys the previous activity holding webview which internally tries to cancel the dialog, but webviewcore instance is null.
Null pointer exception is raised.
Change-Id: Idbcd30d0b0d4a35819444bbaa5c73cced8bb35a3
Signed-off-by: Amit Kumar <amitkecian@gmail.com>
|
| | |
| |
| |
| |
| |
| |
| | |
Now JBMR2 constant is defined, update code and docs to use it.
Bug: 8241082
Change-Id: If221c6524b79cc259ffc71fc218b141ffe6ed790
|
| | |
| |
| |
| |
| |
| |
| |
| | |
When targetting >= CUR_DEVELOPMENT, the WebView.PictureListener.onNewPicture API
should pass a null picture in the callback.
Bug: 8209022, 8244082
Change-Id: I280c7cc89f2a12b1273cd67bbe2c7a6f2ca5892f
|
| |\|
| |
| |
| |
| |
| |
| | |
calculateDragAngle"
* commit '5782c16d34d839282978f94b1421e91da1e70cde':
Applying ChannelScrolling to remove calculateDragAngle
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
To avoid angle calculation changed the logic to use virtual areas.
When try to drag or pan, check where the current touch point locates
and determine how to drag a page.
Change-Id: Id9bd08a69c4ac93ff385c8088e6c16bed5dc5f88
Signed-off-by: kiwon <kiwon98.lee@samsung.com>
|
| | |
| |
| |
| |
| |
| |
| |
| | |
This ensures that performing an accessibility navigation action correctly
returns true or false based on the new selected element.
Bug: 8027669
Change-Id: Ib7b3e1ec92ef522b23b073d32878dc1dc05723e9
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
Refactor FindActionModeCallback to make it more suitable
for sharing between WebViewClassic and WebViewChromium.
Bug=5006564
Change-Id: Ic3156eb50f99033a17ba3f83d0b4f39ba992afa8
|
| |\|
| |
| |
| |
| |
| |
| | |
injection." into jb-mr1-dev
* commit '49c2756b1c4996e9ebcc70c89095f436790b5469':
Fix accessibility API injection.
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
Also adds a heartbeat check so that if something does go wrong while adding
the JavaScript APIs, we don't attempt to use the JavaScript-based screen
reader.
Bug: 7450237
Change-Id: Ifbce77cf93115f658386c520b8226941607b2afe
|
| |\|
| |
| |
| |
| |
| |
| | |
APIs unless a page is about to load." into jb-mr1-dev
* commit '935db6c5616d1bc67c3b077ba7ad8f64173792df':
Don't alter accessibility JS APIs unless a page is about to load.
|
| | |\
| | |
| | |
| | | |
into jb-mr1-dev
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Previously we were adding and removing the APIs on window attach and
detach, but a page's life cycle is not related to attach/detach. This
patch also ensures that ChromeVox is not null before calling. Includes
formatting fixes and extra comments in the waitForResultTimedLocked
method to improve readability. Fixes parsing of integer resultId, which
was being parsed using Long.
Bug: 7328348
Change-Id: I6b81a8e4d8209f8e99419da9b8250abe57e25048
|
| |\| |
| | |
| | |
| | |
| | |
| | |
| | | |
avoid rounding glitches" into jb-mr1-dev
* commit 'e45ecba93be4fa5a2ccfd64224b0710dc8712999':
Center text selection point to avoid rounding glitches
|
| | |/
| |
| |
| |
| |
| | |
Bug: 7313424
Change-Id: I5356bec61e3d1244b506486300f059aa0bba6d9e
|
| |\|
| |
| |
| |
| |
| |
| | |
mismatch" into jb-mr1-dev
* commit '93f7d42deb07bdbbc6cc0724247d6efce1f5a3e2':
Fix perf regression from scale/density mismatch
|
| | |
| |
| |
| |
| |
| | |
Bug: 7242941
Change-Id: I8a45e8ae589cecc6215566b995003b9eefb7827e
|
| |\|
| |
| |
| |
| |
| |
| | |
WebViewClassic!" into jb-mr1-dev
* commit '15edd2d5ad8ba17e183b5f1222ef39150df38397':
Get your own cursor Drawables, WebViewClassic!
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
These are shared resources! You can't just animate *everyone's*
cursors!
This is a hand-merge of Icdc86af4fba427a352019cd3e2017f97a3b9fdba
from jb-dev branch. I'm not sure why it wouldn't automerge, as it
seemed pretty straightforward...
Bug: 7110290
Change-Id: I131a611b9e16699a51d3769658f079c2ae4cf262
|
| |\|
| |
| |
| |
| |
| |
| | |
public." into jb-mr1-dev
* commit '6e28f1aacfa4c82ab0c8b740a24ed233b031272f':
Make JavascriptInterface annotation public.
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Bug: 7073422
This change makes @JavascriptInterface public and it requires
using this annotation to allow javascript access to public java
methods for API level JELLY_BEAN_MR1 and above. The behavior
does not change for API levels JELLY_BEAN and below.
Change-Id: I4108b17cf71b9ac273d7b61b1c8f7f5581e922ee
|
| |\|
| |
| |
| |
| |
| |
| | |
into jb-mr1-dev
* commit '77f02ca908e114df2e14a7671824f3374a509280':
Deleting the defunct SearchBox interface.
|
| | |
| |
| |
| | |
Change-Id: Iecb698dbe942d3c9680ad1135ba0d604aa211856
|
| |\|
| |
| |
| |
| |
| |
| | |
from webview." into jb-mr1-dev
* commit 'a7a5fa82cc997953b0206c4dd1d2ecc1b27f0cf2':
Remove defunct searchbox implementation from webview.
|
| | |
| |
| |
| |
| |
| |
| | |
The search box implementation has not been in use since ICS. This
removes dead code from webview.
Change-Id: I8a28eeeec556619abc4a902a3abec2ac52bad319
|
| |\|
| |
| |
| |
| |
| |
| | |
jsinterface objects" into jb-mr1-dev
* commit 'd2d3bff22c339bc30452a6c79b703b6d22f08d3b':
Control access to inherited methods of jsinterface objects
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Bug: 7073422
Create the plumbing to use an annotation to allow access to
inherited methods of jsinterface objects. The default webview
behavior has not changed yet. However internally an a flag is
introduced to restrict javascript access to methods that have an annotation.
Change-Id: I41927248e6bc4b09d17c0707c60fe5e6ab681e66
|
| |\|
| |
| |
| |
| | |
* commit '814b9a6cc161da3ec5c897783776faf48877d2e5':
Fix some destroy bugs
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Bug: 6961494
Don't call clearHelpers in destroy(). It is already called
in onDetach, which is where it needs to be. It can't be
called by the finalizer
Switch onCancel listener to onDismiss listener. Fixes an issue
where destroying can live the webcore thread hung because onCancel
won't be called, but onDismiss is
Change-Id: I669c389c8c9a81d92c27f88d83bcb711c6c0a5ee
|