summaryrefslogtreecommitdiffstats
path: root/WebKit/android/nav/CachedNode.cpp
Commit message (Collapse)AuthorAgeFilesLines
* move input-related fields out of CachedNode to expandCary Clark2009-12-041-31/+23
| | | | | | | | | | | | | Some of the fields in CachedNode are relevant only to input fields and text areas. Move these into their own vector so that we can add more data without making all CacheNodes bigger. Remove CacheNode entries that are no longer used, or can be consolidated into the node type. Alphabetize some interfaces and implementations. Update the debugging output. part of http://b/2299660
* fix bugs in nav cache dumpCary Clark2009-11-301-4/+10
| | | | | | | Fix errors in empty frames, escape character sequences, and characters outside the ascii range. These fixes are specific to dumping the nav cache and are commented out in all builds.
* Fixes license headers for all files in WebKit/android, other than those in stl/.Steve Block2009-11-131-1/+1
| | | | | | | | | | | | | These files have not yet been upstreamed to webkit.org. WebKit requires either a BSD-style or LGPL 2.1 license for all code. We use a BSD-style 2-clause license for Android-specific files that will be upstreamed to webkit.org. This change adds licenses where absent or simply fixes the names of copyright holders in the license text to 'THE COPYRIGHT OWNER' and cleans up formatting. Files in stl/ currently use licenses other than BSD-style and will require more careful treatment. Change-Id: I67ad4b8932e432d3eaaeecdfeb0d09418496228d
* fix webkit hidden cursor, address crashCary Clark2009-06-161-1/+1
| | | | | | | | http://b/issue?id=1918891 set cursor node hidden to 'true' to hide it also fixing crash if detecting text address runs out of text to look at
* more (browser) trackball-is-a-mouse work in progressCary Clark2009-06-111-1/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | WebViewCore.cpp: Add parameter to CachedRoot::findAt to suppress check for hidden nodes. This helps find a best match for newly built nav caches. Require that the new cursor node closely match the bounds of the prior cursor node. This may need tuning. CacheBuilder.cpp: Remove isInput flag on cached nodes (no longer used) CachedFrame.cpp: Add hideCursor to complement clearCursor. Hide prevents the cursor from drawing but does not move it. Clear removes it altogether so that the next movement starts from the viewPort edge. CachedHistory.cpp: Don't special case text fields when doing history navigation. This special casing in part allowed setting the focus to the homepage input, but since focus is no longer set by nav, it is not required. CachedNode.cpp: Add hideCursor; clean up debugging CachedRoot.cpp: Use navBounds from history instead of cursor bounds to determine next move. Clean up some obsolete code. WebView.cpp: Add hideCursor; call it when appropriate.
* in the browser, make the trackball more like a mouseCary Clark2009-06-011-40/+39
| | | | | | | | | | | | | | 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.
* use one rectangle for browser focus ringCary Clark2009-05-131-2/+18
| | | | | | | | | | | | 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.
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+346
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-346/+0
|
* auto import from //branches/cupcake/...@130745The Android Open Source Project2009-02-101-0/+6
|
* auto import from //branches/cupcake/...@126645The Android Open Source Project2009-01-151-11/+19
|
* Code drop from //branches/cupcake/...@124589The Android Open Source Project2008-12-171-0/+332