Commit Graph

2583 Commits

Author SHA1 Message Date
Steve Block
9bc26c0d8e Merge "Remove unused WebViewCore::isPaused() and setIsPaused()" 2012-05-22 10:32:03 -07:00
Steve Block
1866b3fe5d Remove unused WebViewCore::isPaused() and setIsPaused()
The last caller of these methods was removed in
I7be5b4224555bc8c3893b75275ac3a997a6677d1.

See WebKit change Ie645cb657407c34a63e5df6b0ade050f1780a7f0.

Change-Id: I9e5c0fd914f53d11e130ffcdc0e749f45dfe4013
2012-05-22 16:00:04 +01:00
George Mount
43857a8ddb Merge "Consider current scroll position to move text field into view." 2012-05-22 07:56:40 -07:00
Steve Block
7c22b1810c Merge "Switch Geolocation DRT methods to control client-based mock" 2012-05-22 06:15:07 -07:00
Steve Block
f3f60d9328 Switch Geolocation DRT methods to control client-based mock
Note that we plumb DRT Geolocation mock calls via WebView. This is required
because the WebCore client-based mock is not a static but is tied to the Page.

See WebKit change Ib74a3c05991593e75c3138415d4ac0bf0c9aefa9.

Bug: 6511338
Change-Id: I6d88d5dce5c2148812b191a5b452718bf0854aeb
2012-05-22 12:07:55 +01:00
Michael Kolb
56cb79416a am d4755c95: am ab68bbaf: Merge "add flag to websearch intent" into jb-dev
* commit 'd4755c952985c60b3b376a198e30bdee01048f9f':
  add flag to websearch intent
2012-05-21 14:33:00 -07:00
George Mount
f7a1a84d85 Consider current scroll position to move text field into view.
Bug 6530008

Change-Id: I6542dab70b64f809ec5dd4deb3511f8aa38278e1
2012-05-21 13:30:48 -07:00
John Reck
85712e6180 am 1f00a987: am 88b756cd: Merge "Don\'t show the touch highlight for double taps" into jb-dev
* commit '1f00a987ac693a81cbd3739b903e981465451305':
  Don't show the touch highlight for double taps
2012-05-21 12:44:09 -07:00
Charles Chen
828328489e am a48374db: am c6015df1: Merge "Add actions to non-JavaScript accessibility handler." into jb-dev
* commit 'a48374db17a04f12a60e9363721769dbfff01e65':
  Add actions to non-JavaScript accessibility handler.
2012-05-21 12:43:08 -07:00
Charles Chen
2e19d34137 am 4d39ba26: am 9a9a041c: Merge "Add movement actions to JS accessibility." into jb-dev
* commit '4d39ba269c890e2746f439ac52d91704744c25f3':
  Add movement actions to JS accessibility.
2012-05-21 12:43:05 -07:00
John Reck
0bbce0e8fb am ce619a96: am 3d6f7ead: Merge "Tweak show/hide of touch highlight" into jb-dev
* commit 'ce619a9675bcb2278bf9a078fb44bb4b1d728dd3':
  Tweak show/hide of touch highlight
2012-05-21 12:43:02 -07:00
George Mount
314fcc396f am aa5f8581: am ea1603de: Merge "Update the IME with selection and composing region changes." into jb-dev
* commit 'aa5f858176c903e94fa8ce07f5777d4935ef3a4e':
  Update the IME with selection and composing region changes.
2012-05-21 12:42:17 -07:00
George Mount
8d47082d8f am e0df34f6: am bb8549db: Merge "Sync the selection cursor when adjusting caret handle." into jb-dev
* commit 'e0df34f60374ce94b409b4360504fc7d2680db53':
  Sync the selection cursor when adjusting caret handle.
2012-05-21 12:42:13 -07:00
Svetoslav Ganov
d47ddda1ce am 91408aae: am 308904dc: Merge "Refactor WebView accessibility code into a separate class." into jb-dev
* commit '91408aae7ad61c2c38145ba1da235fffcb826544':
  Refactor WebView accessibility code into a separate class.
2012-05-21 12:40:26 -07:00
John Reck
a12712f836 am 5653f280: am 76c0c612: Merge "Don\'t send an ontouchmove until slop is exceeded" into jb-dev
* commit '5653f28030ef9ed5d457216cec67e1082c6b7ec4':
  Don't send an ontouchmove until slop is exceeded
2012-05-21 12:39:55 -07:00
George Mount
1b4aab6640 am 23542062: am 3c814072: Merge "Only clear the caret when in caret selection mode." into jb-dev
* commit '2354206216f13ace061c5000f045db066f6e074d':
  Only clear the caret when in caret selection mode.
2012-05-21 12:39:47 -07:00
George Mount
2a21049117 am 45240cb3: am 84c4b08b: Merge changes Ia5729aaf,I91584b7d into jb-dev
* commit '45240cb33ac88c5839df2e9c7e55c18b0aa7b517':
  Remove selection highlight when replacing/deleting.
  Don't do character add/delete when there is a selection.
2012-05-21 12:39:44 -07:00
Ben Murdoch
82a83da301 am d36bde24: am 93e3bf12: Merge "Fix up the WebCoreThreadWatchdog" into jb-dev
* commit 'd36bde2494a8635bc633d4bbd02f82bbfb72b7db':
  Fix up the WebCoreThreadWatchdog
2012-05-21 12:39:40 -07:00
Michael Kolb
3fe0bca0c3 add flag to websearch intent
Bug: 6372537

Change-Id: Ia3f8577ffdde2df5234016dd8d9ca83265b53e5e
2012-05-21 09:40:17 -07:00
George Mount
4527a8d641 Consider fixed layers when scrolling the edit box.
Bug 6147580
 Webkit Change: I810891decf0bad682e90f29f0f65c6b765b7d6d6

Change-Id: Idaa538824e611acd64eb5a4ccb7866d3c978a077
2012-05-18 13:56:27 -07:00
John Reck
88b756cd24 Merge "Don't show the touch highlight for double taps" into jb-dev 2012-05-17 20:03:17 -07:00
John Reck
aa5af8d004 Don't show the touch highlight for double taps
Bug: 6490959

Change-Id: I5a6cfa3d36f1df28d9c3b03e120f59581ee22c01
2012-05-17 19:57:08 -07:00
Charles Chen
c6015df128 Merge "Add actions to non-JavaScript accessibility handler." into jb-dev 2012-05-17 16:55:40 -07:00
Charles Chen
9a9a041cb7 Merge "Add movement actions to JS accessibility." into jb-dev 2012-05-17 16:55:20 -07:00
John Reck
3d6f7eadb2 Merge "Tweak show/hide of touch highlight" into jb-dev 2012-05-17 16:44:14 -07:00
George Mount
ea1603de2a Merge "Update the IME with selection and composing region changes." into jb-dev 2012-05-17 15:21:07 -07:00
George Mount
e41dfd9759 Sync the selection cursor when adjusting caret handle.
Bug 6512357

Change-Id: Ie8b0c6a17ea668b2c4ba9f3de404fdc0c2d319f8
2012-05-17 14:10:28 -07:00
John Reck
eb11f47353 Tweak show/hide of touch highlight
Bug: 6490959
 Fixes the issue where we will show the old tap highlight
 if webkit isn't quick enough to respond

Change-Id: Icd9864d276b6ad311e3f3dc4deaa7085e3769006
2012-05-17 13:47:39 -07:00
George Mount
cdd48a70df Update the IME with selection and composing region changes.
Bug 6507332
 The IME must be informed whenever the selection or composing
 region changes so that it can adjust its replacement regions
 and suggestions.

Change-Id: I484b112a2fede6528b0bc506711284b59bd886d1
2012-05-17 10:51:18 -07:00
Svetoslav Ganov
308904dcd0 Merge "Refactor WebView accessibility code into a separate class." into jb-dev 2012-05-17 10:32:27 -07:00
John Reck
76c0c612cd Merge "Don't send an ontouchmove until slop is exceeded" into jb-dev 2012-05-17 09:22:06 -07:00
George Mount
3c8140723f Merge "Only clear the caret when in caret selection mode." into jb-dev 2012-05-17 09:05:37 -07:00
George Mount
84c4b08bd4 Merge changes Ia5729aaf,I91584b7d into jb-dev
* changes:
  Remove selection highlight when replacing/deleting.
  Don't do character add/delete when there is a selection.
2012-05-17 09:05:30 -07:00
Ben Murdoch
74d37b9653 Fix up the WebCoreThreadWatchdog
Make the WebCoreWatchdog aware of the WebViews it is monitoring
(rather than the Activity context which may become stale) and
ensure that the code for the prompt dialog is run on the UI
thread.

Bug: 6420310
Change-Id: Ied003938edb04858c85bcc2491c4b2c4c0ede6eb
2012-05-17 12:38:07 +01:00
John Reck
94c478e9e5 Don't send an ontouchmove until slop is exceeded
Bug: 6490959

Change-Id: I0f447f65c84f9ce208ce52caba05e7dcb2f76bc5
2012-05-16 20:34:48 -07:00
alanv
6a62b77dfb Add actions to non-JavaScript accessibility handler.
Bug: 5932640
Change-Id: I302cfc6410d716ac46e1adb922de3079c4e4b4f3
2012-05-16 20:28:29 -07:00
alanv
448902d757 Add movement actions to JS accessibility.
Bug: 5932640
Change-Id: I80e210adbef266b1ec9bc1cad7eeacb70529bdba
2012-05-16 20:27:47 -07:00
alanv
525823a754 Refactor WebView accessibility code into a separate class.
Bug: 5932640
Change-Id: I52ab57f51c5904cbcf56307f17f406b2a30d6b91
2012-05-16 20:01:51 -07:00
John Reck
b27a4f9b0e Merge "Remove custom scrollbar logic" into jb-dev 2012-05-16 17:35:08 -07:00
John Reck
7c2e329ef2 Remove custom scrollbar logic
Bug: 6505722
 When we scroll the base layer we do so by calling scrollTo on the view,
 which handles all the scrollbar logic for us. Remove the custom keep alive
 code which floods the handler queue, as well as remove the unnecessary
 invalidate and awakenScrollbar calls (View does that for us)

Change-Id: Ia2503c549a22ec71d99295fe62b676fecc367ea3
2012-05-16 15:21:18 -07:00
George Mount
c4c3bc9b83 Remove selection highlight when replacing/deleting.
Bug 6506101

Change-Id: Ia5729aafa30cbb502e94adf92f7534cb552199a6
2012-05-16 15:20:03 -07:00
George Mount
0925a76bb9 Only clear the caret when in caret selection mode.
Bug 6506761

Change-Id: I5772691053bff30c25870e6068f5d85b850b7b81
2012-05-16 15:01:46 -07:00
John Reck
435e6f5fd2 Fix android:focusableInTouchMode support
Bug: 6448106

Change-Id: I17161754eaf08145623466a6db25893e3e5b2e16
2012-05-16 14:56:20 -07:00
George Mount
5d09bf69e2 Don't do character add/delete when there is a selection.
Bug 6506644

Change-Id: I91584b7df23951bc5e735b25161ed6e0bcdbc2b7
2012-05-16 14:56:09 -07:00
John Reck
7a59c5aebc Merge "Always do a HIT_TEST" into jb-dev 2012-05-15 16:55:45 -07:00
Chris Craik
6675f691ed Merge "Invalidate on new picture if scale/content size changes" into jb-dev 2012-05-15 15:28:21 -07:00
Chris Craik
02c2f45ea2 Invalidate on new picture if scale/content size changes
bug:6497496
Change-Id: Id6de6f83f7bf8a9a4ebcfed61e6b3985d7f19efe
2012-05-15 10:41:49 -07:00
George Mount
899f609f78 Only open CAB for long-press.
Bug 6182286

Change-Id: I18590c457548e63cf45f5f7b626f5e8bd855f521
2012-05-15 08:28:28 -07:00
John Reck
41f73bdf4d Always do a HIT_TEST
Bug: 6490959
 The issue here is that if the page calls preventDefault on a
 touchstart handler WebViewClassic will not do a HIT_TEST as it
 doesn't get the ACTION_DOWN. This means that the mouse is in the
 wrong position when the click ultimately fires.

 This changes it so that WebViewInputDispatcher will always do a
 HIT_TEST at the start of a touch stream, which ensures that the
 mouse is positioned correctly.

Change-Id: I1aaca7692e2c7aeedeb21fa3592cd4cb3223ea25
2012-05-14 18:40:48 -07:00
Chris Craik
dbd98bfecb Merge "Remove unused native method" into jb-dev 2012-05-14 17:04:10 -07:00