summaryrefslogtreecommitdiffstats
path: root/WebKit
Commit message (Collapse)AuthorAgeFilesLines
* Don't extend the arrow asset of the combo box over the text, so that the ↵Leon Clarke2009-10-011-6/+3
| | | | | | | real background color is used. Re-instate using the correct color for the text.
* Don't crash on java exceptionLeon Clarke2009-09-302-20/+41
| | | | | | | | | | Link coloring - doing the database lookup in a separate thread Formatting Whitespace changes Re-ordered following review
* scroll text field with touchCary Clark2009-09-292-5/+10
| | | | | | | | | | Pass the percentage of the current scroll from the UI thread to webkit. The max scroll in X is computed as renderer->scrollWidth() - renderer->clientWidth(). Companion fix is in framework/base Fixes http://b/issue?id=2133049
* Fix a few crashes with assertions enabled.Patrick Scott2009-09-294-4/+7
| | | | | KURL::protocolIs no longer likes "javascript" and has a different method called protocolIsJavaScript.
* Update the comment for checking null in needtouchevents.Grace Kloba2009-09-282-2/+3
| | | Add the header in WebCoreJni.cpp so that LOGE will be print out.
* Fix the multiple form submission bug. (Bug 2098417).Ben Murdoch2009-09-282-1/+16
| | | | Change-Id: I4eb188f6b4826f394a08c72c71f920cc212b2653
* Check null for WebViewCore's nativeClass before callingGrace Kloba2009-09-271-2/+7
| | | | | | | | | | | back to Java. This may happen if WebKit holds some reference of the Document even when our Java side has been destroyed. So when Document finally is deleted, the call back to Java will have null nativeClass. In the long run, we may need to add the check for all the callback to Java. Fix http://b/issue?id=2148023
* don't short-circuit if the text selection has changedCary Clark2009-09-252-2/+24
| | | | | | | | | | The webkit picture is rebuilt pretty often -- for performance, the nav cache is built less often, only when the dom version changes. Additionally, it's rebuilt when the focus changes or moves. Add a condition so that it is also rebuilt if the focus selection changes. fixes http://b/issue?id=2096746
* Colorizing clicked-on linksLeon Clarke2009-09-244-0/+42
| | | | | | Following review comments Following review comments
* Add ANDROID_USER_GESTURE back to WebCore.Patrick Scott2009-09-241-1/+1
| | | | | | | We only care about the user gesture during a location change. Add the m_userGesture field to our ResourceRequest and check the value in canHandleRequest. This could be cleaner if WebCore passed around the ResourceRequest rather than constructing a new one.
* Whether or not a textfield is the last or only, make its action GO.Leon Scroggins2009-09-231-3/+2
| | | | | | Fix for http://b/issue?id=2136097 Change-Id: I8ca00498dd5a8d611bc0de5a941faaf596d9f76d
* hardcode the correct ninepatch margins for the button skinCary Clark2009-09-231-2/+13
| | | | | | | | | | | | | | | The button is drawn using hardcoded margins that look fine on a g1. The highres resource has different margins. Changing the margins alone isn't enough; this also moves the button down by two pixels to center it better. Neither the hardcoded margin change nor the offset are good long-term changes, but they allow us to get by for now. Marked both with FIXME so we can address this issue by reading the data directly out of the png, and diagnose why the button is drawn too high. fixes http://b/issue?id=2107422
* adding API to enable plugins to request full screen modeDerek Sollenberger2009-09-226-38/+62
| | | | Change-Id: Ib3373af6ff127399d1d0846ba30a4275da5b3133
* Add apple-touch-icon-precomposed processing.Patrick Scott2009-09-224-7/+7
| | | | Send up a boolean to indicate if the touch icon url is precomposed.
* Add dpi support for WebView.Grace Kloba2009-09-214-2/+22
| | | | | | | | | | | | | | | | | | | | | | | | In the "viewport" meta tag, you can specify "target-densityDpi". If it is not specified, it uses the default, 160dpi as of today. Then the 1.0 scale factor specified in the viewport tag means 100% on G1 and 150% on Sholes. If you set "target-densityDpi" to "device-dpi", then the 1.0 scale factor means 100% on both G1 and Sholes. Implemented Safari's window.devicePixelRatio and css media query device-pixel-ratio. So if you use "device-dpi" and modify the css for font-size and image src depending on window.devicePixelRatio, you can get a better page on Sholes/Passion. Here is a list of options for "target-densityDpi". device-dpi: Use the device's native dpi as target dpi. low-dpi: 120dpi medium-dpi: 160dpi, which is also the default as of today high-dpi: 240dpi <number>: We take any number between 70 and 400 as a valid target dpi. Fix http://b/issue?id=2071943
* renaming setJavaClass_ANPSetValue and ensuring memory is freed on subsequent ↵Derek Sollenberger2009-09-213-6/+25
| | | | | | calls Change-Id: I7881e711af7ec905e5c120e8e2fd4b0b7ba5e840
* cleaning up old surface view API'sDerek Sollenberger2009-09-211-37/+0
| | | | Change-Id: I333c2eebff22df1a56099fad7d8ec366627f4e22
* Wire the rest of MediaPlayer to our implementation of ↵Andrei Popescu2009-09-172-12/+82
| | | | WebCore::MediaPlayerPrivate
* Add poster support and other fixesAndrei Popescu2009-09-171-2/+13
|
* First pass at replacing native plugin views with java.Derek Sollenberger2009-09-1510-425/+200
| | | | Change-Id: I637275c9766202a4358ef25af01ee92c85c48e7f
* fix parent index of focus when building nav cacheCary Clark2009-09-152-1/+4
| | | | | | | | | | | When a focused node is found while walking the DOM, the CachedFrame tree doesn't have its parent pointer set. Fix the focus index in the parent when fixing the parent pointer. Also fix a debug statement so that it doesn't depend on the focus parent. Fixes http://b/issue?id=2048186
* allow mixed-case schemes in resource URLsCary Clark2009-09-101-1/+14
| | | | | | Adjust the scheme to all lower case before looking up the resource if the original was not already lower case. This fixes http://b/2056348
* Fix for 2106269Andrei Popescu2009-09-091-1/+1
|
* Updates mock Geolocation service to match final version submitted to WebKit.Steve Block2009-09-081-3/+3
| | | | | | See https://bugs.webkit.org/show_bug.cgi?id=28264. Change-Id: I30900239108ea699f194fceb30626f41c928c08e
* Store Geolocation cached position between browser sessions.Steve Block2009-09-071-1/+4
| | | | | | This fixes bug http://b/issue?id=2054431. Change-Id: I44b752b0c7fb4529027018c99dd945279b594b89
* Allow 0 to be passed for the nativePointerParameter to ↵Andrei Popescu2009-09-031-1/+5
| | | | nativeAddJavaScriptInterface. When 0, we add the iface to the top level frame.
* start in the proper subframe when finding the next text fieldCary Clark2009-09-031-1/+1
| | | | fixes http://b/issue?id=2048180
* Merge change 23630 into eclairAndroid (Google) Code Review2009-09-031-20/+4
|\ | | | | | | | | * changes: Brings Mock Geolocation service up to date with latest submission to WebKit.
| * Brings Mock Geolocation service up to date with latest submission to WebKit.Steve Block2009-09-021-20/+4
| | | | | | | | See https://bugs.webkit.org/show_bug.cgi?id=28264.
* | Get the drawable directory from Java for the platform buttons.Grace Kloba2009-09-028-25/+42
|/ | | | Fix http://b/issue?id=2086818
* Update the browser's references to the latest images.Leon Scroggins2009-09-012-14/+21
| | | | | | | | | The browser directly references the names of the asset files it uses to draw buttons, checkboxes, and radio buttons. Update the names to correspond to the latest assets. Fixes issue http://b/issue?id=2086818 Change-Id: Iac8d8762252707e21a88e65ba44de24a5fa2f869
* Fix the crash with sites having youtube video. It doesn't crash while loading.Grace Kloba2009-08-281-1/+1
| | | | | | | | | It crashes when you leave the site. frame->view() returns m_view.get(). So we don't want to call adoptRef which will cause a deref. I verified that when you leave the page, the new widget is removed.
* don't layout when setting size from zoom if only height changedCary Clark2009-08-282-6/+9
| | | | | | | (companion change in framework/base) Add a boolean parameter to WebViewCore.java nativeSizeSize(). If set, only layout if the width has also changed. If clear, layout if the height alone has changed.
* update dox. no code changeMike Reed2009-08-281-1/+7
|
* Merge changes 22903,22905 into eclairAndroid (Google) Code Review2009-08-271-1/+1
|\ | | | | | | | | | | * changes: Use v8::V8::LowMemoryNotification() instead of the non-really-existibg v8::V8::CollectAllGarbage() Update V8 to 2725 to pick up Thread Termination and Low Memory Notification APIs
| * Use v8::V8::LowMemoryNotification() instead of the non-really-existibg ↵Andrei Popescu2009-08-271-1/+1
| | | | | | | | v8::V8::CollectAllGarbage()
* | Merge change 22454 into eclairAndroid (Google) Code Review2009-08-273-11/+27
|\ \ | | | | | | | | | | | | * changes: Adds a method to allow Geolocation permissions for an origin.
| * | Adds a method to allow Geolocation permissions for an origin.Steve Block2009-08-263-11/+27
| | |
* | | when finding left edge of text block, don't merge in tall bitmapCary Clark2009-08-261-52/+61
| |/ |/| | | | | | | | | | | | | | | | | Zooming in to yahoo.com fails sometimes if the block of text has a large bitmap on the left. This change prevents the bitmap from being seen as a part of the text paragraph. Also, cleaned up the debugging statements. Fixes http://b/issue?id=2066236
* | Pass the estimated size of new databases to the Java implementation so that ↵Ben Murdoch2009-08-263-6/+11
| | | | | | | | | | | | that figure can be used to establish an initial quota for origins. Change-Id:Ife96fb4fecee1974a36ceb1432a75f3ef164084b
* | Merge change 22590 into eclairAndroid (Google) Code Review2009-08-251-4/+25
|\ \ | | | | | | | | | | | | * changes: fix address detection when the city and state are both valid states
| * | fix address detection when the city and state are both valid statesCary Clark2009-08-251-4/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes detecting "4 E. 86th St New York, NY" The old logic found 'New York' and assumed that St was the city name. Since 86th is not a valid street suffix, the test failed. The new logic looks for a valid street suffix instead of skipping 'city'. If it finds one, and the subsequent street suffix test fails, it resets to search again for a valid state name while retaining the starting point for the address (the street number). Fixing this exposed a bug in the zip code detection code where it dropped the first character of the actual state name.
* | | fix a couple of debug print errorsCary Clark2009-08-252-3/+3
|/ /
* | modifying how onLoad events are sent to plugins to properly handle IFrames.Derek Sollenberger2009-08-253-17/+47
|/ | | | Change-Id: I634ae9c2e18e03c95dff435679f547d37c6f430e
* Fixes build due in GeolocationPermissions.Steve Block2009-08-241-1/+0
|
* WebKit changes to persist Geolocation permissions between browser sessions.Steve Block2009-08-244-9/+109
| | | | This fixes bug http://b/issue?id=2054365.
* Fixes build breakage due to missing GeolocationPermissions header.Steve Block2009-08-241-0/+1
|
* Adds WebKit-side of logic to make Geolocation obey Browser 'Enagle Location' ↵Steve Block2009-08-213-0/+19
| | | | | | setting. This fixes bug http://b/issue?id=2067559.
* Merge commit 'goog/master' into mergeAndrei Popescu2009-08-192-0/+17
|\
| * Merge change 21466 into eclairAndroid (Google) Code Review2009-08-182-0/+17
| |\ | | | | | | | | | | | | * changes: Need to notify Java side when viewport tag is parsed.