summaryrefslogtreecommitdiffstats
path: root/Source/WebKit/android/jni
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | Show layer tree in hierarchyviewerJohn Reck2012-06-141-0/+65
| | | | | | | | | | | | | | | | Change-Id: I2a53b157d40c630e7ca1361f8e0c8aca1d6e8a4e
* | | | Add detailed tracing to tile paintingChris Craik2012-06-131-1/+0
|/ / / | | | | | | | | | | | | bug:6653638 Change-Id: I839917feb1803bc1f4ace5aa2367067024a18706
* | | Merge "Fix edit text capturing selection."George Mount2012-06-122-23/+24
|\ \ \
| * | | Fix edit text capturing selection.George Mount2012-06-062-23/+24
| | | | | | | | | | | | | | | | | | | | | | | | Bug 6623128 Change-Id: Ia7a9f4bdf9478c8e1e8acb0e9f6e08d779185d11
* | | | am f8b2a5a3: am 7fc1c095: Merge "Remove forgotten CHROME_NETWORK_STACK ↵Selim Gurun2012-06-111-2/+0
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | macros" into jb-dev * commit 'f8b2a5a3e2f83bee801a2d19fc1073f37e95fb1f': Remove forgotten CHROME_NETWORK_STACK macros
| * | | Remove forgotten CHROME_NETWORK_STACK macrosSelim Gurun2012-06-081-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 6637033 It seems that somehow these macros were forgotten to be removed while dropping http stack, it is likely a merge/rebase issue. Change-Id: I37b14488dbfd786e3e0deab9775f42f21d2205e7
| * | | Merge "DO NOT MERGE Use scoped_refptr's rather than naked ptrs." into jb-devSelim Gurun2012-06-071-5/+5
| |\ \ \
| | * | | DO NOT MERGE Use scoped_refptr's rather than naked ptrs.Selim Gurun2012-06-071-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 6508448 Cherry pick from master, sha: 6c9f55f6f57bd4da36053c76a1cfce8a15a00a97 This is to make sure webkit usage of scoped refptrs are compatible with chromium changes, see bug for more details. Change-Id: Ib8aa3e29409bfe6fd94ef56376bd2ff2297ec868
* | | | | Merge "Support separation interface and implementations of WebView classes"Jonathan Dixon2012-06-081-33/+32
|\ \ \ \ \
| * | | | | Support separation interface and implementations of WebView classesJesse Greenwald2012-06-011-33/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | WebBackForwardList and WebHistory item are now separated in the Java code. This change is for the correpsonding JNI code. Change-Id: I7358932be6cd82d8558575e953246d9d065da9c2
* | | | | | Merge "Use scoped_refptr's rather than naked ptrs."Selim Gurun2012-06-071-5/+5
|\ \ \ \ \ \
| * | | | | | Use scoped_refptr's rather than naked ptrs.Selim Gurun2012-06-071-5/+5
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 6508448 This is to make sure webkit usage of scoped refptrs are compatible with chromium changes, see bug for more details. Change-Id: I24e3615ba961ba928d1074d54ea0bfe2d051519a
* | | | | | Fixed flipped selection handles.George Mount2012-06-061-1/+1
| |_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | Bug 6623406 Change-Id: Ib99d308fe97d245bc55ffb2557319efffb6e6e4f
* | | | | Fix scrolling behavior for text input and textarea.George Mount2012-06-062-23/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug 6614784 Change-Id: Ifb6ef42fc4df4b163f29c9777c79f42b60a65f4e
* | | | | Merge "Support selections within scrollable text areas."George Mount2012-06-042-40/+56
|\ \ \ \ \
| * | | | | Support selections within scrollable text areas.George Mount2012-06-042-40/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug 6557816 Change text selection to modify only the base or extent, not both points of the selection. Framework Change: I355b21e9062b5d364cfb278fda239a4ecdff16d1 Change-Id: I9a08633160eeb14d5c45246c6128aa02c1642e8d
* | | | | | Merge "Change from left/right to base/extent for selection handles."George Mount2012-06-042-22/+35
|\ \ \ \ \ \ | |/ / / / / | | / / / / | |/ / / / |/| | | |
| * | | | Change from left/right to base/extent for selection handles.George Mount2012-06-012-22/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 f3e42950: am 6b850721: Fixed mistake in how label was being mistakenly ↵George Mount2012-06-011-1/+1
|\ \ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | set into name. * commit 'f3e429507eba1a13e9afaf436e240fd81797c646': Fixed mistake in how label was being mistakenly set into name.
| * | | | Fixed mistake in how label was being mistakenly set into name.George Mount2012-06-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug 6594983 Change-Id: I8adf636345e5d5284e372e28176c31c7e937334d
* | | | | am c40f87a1: am b5d3edac: Merge "Invalidate webview content on ↵Chris Craik2012-05-311-0/+7
|\ \ \ \ \ | |/ / / / | | / / / | |/ / / |/| | | | | | | | | | | setBackgroundColor" into jb-dev * commit 'c40f87a1970b5377976087f2ffb4f0c621d39fd5': Invalidate webview content on setBackgroundColor
| * | | Invalidate webview content on setBackgroundColorChris Craik2012-05-311-0/+7
| |/ / | | | | | | | | | | | | bug:6593154 Change-Id: Ic9438f758c7c67d0a2e0579dbc53dcdf8dd109cd
* | | am c83120b4: am 658c3ec9: Merge "Consider frame offset for text snap ↵George Mount2012-05-302-19/+13
|\ \ \ | |/ / | | | | | | | | | | | | | | | rectangle." into jb-dev * commit 'c83120b4d089eed50a8c819256f065457529b862': Consider frame offset for text snap rectangle.
| * | Consider frame offset for text snap rectangle.George Mount2012-05-292-19/+13
| | | | | | | | | | | | | | | | | | Bug 6556824 Change-Id: I2c39bf3d7461cfe21e33fd18ab798ca824cbdd96
* | | am 8959907b: am 91f41286: Support skipping a touch stream due to lack of ↵John Reck2012-05-242-7/+16
|\ \ \ | |/ / | | | | | | | | | | | | | | | 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-242-7/+16
| | | | | | | | | | | | | | | | | | Bug: 6317798 Change-Id: I8c4cd3bf4c538aff202ed0e3f84982fb112936a1
* | | am fe5bfa1b: am 9c52999f: Merge "Move scrollOffset into Layer class" into jb-devChris Craik2012-05-241-1/+1
|\ \ \ | |/ / | | | | | | | | | * commit 'fe5bfa1befcb0e865d69d497280db9b16b361da8': Move scrollOffset into Layer class
| * | Merge "Move scrollOffset into Layer class" into jb-devChris Craik2012-05-241-1/+1
| |\ \
| | * | Move scrollOffset into Layer classChris Craik2012-05-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Layer can now use the offset to paint, resulting in correct translates for overflow:scroll layers in the Layer::draw() path. bug:6548000 Change-Id: I1dfb88b15491e72e6c3841ce2953e114124e40fd
* | | | am 284e9fee: am c8d518ba: Merge "properly convert data from utf-16 to utf-8 ↵Victoria Lease2012-05-241-3/+3
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | in LoadData()" into jb-dev * commit '284e9feef00d472eef6a2eb5757c85df23dd921a': properly convert data from utf-16 to utf-8 in LoadData()
| * | | Merge "properly convert data from utf-16 to utf-8 in LoadData()" into jb-devVictoria Lease2012-05-241-3/+3
| |\ \ \
| | * | | properly convert data from utf-16 to utf-8 in LoadData()Victoria Lease2012-05-241-3/+3
| | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | GetStringUTFChars() was turning U+1F382 into garbage data: 0xED 0xA0 0xBC 0xED 0xBE 0x82. WTF::String's UChar* constructor converts this codepoint into proper UTF-8: 0xF0 0x9F 0x8E 0x82. Bug: 5961185 Change-Id: Ie8f1ef9b633bda5f7e93570eab9118b35911e93e
* | | | am 9bada0c1: am 39ba1a3a: Merge "Don\'t send selection info to WebView for ↵George Mount2012-05-241-1/+5
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | unrendered selections." into jb-dev * commit '9bada0c1014db839ba690474105c2126c11ad317': Don't send selection info to WebView for unrendered selections.
| * | | Merge "Don't send selection info to WebView for unrendered selections." into ↵George Mount2012-05-241-1/+5
| |\ \ \ | | | | | | | | | | | | | | | jb-dev
| | * | | Don't send selection info to WebView for unrendered selections.George Mount2012-05-231-1/+5
| | |/ / | | | | | | | | | | | | | | | | | | | | Bug 6537569 Change-Id: Iefbb06ad9175f61b79d815c668754538febec4f5
* | | | am cd6a3bff: am 6f4fd96b: Merge "Don\'t set up background images if 1x1" ↵Nicolas Roard2012-05-231-2/+5
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | into jb-dev * commit 'cd6a3bff0abccf9f1c3c3351c6984be2c3124239': Don't set up background images if 1x1
| * | | Don't set up background images if 1x1Nicolas Roard2012-05-231-2/+5
| |/ / | | | | | | | | | | | | | | | | | | | | | We do this check in other places. We still need a better solution for the general case. bug:6540356 Change-Id: I3f75c62141d7b6993928927117d972d0ec224b55
* | | am 697d71c9: am 45aaa37e: Merge "Handle more favicon decoding error cases" ↵John Reck2012-05-224-15/+25
|\ \ \ | |/ / | | | | | | | | | | | | | | | into jb-dev * commit '697d71c9b19614584faef81da4ff9527aa2a334a': Handle more favicon decoding error cases
| * | Handle more favicon decoding error casesJohn Reck2012-05-224-15/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 6517530 Switch to having webcoreImageToSkBitmap return a pointer instead as it makes dealing with error cases easier. Also add a check to see if SkImageDecoder::DecodeMemory returned true or false, as if it returns false we may have already allocated pixels (so isNull = false), however it might not have valid data or any config Also aggressively check that we have a valid bitmap with a valid config Change-Id: I2a2e856a389d73cdda319eaeaee5d1279a9e2eb6
* | | Remove unused WebViewCore::isPaused() and setIsPaused()Steve Block2012-05-222-18/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | The last caller of these methods was removed in I7be5b4224555bc8c3893b75275ac3a997a6677d1. See framework change I9e5c0fd914f53d11e130ffcdc0e749f45dfe4013. Change-Id: Ie645cb657407c34a63e5df6b0ade050f1780a7f0
* | | Hook up client-based Geolocation mockSteve Block2012-05-221-27/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This simply involves updating GeolocationMock, which is called by DRT from Java, to call the GeolocationClientMock via GeolocationManager, rather than the old GeolocationServiceMock. Note that GeolocationClientMock is tied to a specific page, whereas GeolocationServiceMock had static methods, so we need to pass the WebViewCore from Java. We can now safely exclude the non-client-based files from the build. We pass all Geolocation LayoutTests, except for permission-denied-already-[error|success].html, which are flaky due to https://bugs.webkit.org/show_bug.cgi?id=87033. See corresponding framework change I6d88d5dce5c2148812b191a5b452718bf0854aeb. Bug: 6511338 Change-Id: Ib74a3c05991593e75c3138415d4ac0bf0c9aefa9
* | | Switch to client-based GeolocationSteve Block2012-05-225-47/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | am 655f75fe: am 2c52cc31: Merge "Switch to a 4ms/1s timer" into jb-devJohn Reck2012-05-212-3/+9
|\ \ \ | |/ / | | | | | | | | | * commit '655f75feeee4c396740a8e768888c7c8f0602cb8': Switch to a 4ms/1s timer
| * | Merge "Switch to a 4ms/1s timer" into jb-devJohn Reck2012-05-212-3/+9
| |\ \
| | * | Switch to a 4ms/1s timerJohn Reck2012-05-182-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 6523124 Bug: 6523033 Use a 4ms timer for foreground tabs, and a 1s timer for background tabs Change-Id: Iea061d63adf82f6e17dd2d47d382fcdfc588b7d3
* | | | am 0fec4094: am 6baa213e: Fix memory leak and repaint issues with fixed ↵Nicolas Roard2012-05-211-0/+2
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | background elements * commit '0fec40942c5e424610b19929bbcd0a1dd4f53246': Fix memory leak and repaint issues with fixed background elements
| * | | Fix memory leak and repaint issues with fixed background elementsNicolas Roard2012-05-181-0/+2
| |/ / | | | | | | | | | | | | | | | bug:6522485 bug:6486951 Change-Id: Ia707efed9311e4352eed3ab005ec7ca93b8444e4
* | | am c328457e: am 37df6b06: Merge "Fix mouse nudging in hit test" into jb-devJohn Reck2012-05-211-13/+20
|\ \ \ | |/ / | | | | | | | | | * commit 'c328457e578cf0c594ef7db2259754d3ee0b1fcd': Fix mouse nudging in hit test
| * | Fix mouse nudging in hit testJohn Reck2012-05-171-13/+20
| | | | | | | | | | | | | | | | | | Bug: 6490959 Change-Id: I3b9c17a69d15983093047b31d950c16894f6cd24
* | | am c085b5fe: am 02085505: Merge "Track where we want to click the mouse ↵John Reck2012-05-212-6/+16
|\ \ \ | |/ / | | | | | | | | | | | | | | | independently" into jb-dev * commit 'c085b5fefdf5cbd9a203f11ce239ee0dce48ec1d': Track where we want to click the mouse independently