summaryrefslogtreecommitdiffstats
path: root/Source/WebKit/android/jni
Commit message (Collapse)AuthorAgeFilesLines
* Fix PictureSet invlidation rectangle bugBen Murdoch2011-08-262-2/+7
| | | | | | | | | | | | | Set the height of the invalidation rectangle correctly. The last parameter to SkRect::set should be the bottom of the rectangle, not the desited height. Also, clear the content when we navigate between pages to avoid showing any stale content. Bug: 5213749 Change-Id: Ic75b9e9d8632750a15a03ebfbd4291fad03fca6a
* better locking while scrolling, but disables double bufferingChris Craik2011-08-251-5/+13
| | | | | | | | | | don't detect scrolling, query from java removes double buffering depends on CL in frameworks/base: https://android-git.corp.google.com/g/#/c/130213/ bug:5106313 Change-Id: Ibfa7f305874f4209fed001c030bb94e752d479b9
* Limit the number of inval rects we send to the UINicolas Roard2011-08-231-0/+20
| | | | | | bug:5204192 Change-Id: I5c29e9b2411ac2e05274d9a89c472285ed1aeb67
* Merge "Remove shouldOverrideUrlLoading restrictions"John Reck2011-08-171-6/+0
|\
| * Remove shouldOverrideUrlLoading restrictionsJohn Reck2011-08-171-6/+0
| | | | | | | | | | | | Bug: 5171504 Change-Id: I5c2dfc8a0fbf07cb5df11bddfafd9f7251380402
* | Merge "Implement partial repaint for layers (at the tile level) Fixes a ↵Nicolas Roard2011-08-171-0/+1
|\ \ | | | | | | | | | scheduling problem with layers"
| * | Implement partial repaint for layers (at the tile level)Nicolas Roard2011-08-171-0/+1
| |/ | | | | | | | | | | | | | | Fixes a scheduling problem with layers bug:3392331 bug:5145259 Change-Id: I2ea2c91f2c6d6f5288375cb5ebdaa69819b740be
* | Lazily decode assets for form controls.Ben Murdoch2011-08-162-6/+5
|/ | | | | | | | | | | | Rather than decoding the graphics when we create a WebView, wait until we actually need them. This saves about 50ms on native WebView creation time. Requires frameworks/base change: I5a2e87d03d73fa74ebb00c33567783225ed97d3a Bug: 5084146 Change-Id: Ia6c17634f535ed75b2a0757ac4d53f1a0befb78a
* Merge "Add missing calls to JavaInstance::end() in JavaNPObjectInvoke() and ↵Steve Block2011-08-101-4/+1
|\ | | | | | | JavaNPObjectGetProperty()"
| * Add missing calls to JavaInstance::end() in JavaNPObjectInvoke() and ↵Steve Block2011-08-081-4/+1
| | | | | | | | | | | | | | JavaNPObjectGetProperty() Bug: 5006441 Change-Id: I2da7a6f626560416cf5cac0cde3193a9074fab0f
* | Merge "Plumb a bool through to Java to supress auth dialog."Ben Murdoch2011-08-092-4/+4
|\ \
| * | Plumb a bool through to Java to supress auth dialog.Ben Murdoch2011-08-052-4/+4
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | In the case of a prefetch or favicon load, we want to silently fail auth loads but allow the use of cached credentials. To acheive this, pass an extra flag through to Java to decide whether to show the prompt or not. Requires: frameworks/base change: Ida5708aad7cbe5633106e9ae2997c9231aaf95b8 packages/apps/Browser change: Id901855830bbe17ede8a18293cff2bbc0aad4ba8 Bug: 5094761 Change-Id: If8c6f22e8307e1e13b8f7ad29f79305ce24b3255
* | Revert "Disable Crankshaft at runtime for performace testing."Ben Murdoch2011-08-091-1/+0
|/ | | | | | This reverts commit 7178bcff68f2abc8fefe50fa62b7043663034c05. Bug: 5052287
* Disable Crankshaft at runtime for performace testing.Ben Murdoch2011-07-281-0/+1
| | | | | Bug: 5052287 Change-Id: Ic2b192a5f22c7bc91b7bc587904452e440cbe505
* Safely convert punycode IDN to Unicode for display.Shimeng (Simon) Wang2011-07-213-6/+30
| | | | | | | | Use chromium's net::IDNToUnicode to accomplish this, which adopts safe measures for converting. issue: 4384726 Change-Id: If265a849ff0e9d6782705fc1639391bab9e6bcab
* Merge "Possible fix for bug 3335863: 3-second delay before Incognito state ↵Kristian Monsen2011-07-081-0/+4
|\ | | | | | | is cleared"
| * Possible fix for bug 3335863: 3-second delay before Incognito state is clearedKristian Monsen2011-07-011-0/+4
| | | | | | | | | | | | | | Force removing pending PageCache deletes when deleting a WebView. Change-Id: Ibd62f7b841e311a907c01a626834559b3bd9f263
* | When restoring the global reference in the WeakJavaInstance destructor, ↵Steve Block2011-07-081-13/+11
| | | | | | | | | | | | | | | | | | | | always do so from our weak global reference This avoid using a stale local reference in the case that calls to begin() and end() are unbalanced. Bug: 5006434 Change-Id: I3d1bb4ecfe11e9b54fb2a48b6ab9663ea753be54
* | Delete a JNI local ref in WebViewCore::openFileChooser()Steve Block2011-07-081-9/+4
| | | | | | | | Change-Id: I3a488125d86a4f8cc63691ae7035cad0eadaf514
* | Avoid leaking JNI local references in UrlInterceptResponseSteve Block2011-07-061-1/+3
|/ | | | | Bug: 4509854 Change-Id: I70bd6b5f1ce32263b1f048a7bb5e732338e7297d
* Merge changes I899af0a4,I1d8b554a,Iefb91f0bKristian Monsen2011-07-013-11/+11
|\ | | | | | | | | | | | | * changes: Merge Chromium at r11.0.696.0: Compile fix, update include location Merge Chromium at r11.0.696.0: Compile fixes in WebRequestContext.cc Merge Chromium at r11.0.696.0: Just AutoFill => Autofill renaming
| * Merge Chromium at r11.0.696.0: Just AutoFill => Autofill renamingKristian Monsen2011-06-293-11/+11
| | | | | | | | Change-Id: Iefb91f0b784c26b503125017ae3582a28e7d530d
* | Refactoring: Moved 'SkLayer' to 'Layer' class in webkitChris Craik2011-06-301-3/+3
|/ | | | Change-Id: Ie1c24e5e402c539e0359810cfdf872178fa083c1
* 2nd try: Bubbles up the url that has the invalid certificate.Huahui Wu2011-06-282-4/+7
| | | | | | | | Same as this CL https://android-git.corp.google.com/g/#change,117817 except one minor change to make the build happy: Change-Id: Ie863737eee00c42de5d7a289b60aff8c2cfaa8e2
* Revert "Bubbles up the url that has the invalid certificate."Huahui Wu2011-06-282-7/+4
| | | | This reverts commit f072ccf633e8c2c2812289f0e65f18320f2147c8.
* Bubbles up the url that has the invalid certificate.Huahui Wu2011-06-272-4/+7
| | | | | | | | | | b/2689122 SSL error shows the wrong page when triggered by an image/javascript in the page This CL bubbles the url, which has the invalid cert, up to framework to display it. Related CLs are: Framework: https://android-git.corp.google.com/g/#change,117828 Browser: https://android-git.corp.google.com/g/#change,117835 Change-Id: If01ea2320aa50450a6d3d409123bed5a9f101d61
* Merge "Fix compiler error when DEBUG is turned on"Teng-Hui Zhu2011-06-221-1/+1
|\
| * Fix compiler error when DEBUG is turned onTeng-Hui Zhu2011-06-211-1/+1
| | | | | | | | Change-Id: I1a9d8eab3e5259eade94fc9e825ec4d162a1e392
* | Fix fast/encoding/dumpAsText//utf-16-no-bom.xmlBen Murdoch2011-06-211-0/+4
|/ | | | | | | | | | | This test now expects us to use the XMLTreeViewer, so make sure that it's enabled. SetDeveloperExtras enables the XMLTreeViewer and Inspector, but we have no inspector on Android, so this is just toggling the XMLTreeViewer on. Change-Id: I365930f34003d6e97aed88af77746c784a3c3bd1
* Merge "Ignore the initial empty document when setting viewport size."Shimeng (Simon) Wang2011-06-171-0/+5
|\
| * Ignore the initial empty document when setting viewport size.Shimeng (Simon) Wang2011-06-171-0/+5
| | | | | | | | | | | | | | | | | | This fixes the issue where "google legal" dialog will show empty content, since the initial empty document will get laid out and used in some circumstances. issue: 4501857 Change-Id: I779d983f3c81724663391872de81ceed025adec1
* | Change mTextSize to be a percentageJohn Reck2011-06-161-9/+3
|/ | | | Change-Id: I22720665be2900121acaa3801adc36f3d7fddeae
* Set appropriate initial viewport bounds.Shimeng (Simon) Wang2011-06-151-1/+8
| | | | | | | | This fixes lots of cases where various legal/license dialog show empty content. issue: 4501857 Change-Id: I113b1b43ec1b2f17fad4bf9fbf6aa17f8b10240c
* Merge "Add javascript 'select' event"Russell Brenner2011-06-131-0/+6
|\
| * Add javascript 'select' eventRussell Brenner2011-06-131-0/+6
| | | | | | | | | | | | | | | | | | | | The jni code uses lower-level apis for controlling text selections that are hard-wired as non-user actions. This change adds an additional call from the jni code to signal that the selection changed due to user action. Bug: 4444489 Change-Id: I5a637ad9826455e21d43d1e28476b1c814cb65f7
* | Clarify comments about initialising V8 in WebViewCore ctor.Ben Murdoch2011-06-101-2/+3
| | | | | | | | Change-Id: Icad45701d81d3ff07470ee2f6d2087c3a3252e84
* | Merge WebKit at r84325: Fix uses of JavaInstance.Ben Murdoch2011-06-101-6/+14
| | | | | | | | | | | | | | | | | | The JavaInstance class is now an interface, so use the provided JavaInstanceJobject implementation instead. See http://trac.webkit.org/changeset/82950 Change-Id: I782e3887e4f059733fbc054ca1d9d97d94e817ef
* | Implement net::URLRequest::Delegate::OnCertificateRequestedBrian Carlstrom2011-06-092-0/+111
|/ | | | | | | | | | | | | | | | | | | Following the example of OnSSLCertificateError, implement OnCertificateRequested ERROR CASE CLIENT CERT CASE net::URLRequest::Delegate::OnSSLCertificateError net::URLRequest::Delegate::OnCertificateRequested WebRequest::OnSSLCertificateError WebRequest::OnCertificateRequested WebUrlLoaderClient::reportSslCertError WebUrlLoaderClient::requestClientCert WebFrame::reportSslCertError WebFrame::requestClientCert android.webkit.BrowserFrame.reportSslCertError android.webkit.BrowserFrame.requestClientCert <... See frameworks/base ...> <... See frameworks/base ...> android.webkit.BrowserFrame.nativeSslCertErrorProceed android.webkit.BrowserFrame.nativeSslClientCert WebCoreFrameBridge::SslCertErrorProceed WebCoreFrameBridge::SslClientCert WebUrlLoaderClient::proceedSslCertError WebUrlLoaderClient::sslClientCert WebRequest::proceedSslCertError WebRequest::sslClientCert net::URLRequest::ContinueDespiteLastError net::URLRequest::ContinueWithCertificate Change-Id: I6513678a3c553bf329640119ff96df9a39a41e49
* Merge "Serialize LayerAndroid"John Reck2011-06-081-1/+327
|\
| * Serialize LayerAndroidJohn Reck2011-06-071-1/+327
| | | | | | | | | | | | | | For now skip other layer types Doesn't support animtations Change-Id: Id1ff75f3d4d213f56561fc5d9c01f7ffee05cc79
* | Merge WebKit at r82507: Work around a V8 bugSteve Block2011-06-081-0/+10
| | | | | | | | Change-Id: Ia1b847a20bc16091075630655fef79cd90cd8297
* | Merge WebKit at r82507: IconDatabaseClient interface expandedSteve Block2011-06-082-4/+38
| | | | | | | | | | | | See http://trac.webkit.org/changeset/81719 Change-Id: Ida2b2a8ac767182bc2c93cbe60399ed39f91c99c
* | Merge WebKit at r82507: IcondDatabaseBase::iconForPageURL() renamedSteve Block2011-06-083-5/+9
| | | | | | | | | | | | See http://trac.webkit.org/changeset/81484 Change-Id: I72f818d5d0075c63b658c2d8457d2182a7968c05
* | Merge WebKit at r82507: IconDatabaseBase::Open() signature changedSteve Block2011-06-081-1/+1
| | | | | | | | | | | | See http://trac.webkit.org/changeset/81824 Change-Id: I2e3b588b7d38211310bd6bf488f1a8d3f6edac5d
* | Merge WebKit at r82507: Use icon database through IconDatabaseBaseSteve Block2011-06-081-1/+1
| | | | | | | | | | | | See http://trac.webkit.org/changeset/80900 Change-Id: Ia724c78b9db4665a0c30cc214c2d6fa61e81f888
* | Merge WebKit at r82507: toInputElement() is now a member of NodeSteve Block2011-06-081-1/+1
| | | | | | | | | | | | See http://trac.webkit.org/changeset/80811 Change-Id: Icd8612c886ae6caa198c051ecf1d6f2681172387
* | Fix some include guards in Android filesSteve Block2011-06-0810-24/+24
|/ | | | | | | | | This will become relevant after we merge beyond http://trac.webkit.org/changeset/81977 (and its follow-up build fixes r81982, r81988, r81990, r82018) which relies on all platforms' instances of FontPlatformData.h using the correct include guard. Change-Id: I58ec4c8ee23698c41d86794333d603b95f303764
* Fix issues with setting viewstate before initializingJohn Reck2011-06-041-2/+8
| | | | | | | | | Allow drawing without a CachedRoot (just skip drawing extras in that case) Initialize PictureSet correctly when using the SkPicture ctor If delay-setting a layer on glWebViewState, set isAfterFirstLayout to true to force the baseLayer update. Change-Id: I9b24fd2e8450acf0138433edce8700c9ec227e52
* Merge "Initial support for serializing the view state"John Reck2011-06-034-0/+116
|\
| * Initial support for serializing the view stateJohn Reck2011-06-034-0/+116
| | | | | | | | | | | | Serializes only the base layer currently Change-Id: I5cff216a4fc1b08efe3a7955c616b91114f6bf0b