summaryrefslogtreecommitdiffstats
path: root/WebKit/android
Commit message (Collapse)AuthorAgeFilesLines
* enhancing visibleRect tracking and making it work within iframes.Derek Sollenberger2009-08-043-15/+37
|
* Fixing mouse and touch coordinates inside iframes.Derek Sollenberger2009-08-032-4/+24
|
* Fix a bug in find.Leon Scroggins2009-07-311-10/+9
| | | | | | | | | | | Fix for http://b/issue?id=2021424. When trying to draw the matches, if we find that the page needs to be scrolled to put the match on screen, we request a scroll, do a viewInvalidate and stop, so that the matches will be drawn after the invalidate. Unfortunately, for some values, we do not end up scrolling, because contentToView turns the scroll into a no op. So we forever request scrolls, and never draw the matches. Fix this by getting a return value from scrollBy, and if it returned false, go ahead and draw the matches.
* rebuild the nav cache on mouse clicks during page loadCary Clark2009-07-315-24/+59
| | | | | | | | | | | | | | | 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.
* Allow user to jump to the next textfield.Leon Scroggins2009-07-315-21/+139
| | | | | | | | In CachedFrame, add methods to find the next textfield and to determine which ImeAction should be associated with a given textfield. In WebView, uses these apis to determine the ImeAction and jump to the next textfield and scroll it on screen. Requires a change to frameworks/base.
* Remove snapToAnchor as it is not used any more.Grace Kloba2009-07-302-65/+0
|
* Merge change 9149Android (Google) Code Review2009-07-301-1/+4
|\ | | | | | | | | * changes: Fix a bug in the ChromeClientAndroid where the m_newQuota was set to -1 after the call to the browser thread was made.
| * Fix a bug in the ChromeClientAndroid where the m_newQuota was set to -1 ↵Andrei Popescu2009-07-301-1/+4
| | | | | | | | after the call to the browser thread was made.
* | 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-292-0/+3
|
* Adds a GeolocationPermissions class.Steve Block2009-07-297-3/+446
|
* wire in the AppCache out-of-space callbackAndrei Popescu2009-07-293-35/+61
|
* Support double tap in the Browser.Grace Kloba2009-07-285-5/+66
| | | | | | | | | | | | | | | 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.
* Merge change 7883Android (Google) Code Review2009-07-282-0/+121
|\ | | | | | | | | * changes: Find left edge of column using nav cache data.
| * Find left edge of column using nav cache data.Cary Clark2009-07-282-0/+121
| | | | | | | | | | The function is currently unused, but will be used by Grace's double-tap experiment.
* | Merge change 8389Android (Google) Code Review2009-07-231-0/+1
|\ \ | | | | | | | | | | | | * changes: Clear the WebTextView when clicking on another node.
| * | Clear the WebTextView when clicking on another node.Leon Scroggins2009-07-231-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We already cleared it in the above case, when the user clicks on empty space. If the user clicks on a node, and it is not a text input, clear it. This fixes a bug on the Google home page, where the user has typed into the textfield, but then clicks on "more" and is then unable to click on Gmail, which is covered by the (invisible) WebTextView.
* | | 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 7734Android (Google) Code Review2009-07-231-2/+2
|\ \ \ | | | | | | | | | | | | | | | | * changes: Fix issue 1795088 Improve audio routing code
| * | | Fix issue 1795088 Improve audio routing codeEric Laurent2009-07-221-2/+2
| | | | | | | | | | | | | | | | Integrated comments after patch set 1 review.
* | | | 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.
* | | | Merge change 8031Android (Google) Code Review2009-07-221-12/+50
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | * changes: wire the appcache to the HTML5 UI
| * | | | wire the appcache to the HTML5 UIAndrei Popescu2009-07-211-12/+50
| | | | |
* | | | | Merge change 8010Android (Google) Code Review2009-07-222-0/+10
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | * changes: Implements a mechanism that limit the growth of the application cache
| * | | | Implements a mechanism that limit the growth of the application cacheAndrei Popescu2009-07-212-0/+10
| | | | |
* | | | | Merge change 8047Android (Google) Code Review2009-07-211-8/+4
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | * changes: Check for xml and text mime types through DOMImplementation.
| * | | | | Check for xml and text mime types through DOMImplementation.Patrick Scott2009-07-211-8/+4
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change in conjunction with a change in MimeTypeMap allows text extensions to map to text/* mime types. Previously, a text mime type would be downloaded instead of displayed if MimeTypeMap mapped a text extension to an unknown text mime type. Use DOMImplementation to check for xml and text mime types since it will compare the mime type to "text/"
* | | | | Fix a crash in plugins.Patrick Scott2009-07-211-1/+1
|/ / / /
* | | | removing visibleRect event and tracking rectangles instead.Derek Sollenberger2009-07-206-49/+201
| | | |
* | | | Remove format until plugins either need to know or ask to change it.Patrick Scott2009-07-202-3/+3
| | | |
* | | | Add Plugin APIs for creating and manipulating a Surface.Patrick Scott2009-07-209-12/+487
| |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | add fontdir api for pluginsMike Reed2009-07-172-59/+22
| |/ |/| | | | | remove unneeded fonttable apis
* | Adding plugin support for an RGBA surface view.Derek Sollenberger2009-07-174-4/+105
| |
* | 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.
* | Merge change 6306Android (Google) Code Review2009-07-101-0/+2
|\ \ | | | | | | | | | | | | * changes: hide the cursor when the link is followed
| * | hide the cursor when the link is followedCary Clark2009-07-061-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | The cursor position is preserved, so additional trackball navigation will start from where the cursor ring was drawn last. Hiding the cursor gets rid of confusion where the cursor ring stays visible when clicking on a link that does not go to a new page, or when the new page has a link at the same physical location as the old page.
* | | am cb86952d: Fix #1896846. Move reset the meta data from canHandleRequest to ↵Grace Kloba2009-07-091-9/+8
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | | | | transitionToCommittedForNewPage as canHandleRequest may not trigger to go to a new page. For example, if a link is to open in a new window, even canHandleRequest returns true, the current pag Merge commit 'cb86952d254446a800421b5804f886f8d87cd875' * commit 'cb86952d254446a800421b5804f886f8d87cd875': Fix #1896846. Move reset the meta data from canHandleRequest to transitionToCommittedForNewPage as canHandleRequest may not trigger to go to a new page. For example, if a link is to open in a new window, even canHandleRequest returns true, the current page doesn't switch to a new page. So we should not reset the meta data.
| * | Fix #1896846. Move reset the meta data from canHandleRequest to ↵Grace Kloba2009-07-081-9/+8
| | | | | | | | | | | | transitionToCommittedForNewPage as canHandleRequest may not trigger to go to a new page. For example, if a link is to open in a new window, even canHandleRequest returns true, the current page doesn't switch to a new page. So we should not reset the meta data.
* | | Merge change 6357Android (Google) Code Review2009-07-091-20/+12
|\ \ \ | | | | | | | | | | | | | | | | * changes: Add fullscreen support back in.
| * | | Add fullscreen support back in.Andrei Popescu2009-07-071-20/+12
| | | |
* | | | Add instrumentation for V8.Grace Kloba2009-07-082-0/+4
| | | |
* | | | 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-072-2/+2
| | | |
* | | | 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.
* | | am b116c1a0: Make deep copy of the String when use them in the UI thread as ↵Grace Kloba2009-07-061-2/+2
|\ \ \ | |/ / | | / | |/ |/| | | | | | | | | AtomicString is not thread safe. Merge commit 'b116c1a08412db8a748998c7e8a2ce851cbacacd' * commit 'b116c1a08412db8a748998c7e8a2ce851cbacacd': Make deep copy of the String when use them in the UI thread as AtomicString is not thread safe.