summaryrefslogtreecommitdiffstats
path: root/WebKit/android/jni/WebCoreJni.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Merge WebKit at r75993: Move WebKit/android files to SourceBen Murdoch2011-05-161-117/+0
| | | | Change-Id: Ifa871f8320bdb3a09fe189fffecc23f702c394b9
* Add a stdStringToJstring() helper functionSteve Block2011-01-061-1/+7
| | | | Change-Id: I323c753d7ce22e0e23928a126cfb99c781a074f1
* Fix naming of wtfStringToJstring()Steve Block2011-01-061-1/+1
| | | | Change-Id: I3e1a4fb110fc9d312cc608c86fcaf7cb27431685
* WtfStringToJString should be able to return a valid string on empty inputBen Murdoch2010-12-011-2/+2
| | | | | | | | | | It is sometimes desirable to return a valid but 0-length string created from a 0-length WTF string but currently the WtfStringToJString function will always return a null jstring on an empty input. Add a parameter to specify that it should return an empty jstring on empty WTF string and default it to false. Change-Id: Ia449f1f9ae9b37c3da7d0272424e4fd4878ceb31
* Fix WebCoreStringToJString() to not delete the local reference to the new ↵Steve Block2010-11-011-0/+7
| | | | | | | | | | | | | jstring The JNI spec allows for local objects to be GC'ed before the JNI frame returns, so this is dangerous. Also rename the method to WtfStringToJstring() to match the existing jstringToWtfString() and update call sites to JNIEnv::NewString() to make use of it. Change-Id: I84aa25ba1aca2aee346bf6e3d83a58afc3a95219
* Move jstringToStdString into WebCoreJni.hIain Merrick2010-10-211-0/+14
| | | | | | | Also tweaked the implementation slightly to match jstringToString16, which is more robust. Change-Id: I614576615a6f429ea1632c395d5bc4e068c32cfb
* Rename to_string() to jstringToWtfString() for greater claritySteve Block2010-10-151-1/+1
| | | | Change-Id: I8516c4f39a38e236d0bff38a91fe8657cfcf8ad4
* Sync autofill profile data from java.Ben Murdoch2010-10-131-0/+16
| | | | | | | | | | | | | | Add the JNI bindings so that we can get the AutoFill profile data that the user entered in the Browser UI and inject that data into the WebAutoFill object. This eliminates the John Smith profile! Note that additional profile data such as addresses and phone numbers will be added very shortly. Requires a corresponding change to frameworks/base, see https://android-git.corp.google.com/g/#change,72204 Change-Id: Ie32100123ef0d868e1f7efb5604c6fac48725967
* Merge WebKit at r65072: String class has moved to the WTF namespace.Ben Murdoch2010-08-131-4/+4
| | | | | | See http://trac.webkit.org/changeset/65021 Change-Id: I779a8ec0c3e1e0aed8f8d1894cfc1e5ca33ee549
* Cherry-pick WebKit change 53497 to rename jni_utility and ↵Steve Block2010-01-201-2/+2
| | | | | | | | | | | jni_utility_private to JNIUtility and JNIUtilityPrivate See http://trac.webkit.org/changeset/53497 This is required to sync the Android tree with webkit.org to allow unforking in WebCore/bridge. This change required updating headers in Android-specific files in WebCore and WebKit. Change-Id: I4b80eb3eadcff66cbd261aa6ccef0f37927250b1
* am 7063c3ef: Merge change I67ad4b89 into eclair-mr2Steve Block2009-11-131-1/+2
|\ | | | | | | | | | | | | Merge commit '7063c3efe30d0ec965ac48439917030f62f50489' * commit '7063c3efe30d0ec965ac48439917030f62f50489': Fixes license headers for all files in WebKit/android, other than those in stl/.
| * Fixes license headers for all files in WebKit/android, other than those in stl/.Steve Block2009-11-131-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Use native weak references instead of our wrapper.Patrick Scott2009-10-271-33/+2
|/ | | | | | | | | | | | | | Revert "Add check null of getRealObject(). When a WebView is" This reverts commit b47ea2b1184167767692f88c1e5f3e4e89db04b2. Revert "Update the comment for checking null in needtouchevents." This reverts commit 1e67e45d20ead40b0407618abbc5e20840dc3c80. Revert "Check null for WebViewCore's nativeClass before calling" This reverts commit 992afbebfb735ec2dd52b4166c22ab55827d88ed. Fix a few places where DeleteLocalRef and DeleteGlobalRef were used incorrectly. Fix a compilation warning as well.
* Update the comment for checking null in needtouchevents.Grace Kloba2009-09-281-0/+1
| | | Add the header in WebCoreJni.cpp so that LOGE will be print out.
* Remove uncommented makefile conditional. Fix an assert condition.Patrick Scott2009-05-131-1/+1
|
* Fix #1835655. Hold a GlobalRef for WeakReferenceClass as it is used as a ↵Grace Kloba2009-05-121-2/+3
| | | | global variable.
* Shave ~60k off of libwebcore.so and make webcore_test always build.Patrick Scott2009-05-121-58/+3
| | | | | | | | | | | | | | | Build libwebcore as a static library first. Then build it as a shared library using the jni entry point as the single source file. This strips uneeded code out of the final library. Have webcore_test link against the static library so that the symbols are all visible. Update webcore_test to link against the new webkit drop as well. Rearrange the main makefile to create WEBKIT_* variables that a sub-makefile like webcore_test can use to define includes, cflags, and libraries. Manually add a dependency on the generated webkit source files. Verified that svg and v8 work as well as the simulator.
* Add WebStorage C++ implementation needed for the Browser UINicolas Roard2009-05-111-0/+2
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+155
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-155/+0
|
* auto import from //branches/cupcake/...@127101The Android Open Source Project2009-01-201-12/+0
|
* auto import from //branches/cupcake/...@126645The Android Open Source Project2009-01-151-16/+24
|
* Code drop from //branches/cupcake/...@124589The Android Open Source Project2008-12-171-0/+159