Commit Graph

2676 Commits

Author SHA1 Message Date
George Mount
3281c38ec4 Broaden allowed selection criteria so selection doesn't disappear.
Bug 6675572

Change-Id: Ic69caac431539247d440c6bac08a3038e8641e99
2012-06-18 11:34:41 -07:00
Svetoslav Ganov
ce252553fd am 05fa21fa: am 4cb3b76c: Merge "Ensure WebViewClassic calls super.onHoverEvent()" into jb-dev
* commit '05fa21fa77962d302b040f66a1785e0dd84f3e0a':
  Ensure WebViewClassic calls super.onHoverEvent()
2012-06-18 10:50:08 -07:00
Teng-Hui Zhu
eaef0d8bb5 am c1d3b23b: am 2075f2d3: Merge "Notify Java side to start when transition into full screen mode without a reload." into jb-dev
* commit 'c1d3b23b54bb044bc2fbff83f1a3816b3a0f276b':
  Notify Java side to start when transition into full screen mode without a reload.
2012-06-18 10:49:09 -07:00
George Mount
b90ed58f61 Merge "Don't rely on focus change to detect edit-type selection." 2012-06-18 10:39:57 -07:00
Svetoslav Ganov
4cb3b76caa Merge "Ensure WebViewClassic calls super.onHoverEvent()" into jb-dev 2012-06-18 10:20:42 -07:00
alanv
eebebc9ff6 Ensure WebViewClassic calls super.onHoverEvent()
Bug: 6679763
Change-Id: I9b182f25fa1c4050ea3a046c896e82ffbb4651ad
2012-06-15 18:59:11 -07:00
Teng-Hui Zhu
2075f2d3e4 Merge "Notify Java side to start when transition into full screen mode without a reload." into jb-dev 2012-06-15 13:57:28 -07:00
Teng-Hui Zhu
6a9586bc57 Notify Java side to start when transition into full screen mode without a reload.
When video start in inline mode, and then transition into full screen mode, the
video is still playing, so we need to notify the player, such that the controller
can get the state correctly.

bug:6675847

Change-Id: Ib5f712ca91fe1c374dcc20de996dac6ff7b9e983
2012-06-15 11:27:34 -07:00
George Mount
4212a18890 Don't rely on focus change to detect edit-type selection.
Bug 6675316

Change-Id: Ib263a2d6c0a24c9c51363e42c0b44385d8afbc1d
2012-06-15 10:36:55 -07:00
John Reck
c0c66d33a8 Merge "Remove unused" 2012-06-15 09:38:07 -07:00
Svetoslav Ganov
9bec724d90 am 42fb511f: am 2657a59f: Merge "Add support for NEXT_HTML_ELEMENT to WebViewClassic." into jb-dev
* commit '42fb511f1b5dd399bda3cd9fb3896bfe428a7837':
  Add support for NEXT_HTML_ELEMENT to WebViewClassic.
2012-06-14 18:30:42 -07:00
Svetoslav Ganov
2657a59f54 Merge "Add support for NEXT_HTML_ELEMENT to WebViewClassic." into jb-dev 2012-06-14 17:19:54 -07:00
John Reck
c0dc36d19e Remove unused
Change-Id: If75de601f2fcf6309897f2005d505082e8cd4934
2012-06-14 17:19:27 -07:00
Svetoslav Ganov
6df7343222 am b6b2af3c: am 9add5654: Merge "AccessibilityInjector should return false on a failed action." into jb-dev
* commit 'b6b2af3cd182141030d6ffa8540d99058978e2d8':
  AccessibilityInjector should return false on a failed action.
2012-06-14 17:09:00 -07:00
George Mount
0777558f03 Merge "DO NOT MERGE Respect the "Make password visible" setting." into jb-dev 2012-06-14 16:14:16 -07:00
John Reck
dcd3f3757c Merge "Fix doc link" 2012-06-14 15:57:18 -07:00
John Reck
f2361156c4 Fix doc link
Change-Id: I5d2e6f04ed0ece6bf66b0b969c345108a1d372c5
2012-06-14 15:54:59 -07:00
alanv
8bab6de6e2 Add support for NEXT_HTML_ELEMENT to WebViewClassic.
Bug: 6663344
Change-Id: Ieb48998e3af12916fe499a12d5bf7a767df8d05b
2012-06-14 15:24:19 -07:00
George Mount
89654a8f69 DO NOT MERGE Respect the "Make password visible" setting.
Bug 6667146

 Webkit Change: I95ffcfa6fa47baad60b1af55f84bee35dfcc7972

Change-Id: I7fc107b02f73f4c54e8fe66484038ea9d7b69d61
2012-06-14 15:10:09 -07:00
George Mount
e579f4b781 Merge "Respect the "Make password visible" setting." 2012-06-14 15:08:07 -07:00
John Reck
e526f14e3b Merge "Show WebView layers in hierarchyviewer" 2012-06-14 14:42:40 -07:00
George Mount
94c1d843cb Respect the "Make password visible" setting.
Bug 6667146

 Webkit Change: I95ffcfa6fa47baad60b1af55f84bee35dfcc7972

Change-Id: I7fc107b02f73f4c54e8fe66484038ea9d7b69d61
2012-06-14 14:08:56 -07:00
John Reck
926cf56676 Show WebView layers in hierarchyviewer
Change-Id: I373e084d236baafe17982cfc367d167b81ca3e20
2012-06-14 14:01:20 -07:00
John Reck
1cc2374f28 am d6bcfeb5: am d54d7cfe: Merge "Call WebView.performLongClick instead of performLongClick()" into jb-dev
* commit 'd6bcfeb5e9bd5d198d81d48bf817e7f028e4e384':
  Call WebView.performLongClick instead of performLongClick()
2012-06-14 10:33:03 -07:00
Svetoslav Ganov
d8058ca556 AccessibilityInjector should return false on a failed action.
1. AccessibilityInjector was returning true even if the underlying
   JavaScript was not loaded/failed. This may lead to TalkBack getting
   stuck in a web view. To avoid this TalkBack requires gran1ularity
   change when getting into web view. This is neither advertised nor
   shown in the tutorial and which is worse it is inconsistent with
   the traversal of the app.

   Now if the action fails, false is returned and also the timeout for
   handling the action request is increased to 5s. Upon the completion
   of this timeout TalkBack may decide to show a wait dialog or just
   skip the web content. We are treating this as an ANR.

bug:6663344

Change-Id: Idf3d08fe928c495bb974a127f853de6f938e2f77
2012-06-13 20:26:48 -07:00
John Reck
a8ae3e94c4 Call WebView.performLongClick instead of performLongClick()
Bug: 6656538
 Due to the WebView/WebViewClassic refactor we need to call
 WebView.performLongClick instead of performLongClick directly
 to allow subclasses to override performLongClick

Change-Id: I9b580217fbafc82d03e63eabfdda9f5bad98db0f
2012-06-13 10:58:34 -07:00
George Mount
9b6eb6939e Hide handles when clipped by layer or edit region.
Bug 6590742
 Separated base and extent handle alpha so that they can
 be hidden individually. Added visiblity check and animations
 to show and hide the handles.

Change-Id: I08ce7f870bbb8e059550797afa18c2db39394caf
2012-06-12 16:08:20 -07:00
George Mount
7c79dd674a Merge "Move handle into view after using it for scrolling." 2012-06-12 08:32:48 -07:00
George Mount
ab70020137 Merge "Fix caret handle offset" 2012-06-12 08:32:35 -07:00
Steve Block
ca2ef2cbb1 Merge "Fix style for Geolocation mock mechanism" 2012-06-11 10:32:35 -07:00
Jonathan Dixon
65ae8d8705 Merge "Extract WebView Classic details from API classes." 2012-06-08 13:53:05 -07:00
Jonathan Dixon
57217f238e Merge "Separate interface and implementation of 2 more WebView classes" 2012-06-08 13:52:33 -07:00
Jonathan Dixon
73eeb7b5ed Extract WebView Classic details from API classes.
Last remaining bits:
- push JNUUtil.setContext call down into WebViewDatabaseClassic
- remove references to hidden ClientCertRequestHandler from the public API classes.

Change-Id: I9605dc2493b73fe8f22c7bb38c73d36632e0c7fa
2012-06-08 11:33:39 -07:00
John Reck
8d79d27275 am b4760127: am 839fd414: Merge "Eliminate gap between finalize() and destroy()" into jb-dev
* commit 'b47601279f8d5170d2beaaf7c1e8c9a713a972da':
  Eliminate gap between finalize() and destroy()
2012-06-07 17:21:42 -07:00
John Reck
5c25762bcf am 13b9d282: am 0e0ce11e: Merge "Stay in layer scroll if nothing to scroll" into jb-dev
* commit '13b9d28268d76b886be0a8cbd15a1d059c276d6b':
  Stay in layer scroll if nothing to scroll
2012-06-07 17:21:35 -07:00
John Reck
839fd4144e Merge "Eliminate gap between finalize() and destroy()" into jb-dev 2012-06-07 15:57:56 -07:00
John Reck
919c89e204 Stay in layer scroll if nothing to scroll
Bug: 6628376
 The issue here is that contentX & contentY can both be 0 if we are scrolling
 slowly enough as they are adjusted by the page's scale and can thus round down.
 However, this would result in us falling out of layer drag mode even though
 we haven't tried to scroll past the edge of the layer. Detect this case, and
 stay in layer scroll mode.

Change-Id: I3c655d0d03e8f89887abbe718bd24699c133ee1a
2012-06-07 14:45:34 -07:00
George Mount
1461a7c119 Move handle into view after using it for scrolling.
Bug 6623236

Change-Id: Ic9f9983cdfb58303ab497be0c33169c7785c0047
2012-06-07 14:38:05 -07:00
John Reck
d5e2937933 Eliminate gap between finalize() and destroy()
Bug: 6569073
 Only nativeDestroy and nativeStopGL need to be called on the UI thread,
 so split up destroyImpl into 3 functions, and only have the native
 destroy be pushed to the UI thread if necessary. Also make the work that
 is delayed be static without references to the finalizing WebView to allow
 it to be fully deleted immediately after finalization.

Change-Id: I4e424051e69df0bc409af95ca3f3d2b9e58a6b75
2012-06-07 13:14:57 -07:00
Chris Craik
d2ce0bc723 am 0df6d579: am 37e0c368: Merge "Revert "Add temporary functor detach logging"" into jb-dev
* commit '0df6d579dbe509c2d520c6f163ff2bafbd801208':
  Revert "Add temporary functor detach logging"
2012-06-06 17:05:13 -07:00
Chris Craik
37e0c3681e Merge "Revert "Add temporary functor detach logging"" into jb-dev 2012-06-06 16:59:01 -07:00
Chris Craik
aa3b7d88ef Revert "Add temporary functor detach logging"
bug:6608646

This reverts commit f98851ab37
2012-06-06 16:45:53 -07:00
George Mount
6b1e614f70 Merge "Fix scrolling behavior for text input and textarea." 2012-06-06 16:32:40 -07:00
George Mount
c6c83ce475 Fix scrolling behavior for text input and textarea.
Bug 6614784

Change-Id: I562a20e4cb07250794fc017e6d8b3885f7e8d6b8
2012-06-06 14:57:01 -07:00
Jesse Greenwald
fcc1f75bdf Separate interface and implementation of 2 more WebView classes
WebBackForwardList
WebHistoryItem

Bug: 5626244
Change-Id: Ia7f4b4487a103d8c897ac60d9f01a94e2458b034
2012-06-06 14:18:43 -07:00
Mangesh Ghiware
c1892e0c29 am f8e99204: am b215726a: Merge "Remove transient and unnecessary update density message." into jb-dev
* commit 'f8e99204c901d1d05960ed9a11c6af4a4e7dccd8':
  Remove transient and unnecessary update density message.
2012-06-06 08:41:28 -07:00
Mangesh Ghiware
c7ad10201b Remove transient and unnecessary update density message.
On a page load, the (viewport) metadata settings for the main frame are
reset. Reloading a page with viewport meta tag specifying target density
dpi will result in 2 back to back update zoom density messages to be
sent from WebViewCore to UI thread.

In setupViewport(), remove update density messages in flight. If the new
density is indeed different from WebView's default scale, queue another
message.

Bug: 6509512
Change-Id: I195e40277bf1bcccb0e61d84ed84db1e34556243
2012-06-05 18:46:10 -07:00
John Reck
1f1f21aaa8 am f671e430: am 804e822c: Merge "Fix logspam" into jb-dev
* commit 'f671e430159425ea1ce323f5eb0f59452b1a6fe1':
  Fix logspam
2012-06-05 16:56:38 -07:00
John Reck
eba5e7ddfb Fix logspam
Bug: 6508832

Change-Id: I3061917ae7eba31723c006b1d30d20b7134890b8
2012-06-05 13:22:40 -07:00
George Mount
9ab695be76 Fix caret handle offset
Bug 6614416

Change-Id: I610b0ac564a2e936731d36c7f7b0ee1bb9be6a99
2012-06-05 12:37:49 -07:00