summaryrefslogtreecommitdiff
path: root/core/java/android/webkit/SelectActionModeCallback.java
Commit message (Collapse)AuthorAgeFilesLines
* Delete the old WebView.Torne (Richard Coles)2013-10-151-149/+0
| | | | | | | | | 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
* Revert "Can not mark the same content of browser page after copy"John Reck2013-04-301-1/+1
| | | | | | | | This reverts commit 2b3cef0dd74cb9470e5387b015ee7a13af1fff7b Causes crashes in Email, reverting for now Change-Id: Ia0286763d0ab1f90c2b6082d44a6ca804769f49c
* Can not mark the same content of browser page after copyPeter Nilsson2013-04-101-1/+1
| | | | | | | | | | | | 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
* add flag to websearch intentMichael Kolb2012-05-211-0/+4
| | | | | | Bug: 6372537 Change-Id: Ia3f8577ffdde2df5234016dd8d9ca83265b53e5e
* Refactor WebView to be a thin proxy classJonathan Dixon2012-03-021-2/+2
| | | | | | | | | | | | | | | | 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
* Add support for optional titles in action modesAdam Powell2012-02-241-4/+2
| | | | | | | | | Optional titles will only be displayed in the CAB if they entirely fit instead of ellipsizing. Fixes bug 5821883 Change-Id: I0cfd6d4fd34a4fa9f520499d577706da30606811
* Add cut and paste to ContentEditable.George Mount2012-01-181-11/+42
| | | | | | | | | | | | Bug 5806267 Use visual selection to determine the webkit selection. The webkit selection can be used to cut text from an editable area. It can also be used to do better complex character text copy. Webkit change: I194c6d9e2add67151b97092a1a54f5c081296000 Change-Id: I56543d17670a8c98484314c89c7fa6a94cb809e4
* Fix bugs around overlay action modes.Adam Powell2011-10-031-5/+20
| | | | | | | | | | | | | | | | | | | | | | | | Multiple focusable windows cause undesired behavior around selection modes. TextView isn't sure how to behave when it loses window focus with regard to selection handles and action modes need to be focusable for WebView find on page since it uses an EditText as a custom view. For now: * Use a layered window decor for overlay action mode when there is no action bar requested. This eliminates an extra window and avoids the issue described for full-screen UIs. * Disable WebView's find-on-page mode when the action mode's UI will not be focusable. This only affects WebViews in floating windows. Also remove the "Text Selection" title for WebView's selection mode at UX's request, as it is inconsistent with TextView's selection mode and the string does not fit on phones in portrait even on wide devices. This now uses the same mechanism used in TextView to decide whether to use title text. Change-Id: I80caeecea9b47728cf26bb0a388153ca0bdeafe1
* New flag to open intent in a new tab.Leon Scroggins2011-02-231-0/+1
| | | | | | Bug:3405773 Change-Id: I363bfbfee90e98cd1e6a57452e599a79637a8555
* Do not open the keyboard when opening Find from CAB.Leon Scroggins2011-01-051-1/+1
| | | | | | | | | | | Bug:3312049 Do not start Find on page if the action mode fails to start. Clean up showFindDialog. Requires a change to packages/apps/Browser Change-Id: I204315665d3bf9f3ac78e78c4059c5a6f24695db
* Do not allow text selection if there is no ActionBar.Leon Scroggins2010-12-171-1/+5
| | | | | Bug:3276538 Change-Id: I060f14471e26e4bc1bf9773b847e0dbac9228426
* Add a "Web Search" option to the WebView select text ActionBarBen Murdoch2010-12-091-0/+8
| | | | | | | | This change allows selected text in a web view to be used as a search query. Bug: 3132422 Change-Id: I9ed2a5913641b37732586f8d8aa8a80c3486b606
* Fix page scroll during text selectionMichael Kolb2010-11-301-4/+0
| | | | | | | Bug: 3190609 Leave embedded title bar in place during text selection CAB mode Change-Id: I7140241ac7eeb442cfe7665580525d8cdfce220f
* Move Find on page and Select ActionModes to framework.Leon Scroggins2010-09-011-0/+92
Bug: 2938052 Requires a change to packages/apps/Browser Change-Id: I1bb1a47610b06c4bb02ef08647c02cc1dcaddb15