summaryrefslogtreecommitdiffstats
path: root/Source/WebKit/android/jni/WebViewCore.h
Commit message (Collapse)AuthorAgeFilesLines
* Text around selection falls back to caret rect when not in text.George Mount2012-08-231-1/+2
| | | | | | | | | Bug 7025068 When the input field is empty, the selection was appearing outside the input field. With this change, we fall back to the caret rect for the text around the caret. Change-Id: Ie6122ec34a0ae96994dc91b002bdcb3403b753eb
* Support fullscreen to inline video transition.Teng-Hui Zhu2012-06-271-1/+1
| | | | | | | | | | | | Basically, player is responsible to enter fullscreen mode such that we have the proper proxy updated on the Java side. bug:5710646 framework change: https://android-git.corp.google.com/g/#/c/202139/ Change-Id: Ie7adf620f2e9889142ef153e12d676a5f288bc0a
* Merge "Remove unused ENABLE_ANDROID_INSTALLABLE_WEB_APPS"George Mount2012-06-221-2/+0
|\
| * Remove unused ENABLE_ANDROID_INSTALLABLE_WEB_APPSGeorge Mount2012-06-211-2/+0
| | | | | | | | | | | | | | | | Remove an unused #define and code associated with it. This will smooth a possible future webkit merge. Framework change: Ibf046337cdabb9bee9cff8e3d77d9f69a59ecb15 Change-Id: I16d8c457a3f08996bc66401b241fe0db5a118975
* | Remove updateTextfield for changing passwords.George Mount2012-06-201-6/+2
|/ | | | | | | The UI no longer needs to know about password field changes as it is not required like it was with the removed WebTextView. Change-Id: I16a6bb44c31c83c5c3e9cb70f2bc865d5eb2732c
* Remove unused and fix build warningJohn Reck2012-06-141-3/+0
| | | | Change-Id: I68292b54638502d0769e6e8dbeea5d77eef901d0
* Fix edit text capturing selection.George Mount2012-06-061-2/+3
| | | | | | Bug 6623128 Change-Id: Ia7a9f4bdf9478c8e1e8acb0e9f6e08d779185d11
* Fix scrolling behavior for text input and textarea.George Mount2012-06-061-2/+2
| | | | | | Bug 6614784 Change-Id: Ifb6ef42fc4df4b163f29c9777c79f42b60a65f4e
* Support selections within scrollable text areas.George Mount2012-06-041-1/+1
| | | | | | | | | Bug 6557816 Change text selection to modify only the base or extent, not both points of the selection. Framework Change: I355b21e9062b5d364cfb278fda239a4ecdff16d1 Change-Id: I9a08633160eeb14d5c45246c6128aa02c1642e8d
* Change from left/right to base/extent for selection handles.George Mount2012-06-011-2/+2
| | | | | | | | | | | | Bug 6557816 This is a step in preparation to fix text area selection. It moves selection from left/right to base/extent. left/right can cause problems when dragging cursors -- it is sometimes difficult to tell which cursor should be dragged, the left or right, but we can always keep the base/extent constant. Framework Change: I2f9b963e93bb1ab86a9b26518fca52449b56d5d9 Change-Id: I5609d07ea2ee67fc08d15cfcad31f49302f33297
* am c83120b4: am 658c3ec9: Merge "Consider frame offset for text snap ↵George Mount2012-05-301-1/+1
|\ | | | | | | | | | | | | rectangle." into jb-dev * commit 'c83120b4d089eed50a8c819256f065457529b862': Consider frame offset for text snap rectangle.
| * Consider frame offset for text snap rectangle.George Mount2012-05-291-1/+1
| | | | | | | | | | | | Bug 6556824 Change-Id: I2c39bf3d7461cfe21e33fd18ab798ca824cbdd96
* | am 8959907b: am 91f41286: Support skipping a touch stream due to lack of ↵John Reck2012-05-241-1/+4
|\ \ | |/ | | | | | | | | | | handlers * commit '8959907b97e269d7183d4817f295234718b41365': Support skipping a touch stream due to lack of handlers
| * Support skipping a touch stream due to lack of handlersJohn Reck2012-05-241-1/+4
| | | | | | | | | | | | Bug: 6317798 Change-Id: I8c4cd3bf4c538aff202ed0e3f84982fb112936a1
* | Remove unused WebViewCore::isPaused() and setIsPaused()Steve Block2012-05-221-3/+0
| | | | | | | | | | | | | | | | | | The last caller of these methods was removed in I7be5b4224555bc8c3893b75275ac3a997a6677d1. See framework change I9e5c0fd914f53d11e130ffcdc0e749f45dfe4013. Change-Id: Ie645cb657407c34a63e5df6b0ade050f1780a7f0
* | Switch to client-based GeolocationSteve Block2012-05-221-0/+3
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The motivation for this switch is that it is required to enable PREEMPT_GEOLOCATION_PERMISSION. See b/4500947. The switch involves changing lots of Android's WebKit plumbing to use a new GeolocationClientAndroid in WebKit (called from WebCore::GeolocationController), rather than the existing GeolocationServiceAndroid in WebCore/platform (called from WebCore::Geolocation). This is complicated by the need to support mocking for LayoutTests. The pattern used is very similar to that used for DeviceOrientation and DeviceMotion. This patch ... - Enables CLIENT_BASED_GEOLOCATION - Leaves PREEMPT_GEOLOCATION_PERMISSION disabled for now - Removes GeolocationServiceAndroid - Adds a new GeolocationClientAndroid - Just a proxy to real client - Adds a new GeolocationManager - Manages switching between the real and mock clients - Provides the appropriate client to GeolocationClientAndroid - Plumbs to the real client calls for permissions and for suspending/resuming - Adds a new GeolocationClientImpl - The real client - Based heavily on GeolocationServiceAndroid - Delegates to GeolocationServiceBridge, as GeolocationServiceAndroid did - Calls back directly to GeolocationController - Owns the existing GeolocationPermissions - Updates WebViewCore to call the GeolocationManager for permissions and for suspending/resuming - Removes superfluous ChromeClient methods for permissions Note that support for mocking will be added in a later change. See bug for details. Bug: 6511338 Change-Id: I4cdbf55846e76b37c161834b83135b4dc48dbcdc
* Track where we want to click the mouse independentlyJohn Reck2012-05-161-1/+9
| | | | | | Bug: 6490959 Change-Id: I920167cb16723f63132ecdb5581fb7a19e4461dd
* Merge "flicker fix" into jb-devJohn Reck2012-05-151-6/+2
|\
| * flicker fixJohn Reck2012-05-151-6/+2
| | | | | | | | | | | | | | Bug: 6479523 After a layout, sync the compositing tree *before* doing any drawing Change-Id: I2c314731620be58c044f100ef335087961cbd223
* | Only start or end selection with non-empty text fields.George Mount2012-05-151-0/+2
|/ | | | | | Bug 6496951 Change-Id: I5ea68aebe4c3652eae49b20d4c07418725190549
* Change selection to work with left/right instead of base/extent.George Mount2012-05-141-6/+7
| | | | | | | | | | | Bug 5859620 Use the LTR/RTL content of the text selection to determine which handle is left and which is right. This simplifies text selection logic slightly and helps make RTL text selection handles work properly. Framework Change: Ib88ed2327182ba5b47b3e41584cbe944d05c8ada Change-Id: I3362c5034ce08ce1517a86882c13b78aff35fe3f
* Disable prerenders if we aren't focusedJohn Reck2012-05-081-0/+8
| | | | | | Bug: 6448418 Change-Id: I624d78a2b674cbd91ebe70008c70967101fbb12a
* Set the default scrollTo back to animate = falseJohn Reck2012-05-081-1/+1
| | | | | | | | Bug: 6427052 Originally changed as part of making keyboard navigation nicer, but had unintended side effects Change-Id: Ib3696490c0861df6a88e63e5af3a6e540e13986c
* Disable prerenders while scrollingJohn Reck2012-05-061-0/+1
| | | | | | Bug: 6445656 Change-Id: I3d9e2cece4b3ec86deb00e98ae98f281525dab48
* Rewrite PictureSet with TURBO!John Reck2012-05-021-12/+6
| | | | | | | | | | | | | | | | | | | | This changes how partial invals are done by adding a hybrid mode. What we used to do is generate a SkPicture for the new area. This SkPicture would possibly be larger than the actual inval, depending on various merge rules (more SkPictures == slower to draw a tile) The new code rewrites PictureSet entirely, preserving many of the old rules but cleans up the code and adds the concept of a "PrerenderedInval". This is a partial inval that WebKit has rasterized. By having WebKit produce both a SkPicture and a SkBitmap, we avoid needing to play back the picture and avoid overdrawing. We take this SkBitmap, and simply update the front textures with it. This gives us full partial invals through the entire system without hitting any driver bugs, and with minimal copies. And while the SkPicture may be larger than the inval, the SkBitmap that is rasterized is not - it matches the area webkit has said is dirty. Change-Id: Ieb7ecc9db0d4f679102fda004a43399f9b319ebc
* On new content, attach functor directlyChris Craik2012-04-251-3/+3
| | | | | | | | bug:6323847 depends on frameworks/base change: https://android-git.corp.google.com/g/#/c/184313/ Change-Id: I8f21317af746d501c92e338ce678434a2479576c
* Set initial focusJohn Reck2012-04-131-0/+1
| | | | | | Bug: 6108927 Change-Id: I150e75a7d1c0d971db03e407a58ba28acbd6283c
* Cleanup unused codeJohn Reck2012-04-111-21/+0
| | | | | | Bug: 6317798 Change-Id: I377753d119d74bbd2569be586d980081f78d15e7
* Merge "New touch input support"John Reck2012-04-111-0/+5
|\
| * New touch input supportJohn Reck2012-04-111-0/+5
| | | | | | | | | | | | Bug: 6317798 Change-Id: Idea47af14e282b42c902c8158f08f6742ba576da
* | Revert "Revert "Keep selection handles in edit fields.""George Mount2012-04-101-4/+5
| | | | | | This reverts commit eb4152454774fa6e38c8be1a2810bc893d494de3
* | Revert "Keep selection handles in edit fields."George Mount2012-04-101-5/+4
| | | | | | This reverts commit 76a09fb547aa97b2f0e9cbb1e4a800d61b30a477
* | Keep selection handles in edit fields.George Mount2012-04-101-4/+5
|/ | | | | | | Bug 6264769 Framework Change: I9ee89f8b1d4e6954092b8c4d677fb75b79354b36 Change-Id: Ie937a8c55da0f8aef66cfcee11beb961669b7168
* Merge "reduce JNI usage for findAll()/findNext()"Victoria Lease2012-04-091-1/+1
|\
| * reduce JNI usage for findAll()/findNext()Victoria Lease2012-04-041-1/+1
| | | | | | | | | | Bug: 6052412 Change-Id: I76b27408223212090558fa3e7a2c878a97549c2c
* | Implements a recording GraphicsContextNicolas Roard2012-04-061-0/+4
| | | | | | | | Change-Id: I41feadb23dce25af321331c459eb159c6141831b
* | Don't show keyboard on focus change.George Mount2012-04-021-1/+1
| | | | | | | | | | | | | | Bug 6270400 Framework Change: I2aa65b405b3a394b55821a4d688afeb22244c2c7 Change-Id: I1f06b7220e22665f5932928855c81eca6534bf2f
* | Remove unused FORM_DID_BLUR hooks.George Mount2012-04-021-7/+0
|/ | | | | | | Bug 6111763 Framework Change: I56a862a6c0f0d7799f4e935bb7f5103bb2edbb9b Change-Id: I015e1a57e81e897c124af5d96ba76b4d07a381fc
* Snap selection handles to text.George Mount2012-03-281-0/+1
| | | | | | | Bug 6198286 Framework Change: I3c51ed5f6988d58440badfbe8b076fd83d48ae2a Change-Id: I55604f3ec28586beaec5fd98a27c9f4b8a59a8a5
* Remove using namespace from WebViewCore.hJohn Reck2012-03-271-60/+74
| | | | Change-Id: Ia19117c876165a65f508d236193392940142d429
* Make paste window and caret handle show up at the right time.George Mount2012-03-201-2/+2
| | | | | | | Bug 6194009 Framework Change: I460db436bd79d8ff72b457b5878ffe468400031f Change-Id: I7f8bc7266df52a67245b0a971826fd14e0d715c5
* Update edit text size when the text changes so scroll works.George Mount2012-03-151-0/+6
| | | | | | | Bug 6176413 Framework Change: I6b8f244cd747d6d19c261d685a3cfb9ef4d71ec3 Change-Id: I487322ca9578c003f937b92ca4e8d46d34ea8c78
* Merge "Add scrolling editable text with a finger drag."George Mount2012-03-151-0/+3
|\
| * Add scrolling editable text with a finger drag.George Mount2012-03-141-0/+3
| | | | | | | | | | | | | | | | Bug 6156451 Framework Change: I1a16c708e5ea2ef8bd1f99197dacbc7831764ef4 Change-Id: Ie08712fb17b237fbb2d520d745ef8a2e489fd728
* | Refresh fonts when system locale is changedRussell Brenner2012-03-141-0/+6
|/ | | | | | | | When content is cleared, check for locale change and flush internal font caches, if necessary. Bug: 5873170 Change-Id: Ifba52e6e827444b41d08f1ca08c3b6f2c9d87462
* resolved conflicts for merge of f6d49173 to masterDerek Sollenberger2012-03-121-0/+1
|\ | | | | | | Change-Id: I5c3e6fe524ae5742420c5a6e092d92840e2754f0
| * Update WebKit with necessary changes for the Skia merge.Derek Sollenberger2012-03-061-0/+1
| | | | | | | | | | | | This CL address the modifications needed for r3312 of Skia Change-Id: I0574657e7a84e53c6b92cefbe07668e9467880db
* | Add back auto-completion and auto-fill.George Mount2012-03-091-0/+11
| | | | | | | | | | | | | | | | Bug 5993316 Framework Change: If00d42c0cb4f2c207f0d502e297741e1d6a68bf4 Change-Id: I9d09a924a579d2d4551bff0489670de71d04757e
* | Fix cursor rings for buttonsJohn Reck2012-03-061-0/+1
| | | | | | | | | | | | Bug: 6124914 Change-Id: I2a802ac7f83117acdac7d44cb872b9e3c227025f
* | Support passing focus to the chromeJohn Reck2012-03-061-0/+3
| | | | | | | | | | | | | | Bug: 6109044 This is primarily for tab navigation, arrow keys are handled differently Change-Id: I72968014535afe21bbcb43913bd11cbb676daaf9