summaryrefslogtreecommitdiffstats
path: root/WebKit/android/nav/WebView.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* in browser, return webview node to receive key eventsCary Clark2009-06-031-10/+22
| | | | | | Instead of returning the node that currently has focus, return the node that the cursor is on if it can handle key events.
* remove unneeded text parameters from WebViewCary Clark2009-06-031-11/+15
| | | | | | | | | Add convenience routines to consolidate cache builder and current focus fetches into one place. Remove unused functions. Use wantsKeyEvents attribute where applicable.
* Rename TextDialog to WebTextView.Leon Scroggins2009-06-021-6/+7
| | | | | | | This change corresponds to a change in frameworks/base which changes the name of the TextDialog to WebTextView. It also changed the method updateTextEntry to rebuildWebTextView. So, the native side needs to call the newly named method.
* in the browser, make the trackball more like a mouseCary Clark2009-06-011-901/+429
| | | | | | | | | | | | | | Older code treated the trackball as a four way dpad with equivalents to moving up, down, left and right by generating arrow key events. This change makes the trackball solely generate mousemove events. The old arrow keys in turn were mapped to be as close as possible to tab-key events that moved the focus. The new model leaves focus-changes to the DOM. Clicking the dpad is distinguished from pressing the enter key to be more compatible with desktop-authored web pages.
* fix browser monkey crash; add null checkCary Clark2009-05-181-0/+2
| | | | http://b/issue?id=1742161
* Trackball moves UI focus, but leaves DOM focus unchangedCary Clark2009-05-181-4/+0
| | | | | | | remove unused commonKitFocus function in WebView leave recompute focus position for now, but don't look at node index as a condition to abort fixOutOfDateFocus()
* remove isClick parameter in browser touch event handlerCary Clark2009-05-141-18/+13
| | | | | | isClick is always set to true by the callers, so remove it and simplify the code (http://b/issue?id=1666780; see also change in framework/base)
* use one rectangle for browser focus ringCary Clark2009-05-131-7/+12
| | | | | | | | | | | | Check to see if the potentially larger hit-test bounds can be used in place of the normal bounds, or if the normal bounds can be used in place of the individual text bounds. Construct a region out of the individual focus ring rectangles, then see if any text is drawn inside the bounds but outside of the focus ring. If not, use one rectangle instead of the rings.
* share xfermode and color routines with chrome portMike Reed2009-04-291-5/+2
| | | | | | Besides sharing those routines in SkiaUtils.cpp, also remove our (now redundant) android_setrect, etc. calls, since the type-conversion extras we added earlier take care of this by using constructors.
* keep webkit focus in sync with ui cache for text fieldsCary Clark2009-04-231-8/+16
| | | | | | | | | | | | | | | | | | | | | If WebViewCore::sendFinalFocus is called from the UI thread, postpone calls to WebViewCore::notifyFocusSet until after the focus is set. Don't allow WebViewCore::setSelection or WebViewCore::passToJs to change the webkit focus. In WebView::notifyFocusSet, read the cache after it has been updated. In WebView::focusIsTextArea and WebView::nativeFindAll, don't allow the new frame cache to fix the focus. If CachedFrame::setFocus has already set the focus, don't recompute its position. Add/revise debugging.
* AI 143515: Fix for issue 1730904: Find only searches the first part of large ↵Leon Scroggins2009-03-301-3/+0
| | | | | | | | pages. The previous fix, 142939-p9, allowed larger pages to be searched fully, but not with a length larger than a 16 bit number. In change 143089-p9, bitmap's width and height were promoted to 32 bits, so our previous fix is no longer necessary, and prevents larger pages from working. This removes the prior fix. BUG=1730904 Automated import of CL 143515
* AI 143340: am: CL 143189 am: CL 142939 Fix for issue 1730904: Find in page ↵Leon Scroggins2009-03-271-1/+3
| | | | | | | | | | | only searches the first part of large pages. Cap the width and height of the page so we do not overflow a 16 bit int and think the page is smaller than it is when performing the find. Original author: scroggo Merged from: //branches/cupcake/... Original author: android-build Merged from: //branches/donutburger/... Automated import of CL 143340
* Automated import from //branches/master/...@142298,142298Cary Clark2009-03-241-0/+3
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+2322
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-2322/+0
|
* auto import from //branches/cupcake/...@132569The Android Open Source Project2009-02-201-5/+8
|
* auto import from //branches/cupcake/...@132276The Android Open Source Project2009-02-191-10/+34
|
* auto import from //branches/cupcake/...@131421The Android Open Source Project2009-02-131-0/+14
|
* auto import from //branches/cupcake/...@130745The Android Open Source Project2009-02-101-25/+28
|
* auto import from //branches/cupcake/...@127436The Android Open Source Project2009-01-221-8/+17
|
* auto import from //branches/cupcake/...@127101The Android Open Source Project2009-01-201-17/+16
|
* auto import from //branches/cupcake/...@126645The Android Open Source Project2009-01-151-11/+20
|
* auto import from //branches/cupcake/...@125939The Android Open Source Project2009-01-091-64/+47
|
* Code drop from //branches/cupcake/...@124589The Android Open Source Project2008-12-171-0/+2278