summaryrefslogtreecommitdiffstats
path: root/WebKit/android/jni
Commit message (Collapse)AuthorAgeFilesLines
* enhancing visibleRect tracking and making it work within iframes.Derek Sollenberger2009-08-041-1/+1
|
* rebuild the nav cache on mouse clicks during page loadCary Clark2009-07-312-2/+22
| | | | | | | | | | | | | | | While the page is loading, the nav cache is not rebuilt. Double-click zooms out the web page by using the nav cache to find the left edge of the column -- but fails to work during page load. This change rebuilds the nav cache (if the page is loading) each time a mouse click is sent to webkit. This doesn't fix the bug where the first double click doesn't align the column correctly, but helps with subsequent clicks. Also, pass scale information to getBlockLeftEdge so it can restrict its search to the area that will be zoomed to. Default to the point clicked if no alignment info can be found.
* Remove snapToAnchor as it is not used any more.Grace Kloba2009-07-302-65/+0
|
* Adds the C++ side of the system to show the Geolocation permissions prompt.Steve Block2009-07-301-2/+26
|
* Adds GeolocationPermissionsBridge.Steve Block2009-07-292-2/+104
|
* Remove the WebIconDatabase thread attachment since ThreadingPthreads does it.Patrick Scott2009-07-291-19/+2
| | | | | Also, delete threadData if pthread_create fails. This is a rare occurance but we don't want to leak memory just in case.
* Fixes build bustage due to GeolocationPermissions.Steve Block2009-07-291-0/+1
|
* Adds a GeolocationPermissions class.Steve Block2009-07-293-1/+31
|
* wire in the AppCache out-of-space callbackAndrei Popescu2009-07-292-7/+26
|
* Support double tap in the Browser.Grace Kloba2009-07-283-2/+39
| | | | | | | | | | | | | | | Add api to get the left edge of the block from the current (x,y). The code was copied from Cary's change. Todo: 1.need some tuning as we can see from nytimes.com that some times the left edge is not correct. 2.currently nav cache is not up to date while loading. This means the left edge may not be correct during loading. 3.if (x,y) is over an edit text box, or image, it should return the left edge of it. Currently it is not working as expected. Added the code to store the extra scale factor, so that back/forward history works correctly.
* Improve dragging on WebTextView.Leon Scroggins2009-07-232-1/+36
| | | | | When the WebTextView scrolls, scroll the corresponding RenderTextControl in webkit. Requires a change in frameworks/base.
* Merge change 8191Android (Google) Code Review2009-07-231-0/+5
|\ | | | | | | | | * changes: Enforce app cache maximum size
| * Enforce app cache maximum sizeAndrei Popescu2009-07-221-0/+5
| |
* | am 70522f5f: adjust right edge of copy bounds if edge is not foundCary Clark2009-07-221-2/+8
|\ \ | |/ |/| | | | | | | | | Merge commit '70522f5f5fb44f2f4df7a08aa64263c619e299cb' * commit '70522f5f5fb44f2f4df7a08aa64263c619e299cb': adjust right edge of copy bounds if edge is not found
| * adjust right edge of copy bounds if edge is not foundCary Clark2009-07-211-2/+8
| | | | | | | | | | | | | | Sometimes the right edge of the copy rectangle misses the right-most character to be copied. An earlier change over- compensated by moving the edge boundary by 2. Now, move the edge boundary by 1, and if that fails, try 2.
| * Add <keygen> support for VPN team.Grace Kloba2009-06-123-1/+65
| |
| * DO NOT MERGE.Grace Kloba2009-06-101-0/+25
| | | | | | | | | | | | Merge 2390 from master to donut. Added postUrl() to WebView so that we can pass lat/lon for the search.
* | wire the appcache to the HTML5 UIAndrei Popescu2009-07-211-12/+50
| |
* | removing visibleRect event and tracking rectangles instead.Derek Sollenberger2009-07-202-17/+22
| |
* | Add Plugin APIs for creating and manipulating a Surface.Patrick Scott2009-07-202-0/+67
| | | | | | | | | | | | | | | | | | | | | | | | SurfaceCallback: An interface used to receive the surface change events. The PluginSurface then sends those events to the actual plugin. PluginSurface: A wrapper around the native Surface object obtained from the Java SurfaceView. This object can lock and unlock the surface and takes care of creating, positioning and destroying the Java SurfaceView. Changed PluginWidgetAndroid to not use SkFlipPixelRef when the drawing model is Surface.
* | Turn on webcore's request management and remove our hacks.Patrick Scott2009-07-152-4/+3
| | | | | | | | | | | | With only turning on request management (no fine tuning of parameters), loading cnn.com was 3-4 seconds faster and the main content displayed about 1-2 seconds sooner.
* | Use fRight and fBottom instead of width() and height().Patrick Scott2009-07-071-2/+7
| | | | | | | | | | | | The methods width() and height() take in to account negative values for fLeft and fTop. This can cause the width and height to be larger than the visible rectangle which was causing cnn.com to grow arbitrarily large.
* | fixing a typo in the android plugin api.Derek Sollenberger2009-07-071-1/+1
| |
* | Update text webcore thread's text generation number.Leon Scroggins2009-07-072-10/+16
| | | | | | | | | | | | | | | | When the user edits text in a textfield, we increase a generation number so we can mark changes from webkit to be out of date. With this change, update webcore's notion of the text generation number in deleteSelection and replaceTextfieldText, in addition to passToJs. Requires a change in frameworks/base.
* | added gain/loose focus support for plugins. (focus = eligible to receive ↵Derek Sollenberger2009-07-022-3/+51
| | | | | | | | user events)
* | Update the nav cache when selected elements change or moveCary Clark2009-07-012-26/+36
| | | | | | | | | | | | This helps superpudu recompute the cursor ring more frequently when the floating bar moves. It also helps update the nav cache when navigating during a page load.
* | Fix a WebView longpress bug.Leon Scroggins2009-06-301-7/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Longpressing on a WebView while the WebTextView is up calls WebTextView::performLongPress(). This used to be fine, but now we may still leave the WebTextView up while the user is longpressing on something else. Check to ensure that the focus is the same as the cursor before calling WebTextView's version. Also, send a click if the user longpresses on a different WebTextView, so it will now behave appropriately. Requires a change in frameworks/base. Provide a setter on CachedHistory to set the mousebounds, and set it in selectBestAt, so that getSimulatedMousePosition uses the correct information. Also edit some comments to refer to the cursor rather than the focus. In WebView.cpp, use the delete TypingCommand, making deleting and cutting work once again.
* | Make the caret/selection draw when gaining window focus.Leon Scroggins2009-06-301-7/+7
| | | | | | | | | | | | | | When the WebView loses WindowFocus, we stop drawing the selection. We need to resume drawing it, especially for the context menu, which steals WindowFocus. Corresponds to a change in frameworks.
* | Remove incorrect commentsFeng Qian2009-06-291-4/+0
| | | | | | | | Also no need to change order between libv8 and libxml2.
* | Add SetJSFlags option in debug mode.Feng Qian2009-06-291-0/+20
| |
* | As WebKit takes "expires" as String, we can pass it directly with the rest ↵Grace Kloba2009-06-292-8/+3
| | | | | | | | of the headers.
* | Adding support for plugins to request the keyboard.Derek Sollenberger2009-06-292-0/+15
| |
* | Remove the web text view if the key press is abandonedCary Clark2009-06-292-1/+12
| | | | | | | | Requires companion change in frameworks/base
* | work in progress to enable plugins to receive arrow keysCary Clark2009-06-292-57/+26
| | | | | | | | | | | | | | | | | | | | | | | | Consolidate key handling. Simplify interface between android and webkit so multiple clients can use common code to pass keys. Add helper to return if cached node is plugin. Use WebView::m_clickedOnPlugin to remember active plugins. Add WebView.MOVE_CURSOR to replay key events the plugin doesn't want.
* | Make clicking the trackball on a <select> element work.Leon Scroggins2009-06-262-18/+19
| | | | | | | | | | | | | | | | Optionally pass a frame and node pointer to nativeClick, since the hit testing does not find the HTMLSelectElement node. Also change the signature of nativeClick to return void, since we never use the return value. Requires a change in frameworks/base.
* | Merge change 5393Android (Google) Code Review2009-06-251-1/+1
|\ \ | | | | | | | | | | | | * changes: throttle plugin draws to 60fps, so we don't swamp the CPU to no visual avail.
| * | throttle plugin draws to 60fps, so we don't swamp the CPU to no visual avail.Mike Reed2009-06-251-1/+1
| | |
* | | Fix for the new webkit. "expires" now takes the string instead of int.Grace Kloba2009-06-252-8/+8
|/ /
* | add zoom field to visibleRect eventMike Reed2009-06-242-18/+14
| |
* | set trackball click to the edge of the text field, not the middleCary Clark2009-06-241-4/+16
| | | | | | | | | | | | | | | | Add clicking, key debug statements in WebViewCore.cpp. Fix dumping nav tree to use NamedNodeMap. Set click point to be start of text field, end of text area, middle of others. Make CachedRoot::getSimulatedMousePosition, callers const
* | Adding keyEvent support for plugins.Derek Sollenberger2009-06-232-23/+26
| |
* | Fix <select with multiple and/or size > 1.Leon Scroggins2009-06-231-2/+2
| | | | | | | | | | | | | | | | | | With the latest WebKit drop we lost a hack we had to make ListBoxes behave like MenuLists. Rather than reviving it, now in WebViewCore check for isListBox(). This makes a click once again open the list so the user can choose the selection. Also disable WebKit's drawing of the text shown, and simply draw it ourselves, so we can draw nothing or the first item selected.
* | Fix V8 build.Feng Qian2009-06-221-1/+1
| |
* | Merge change 4941Android (Google) Code Review2009-06-221-7/+1
|\ \ | | | | | | | | | | | | * changes: Remove ANDROID_USER_GESTURE as the bug it fixed no longer applies.
| * | Remove ANDROID_USER_GESTURE as the bug it fixed no longer applies.Patrick Scott2009-06-221-7/+1
| | | | | | | | | | | | | | | | | | | | | I tested the original bug and found that without this change, the link works perfectly fine. The only thing that does not work with this change is redirects within iframes that are to non-http protocols. This is ok since iframes can always change the parent window's location if this is the desired behavior.
* | | rebuild WebView nav cache on trackball move, other bugsCary Clark2009-06-222-10/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When the WebViewCore picture set is recomputed, check to see if the trackball has moved since the last time. If so, rebuild the nav cache even if dom version checking is disabled. If there's no focus node ready to receive a key event, check to see if the cursor is hovering over a plugin, and give it the event instead. Update all cursor state in both places it could change.
* | | Providing plugins with scrolling ability as well as an event informing the ↵Derek Sollenberger2009-06-222-2/+40
|/ / | | | | | | plugin of the document's visibleRect.
* | Merge change 4804Android (Google) Code Review2009-06-191-5/+4
|\ \ | | | | | | | | | | | | * changes: Ues loadFrameRequest instead of loadPostRequest so that we don't need to change WebKit any more.
| * | Ues loadFrameRequest instead of loadPostRequest so that we don't need to ↵Grace Kloba2009-06-191-5/+4
| | | | | | | | | | | | change WebKit any more.
* | | Update our <select> to work with the latest webkit.Leon Scroggins2009-06-191-7/+10
|/ / | | | | | | | | | | | | Remove a webkit change that makes some functions public for our use. Instead, use a pointer to a base class where those functions are already public. In one case where a function has been removed, call another function which behaves the same.