summaryrefslogtreecommitdiffstats
path: root/WebKit/android/WebCoreSupport
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | Sync autofill profile data from java.Ben Murdoch2010-10-132-20/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 "Implement DeviceMotionEvent"Steve Block2010-10-131-1/+2
|\ \ \ \ | |/ / / |/| | |
| * | | Implement DeviceMotionEventSteve Block2010-10-081-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Requires a corresponding change in frameworks/base ... https://android-git.corp.google.com/g/72907 Bug: 2495651 Change-Id: I8ba07a0280b96379b3717a707184d719da6266bf
* | | | Fix WebCore/WebKit layering violation.Ben Murdoch2010-10-081-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move the call to WebViewCore::updateTextfield() to the PlatformBridge so that WebCore code does not depend on WebKit code to compile. In addition to being a layering violation, the inclusion of WebViewCore.h includes WebCoreJni.h, which in a future change causes LOG to get #undefined when using the chromium net stack. Change-Id: Id88d332624323e03ce82120ef55db200cbabe63b
* | | | Fix a WebCore/WebKit layering violationBen Murdoch2010-10-081-0/+6
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move the call to WebViewCore::updateViewport() from HTMLBodyElement and HTMLMetaElement to the PlatformBridge so that WebCore code does not depend on WebKit code to compile. In addition to being a layering violation, the inclusion of WebViewCore.h includes WebCoreJni.h, which in a future change causes LOG to get #undefined when using the chromium net stack. Change-Id: I1a9fd0b545080c9c0d9d26a3e5eb3b986c3986eb
* | | Merge "Prepare DeviceOrientationManager for implementation of DeviceMotion"Steve Block2010-10-081-1/+1
|\ \ \
| * | | Prepare DeviceOrientationManager for implementation of DeviceMotionSteve Block2010-10-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To avoid additional boilerplate, this class will will be used for both DeviceOrientation and DeviceMotion. This change does not involve any change in behaviour, only renaming and adding stubs. Change-Id: I0d6c9e1c2fc8d919ccbd048b068d898110707f0e
* | | | Remove dependency of WebCore ScreenAndroid on platform APISteve Block2010-10-081-1/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Note that this change forks two WebCore files, but both files are already forked and are unlikely to be changed upstream by non-Android contributors. All changes to both files will be upstreamed at a later date. Bug: 2439218 Change-Id: I1e56ee12cec17df38a1404ab06c8897c22f2fd19
* | | | Revert "Prohibit scrolling not initiated by the user."Leon Scroggins2010-10-071-12/+0
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug:3067265 This reverts commit f116b073399a3c3f644d6e6aeb2521ef9d2c9e9b. Conflicts: WebCore/platform/android/PlatformBridge.h WebKit/android/WebCoreSupport/PlatformBridge.cpp Change-Id: I358ce936a8c6f99717b976cfa07e7fe26014760a
* | | Merge WebKit at r68651 : Added WebCore::Page* parameter to ↵Kristian Monsen2010-10-072-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | didTransferChildFrameToNewDocument Introduced in webkit CL: http://trac.webkit.org/changeset/68576 Most platforms do not use the parameter in the first implementation. Change-Id: I704b45af56bee85f277b737412549abcfeb90b08
* | | Merge WebKit at r68651 : Default implementation for allowScriptExtensionKristian Monsen2010-10-071-0/+2
| | | | | | | | | | | | | | | | | | | | | Just added a default implementation that always return true. http://trac.webkit.org/changeset/68061 Change-Id: I0f740ac32369580953b2fdbe071316521b9b2382
* | | Merge WebKit at r68651 : Implement controller destroyed callbacks for ↵Steve Block2010-10-074-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | DeviceOrientation and DeviceMotion See http://trac.webkit.org/changeset/67949 Change-Id: Ide94a861a7468d4eef3a238696aad754c8924aed
* | | Implement supportsType in MediaPlayerPrivateAndroid.Shimeng (Simon) Wang2010-10-061-0/+7
| | | | | | | | | | | | | | | | | | | | | Use Java API to obtain this info. issue: 2816278 Change-Id: Ia525cc84f9a18ad2f9868d9f13d3671da527e5e0
* | | Hook up WebView.clearCache() for the Chromium HTTP stackSteve Block2010-10-063-0/+156
| | | | | | | | | | | | | | | Bug: 2999397 Change-Id: If104a32fa2fd56cf60fdd37a4193a0ec4e0065e2
* | | Merge changes I27224716,I6102bbceKristian Monsen2010-10-051-2/+3
|\ \ \ | | | | | | | | | | | | | | | | | | | | * changes: Don't include JavaScriptCore/config.h from WebCore/WebCorePrefix.h Generate files correctly
| * | | Don't include JavaScriptCore/config.h from WebCore/WebCorePrefix.hKristian Monsen2010-10-051-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a cherry-pick of the following upstream CL: https://bugs.webkit.org/show_bug.cgi?id=47179 This violates the rules at the top of the file, and means that it will be included before any other includes for all compilation units. We are now just including JavaScriptCore/config.h from WebCore/config.h so if you include one you get both. This created a compile error in V8Counters.cpp, which is also fixed Change-Id: I272247161877ddc680b3aab509bc413ab3445219
* | | | Merge "Block network loads based on the setting."Patrick Scott2010-10-051-2/+8
|\ \ \ \ | |/ / / |/| | |
| * | | Block network loads based on the setting.Patrick Scott2010-10-051-2/+8
| | | | | | | | | | | | | | | | | | | | Bug: 3053149 Change-Id: Idb6850b2aac5de2ab19850779a65496ef356961d
* | | | When a page fails to load, notify that the page is finishedLeon Scroggins III2010-10-041-0/+3
|/ / / | | | | | | | | | | | | Bug:2974418 Change-Id: I55f8ee1c235004da9ea6bed13af0758f10b715a8
* | | Update AndroidURLRequestContextGetter to take a pointer to the getter functionSteve Block2010-10-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows users of AndroidURLRequestContextGetter to instantiate a URLRequestContext lazilly. When used in AutoFill++, this means that when the URLRequestContext is first initialized, the WebCore thread is set-up and the necessary settings are available. Also re-enables AutoFill++ The corresponding external/chromium change is https://android-git.corp.google.com/g/71275 Bug: 3044989 Change-Id: I4b577f08717775bce5268f3f4b4f5fcf23e54536
* | | Update WebRequestContext static getters to return pointers to the base classSteve Block2010-10-014-9/+9
| | | | | | | | | | | | | | | | | | | | | This allows us to use these static getters with Chromium APIs which can use only the Chromium base class, not the Android derived class. Change-Id: I9690ef00a775cff2b580ae5c0c745d7b24021a4c
* | | Merge WebKit at r67908: FrameView zoom methods renamed and movedSteve Block2010-09-291-3/+3
| | | | | | | | | | | | | | | | | | | | | See http://trac.webkit.org/changeset/67274 and http://trac.webkit.org/changeset/67762 Change-Id: I3842c599327b564550a2f76ae4ae3628f70a7aff
* | | Merge WebKit at r67908: ResourceLoader now makes use of NetworkingContextSteve Block2010-09-292-6/+69
| | | | | | | | | | | | | | | | | | See http://trac.webkit.org/changeset/67291 Change-Id: I620cba25ea40451830b86df90631a2c88792ce16
* | | Merge WebKit at r67908: FrameLoaderClient now commits data directly to LoaderSteve Block2010-09-291-12/+3
| | | | | | | | | | | | | | | | | | | | | See http://trac.webkit.org/changeset/67223 and http://trac.webkit.org/changeset/67253 Change-Id: I46eb23df9a216f2d5a7b0dce857fd5fc323c2fb7
* | | Merge WebKit at r67908: Implement new FrameLoaderClient::canShowMIMETypeAsHTML()Steve Block2010-09-292-0/+5
| | | | | | | | | | | | | | | | | | See http://trac.webkit.org/changeset/67403 Change-Id: I1407f44baf0b97f3fd8445528b49297a65a0b7bb
* | | Merge WebKit at r67908: ResourceHandleClient::didFinishLoading() now takes ↵Steve Block2010-09-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | finish time See http://trac.webkit.org/changeset/67551 Change-Id: Ie8c470f86ee7919495ae24e460f81952f75a0f1f
* | | Merge "Turn autofill on by default at compile time and make it a browser ↵Steve Block2010-09-282-0/+30
|\ \ \ | | | | | | | | | | | | setting."
| * | | Turn autofill on by default at compile time and make it a browser setting.Ben Murdoch2010-09-282-0/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make autofill a runtime option configured through the browser. Required a corresponding change in frameworks/base - https://android-git.corp.google.com/g/65573 and packages/apps/browser - https://android-git.corp.google.com/g/65579 Change-Id: I905b464a6338ff27b02f16d0b9a718154c3c98c1
* | | | Hide the soft keyboard when a blur happens.Leon Scroggins2010-09-282-1/+6
|/ / / | | | | | | | | | | | | | | | | | | | | | Bug: 2953257 Requires a change in frameworks/base. Change-Id: Ib0e7976cd5eb585be991b265087bff9ee7c4f4fd
* | | Update the storage locations used by the Chromium HTTP stackSteve Block2010-09-282-26/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This updates the strorage locations to better match those used by the Android HTTP stack. Corresponding frameworks/base change is https://android-git.corp.google.com/g/70644 Bug: 3039536 Change-Id: I49162eb4d47791d4f42996650cc88bcf4aa2e330
* | | Integrate AutoFill with WebTextView in Java.Ben Murdoch2010-09-233-7/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds the necessary JNI hooks so that when the user focuses a form field that AutoFill has identified as "autofillable", the Java side WebTextView will show an option in the auto complete drop down box that when selected will call back to AutoFill in native code and actually fill out the form. AutoFill is still disabled at compile time by default. To test the feature set ENABLE_AUTOFILL=true and rebuild WebKit. Needs a corresponding frameworks/base change. Change-Id: Ie76ff9cbf0b44f3f3644079ed64ce71bfbc9859a
* | | Remove #if USE(CHROME_NETWORK_STACK) guards from headersKristian Monsen2010-09-232-9/+0
| | | | | | | | | | | | Change-Id: Ib3c3037ab3f62d0c9c49f53850be5ff5c4f2a525
* | | Fix a bug that would cause the AutoFill server to return an error.Ben Murdoch2010-09-231-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We were pushing the <option> elements associated with <select> tags into the form field vector that AutoFill uses. This is not correct as they are not used by the server and result in duplicate field signatures in the XML requests. As the signatures should be unique, the server returns an error response. Change-Id: I359a952cf219e088c2cae886907f563d86756688
* | | Add more profile data to the canned profile.Ben Murdoch2010-09-231-0/+5
| | | | | | | | | | | | Change-Id: Idcafae151f6635394883fa45720cedd3b38bd9c8
* | | Fix a compiler warning in WebResourceRequestSteve Block2010-09-221-2/+2
| | | | | | | | | | | | Change-Id: Ie76a1abc87aa34486ca9724bcf87718e8722d315
* | | HTTP auth for Chromium HTTP stack (C++ side)Iain Merrick2010-09-206-5/+86
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On receiving an auth request: - WebRequest (on the IO thread) sends a message to WebUrlLoaderClient - WebUrlLoaderClient (webkit thread) calls WebCoreFrameBridge. - WebCoreFrameBridge makes a JNI call to BrowserFrame.java. Each JNI call has a WebUrlLoaderClient pointer, cast to an int. We use this to recover the context when we're called back, and dispatch a message back to WebRequest. Corresponding Java change: https://android-git.corp.google.com/g/63762 Change-Id: Ieb72f2eaa996a55916c987859f47f6dacf92e06c
* | | Merge WebKit at r67178 : Add FrameNetworkingContextAndroid.Iain Merrick2010-09-163-0/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is needed to implement a new callback in FrameLoaderClient which was added in http://trac.webkit.org/changeset/66794 Implementation copied from chromium's FrameNetworkingContextImpl. (We can't just call FrameNetworkingContext's constructor directly because it's protected.) Change-Id: I10a318daed219a1b05972052aaea286c719b4b3c
* | | Remove alt http from chrome stack user agentKristian Monsen2010-09-151-1/+0
| | | | | | | | | | | | | | | | | | Fix for bug 3004055 Change-Id: I6e313880c7f8bb7033f302717209befba34819ad
* | | Initial autofill changes in libwebcore.Ben Murdoch2010-09-1315-4/+1422
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Initial checkin of WebKit source for enabling AutoFill on Android. This code calls into the chromium library to perform the autofill magic. There's still lots to do, but this and a corresponding change in external/chromium enable the feature (basically) end to end. The feature is disabled by default until we implement it more fully with some proper UI. To turn it on, set the ENABLE_AUTOFILL environment variable to "true" and rebuild. This is only useful for preliminary testing though as for now we use a precanned profile, which won't be relevant unless your name happens to be John Smith. Change-Id: I4a3e0e840617f7cf8f522af33ae1be560768a6c5
* | | Allow WebKit to scroll selection on screen.Leon Scroggins2010-09-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | Requires a change to frameworks/base Bug 2679411 Bug 2659028 Change-Id: I482cefadc24c620c6d07cbce44acc216bdb9b8df
* | | Set mime type for special android urlsKristian Monsen2010-09-082-1/+5
| | | | | | | | | | | | Change-Id: I66f1643c78563c8aa7d9941b788f7533a8185cb4
* | | Cleanup temporary incognito mode files after last tab closes.Elliott Slaughter2010-09-013-15/+74
| | | | | | | | | | | | Change-Id: Ib55ef570b181afc99991afb55b6880b7a13f69a7
* | | Move all external/chromiumn includes to one fileKristian Monsen2010-08-3110-28/+82
| | | | | | | | | | | | | | | | | | | | | | | | There are several logging errors and warnings when including files from external/chromium and the <cutils/log.h>. This commit moves all external/chromium includes to one place, and and LOG_ASSERT to what it is in <cutils/log.h> Change-Id: If908262cf1b859247d7b8a5880807a2e9ec16980
* | | Checking that all load operations are done in order.Kristian Monsen2010-08-272-3/+63
| | | | | | | | | | | | | | | | | | Adding a m_loadState variable and checking that everything is happening when they are supposed to. There were some problems were race conditions between the threads created some issues. Change-Id: I7fca570aa917eaaa741c3745f6b8417a656d18c4
* | | Create HttpAuthHandlerFactory to fix HTTP auth crashes.Iain Merrick2010-08-261-1/+2
| | | | | | | | | | | | | | | | | | | | | We still need to hook in the necessary callbacks to present the user with a login prompt. Change-Id: Id4ccb8209d2ffdfcc35f9104a2e448ed552e6390
* | | Preserve the zoomFactor when a new frameview is created.Shimeng (Simon) Wang2010-08-251-0/+4
| | | | | | | | | | | | | | | | | | | | | Currently if the default font size is set "LARGE", it'll be ignored when a page is loaded, since it's lost in the new frameview. Change-Id: If4579459cb679fdc9666dda25cd557761f4820b5
* | | Special file uris have to be handled in Java.Kristian Monsen2010-08-249-20/+170
| | | | | | | | | | | | | | | | | | | | | | | | This depends on: https://android-git.corp.google.com/g/#change,62112 Request an java.io.InputStream from java and queries this for that until all is read. Change-Id: Ia3e7ad973700bd49be9cae9b432661d61a5470b8
* | | Merge changes ↵Steve Block2010-08-243-5/+4
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I2e7e2317,Ie6ccde3a,I3e89f231,Id06ff339,I268dfe7d,Icaf70d9f,Ie234f1a0,Iff5c7aaa,I69b75bf0,Ifbf384f4 * changes: Merge WebKit at r65615 : Update WebKit revision number Merge WebKit at r65615 : Ignore http/tests/appcache/origin-quota.html Merge WebKit at r65615 : Android-specific results for Geolocation tests. Merge WebKit at r65615 : Fix GraphicsContext and ImageBuffer. Merge WebKit at r65615 : processingUserGesture() is now static. Merge WebKit at r65615 : UTF8String() becomes utf8(). Merge WebKit at r65615 : Fix include paths for string headers. Merge WebKit at r65615 : Fix Makefiles. Merge WebKit at r65615 : Fix conflicts. Merge WebKit at r65615 : Initial merge by git.
| * | | Merge WebKit at r65615 : processingUserGesture() is now static.Iain Merrick2010-08-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | See http://trac.webkit.org/changeset/65082 Change-Id: I268dfe7d9ab60453129f00b00cdd5f8ac954855c
| * | | Merge WebKit at r65615 : Fix include paths for string headers.Iain Merrick2010-08-232-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | These moved to <wtf/text> in http://trac.webkit.org/changeset/65077 Change-Id: Ie234f1a09013e48a5241d9e240c5b2e85ca75125