summaryrefslogtreecommitdiffstats
path: root/WebCore
Commit message (Collapse)AuthorAgeFilesLines
* Don't extend the arrow asset of the combo box over the text, so that the ↵Leon Clarke2009-10-011-8/+2
| | | | | | | real background color is used. Re-instate using the correct color for the text.
* Build fix.Patrick Scott2009-09-291-0/+2
| | | | | Files that include FontPlatformData.h apparently depend on StringImpl.h already being included.
* Fix a few crashes with assertions enabled.Patrick Scott2009-09-292-2/+8
| | | | | KURL::protocolIs no longer likes "javascript" and has a different method called protocolIsJavaScript.
* Merge change 27080 into eclairAndroid (Google) Code Review2009-09-251-0/+11
|\ | | | | | | | | * changes: When detach the top Document, clean up the touch listeners and reset needTouchEvents.
| * When detach the top Document, clean up the touch listeners and resetGrace Kloba2009-09-251-0/+11
| | | | | | | | | | | | needTouchEvents. Fix http://b/issue?id=2145333
* | fix cracks when we draw the page in portions (i.e. a picture set)Mike Reed2009-09-251-0/+24
|/ | | | | | | | | | | | | | | When we record/draw the DOM N times (for speed), webkit sees what we're doing in certain places, and sends us different rectangle coordinates. These were all being antialiased (by default). However, when we are also zoomed, the rects now fall on fractional coordinates, and with aa, we will double-draw the edges where those rects should have seamed. The fix is to disable antialiasing for a class of rects that we record from webkit. We are probably disabling for more cases than is necessary for the current bug, but knowing which ones are "required" is tricky, and there (as yet) seems to be no down-side, since we never draw the page rotated at a funny angle (where the rect edge would look jaggie). http://b/issue?id=2132971&cookieId=2009268114917835 http://b/issue?id=2127763&cookieId=2009268114931860
* disable antialiasing for bitmapsMike Reed2009-09-251-0/+15
| | | | | | | Since we are never rotated, and when we are zoomed, the antialiasing can double-draw the shared border for images that are meant to seam (ala nine-patch) http://b/issue?id=2105990&cookieId=2009268085657820
* Add ANDROID_USER_GESTURE back to WebCore.Patrick Scott2009-09-244-0/+52
| | | | | | | 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.
* When mouse down or plugin handles touch down, set the pluginGrace Kloba2009-09-231-0/+13
| | | | | | to be the focus of the document so that it can receive key events. This has the same logic as in PluginViewMac.cpp's handleMouseEvent().
* Add apple-touch-icon-precomposed processing.Patrick Scott2009-09-224-8/+19
| | | | Send up a boolean to indicate if the touch icon url is precomposed.
* Add dpi support for WebView.Grace Kloba2009-09-212-5/+25
| | | | | | | | | | | | | | | | | | | | | | | | 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-211-2/+2
| | | | | | calls Change-Id: I7881e711af7ec905e5c120e8e2fd4b0b7ba5e840
* Merge change 25547 into eclairAndroid (Google) Code Review2009-09-171-1/+1
|\ | | | | | | | | * changes: bump up the RLE cutoff, since RLE is *only* supported in drawBitmapRect(), and therefore we should only trigger it when there is no other way to support the image. Now that we have ashmem (yay!!!) memory pressure is not so bad. This happens to also fix google reader site, which sends down large (but not giant) index images but doesn't trigger our drawBitmapRect() code.
| * bump up the RLE cutoff, since RLE is *only* supported in drawBitmapRect(), ↵Mike Reed2009-09-171-1/+1
| | | | | | | | | | | | | | | | and therefore we should only trigger it when there is no other way to support the image. Now that we have ashmem (yay!!!) memory pressure is not so bad. This happens to also fix google reader site, which sends down large (but not giant) index images but doesn't trigger our drawBitmapRect() code.
* | Wire the rest of MediaPlayer to our implementation of ↵Andrei Popescu2009-09-171-0/+7
|/ | | | WebCore::MediaPlayerPrivate
* Add poster support and other fixesAndrei Popescu2009-09-175-3/+36
|
* Merge change 25316 into eclairAndroid (Google) Code Review2009-09-172-4/+6
|\ | | | | | | | | * changes: Enable Channgel Messaging for workers.
| * Enable Channgel Messaging for workers.Ben Murdoch2009-09-162-4/+6
| | | | | | | | Change-Id: Iae69d02802dbe3d62e8d36753a8bed0ff9883db8
* | Merge change 25135 into eclairAndroid (Google) Code Review2009-09-161-1/+3
|\ \ | |/ |/| | | | | * changes: For TouchEventEnd, touches and targetTouches are empty list.
| * For TouchEventEnd, touches and targetTouches are empty list.Grace Kloba2009-09-151-1/+3
| | | | | | Fix http://b/issue?id=1905451
* | First pass at replacing native plugin views with java.Derek Sollenberger2009-09-151-0/+7
|/ | | | Change-Id: I637275c9766202a4358ef25af01ee92c85c48e7f
* Add more null checking to avoid the crash.Grace Kloba2009-09-111-4/+5
|
* Fix the include files from the last WebKit merge. If there is Android version,Grace Kloba2009-09-101-5/+4
| | | | we should not include None version. This should fix plugin loading, bookmark icon problems.
* Removes Geolocation Geoposition.toString and Coordinates.toString.Steve Block2009-09-109-102/+0
| | | | | | This fixes http://b/issue?id=2103855. Change-Id: I1811d97c59e0458a94347c8a63b4d1c0541dfaf7
* Move mobile doctype check from HTMLDocument to Document so that it will ↵Grace Kloba2009-09-082-16/+9
| | | | | cover xhtml case like http://us.m1.yahoo.com. Fix http://b/issue?id=2102284
* Merge change 24042 into eclairAndroid (Google) Code Review2009-09-082-5/+6
|\ | | | | | | | | * changes: Handle another old style meta tag, MobileOptimized. Also if the sites set the width for the viewport to be less than 320, just use device-width.
| * Handle another old style meta tag, MobileOptimized. Also if the sites setGrace Kloba2009-09-042-5/+6
| | | | | | | | | | | | the width for the viewport to be less than 320, just use device-width. Fix http://b/issue?id=2098078
* | Updates mock Geolocation service to match final version submitted to WebKit.Steve Block2009-09-087-54/+61
| | | | | | | | | | | | See https://bugs.webkit.org/show_bug.cgi?id=28264. Change-Id: I30900239108ea699f194fceb30626f41c928c08e
* | Merge change 24108 into eclairAndroid (Google) Code Review2009-09-082-3/+119
|\ \ | | | | | | | | | | | | * changes: Store Geolocation cached position between browser sessions.
| * | Store Geolocation cached position between browser sessions.Steve Block2009-09-072-3/+119
| | | | | | | | | | | | | | | | | | This fixes bug http://b/issue?id=2054431. Change-Id: I44b752b0c7fb4529027018c99dd945279b594b89
* | | Fixes Coordinates::toString to not print optional parameters that are not ↵Steve Block2009-09-071-3/+7
|/ / | | | | | | | | | | | | | | specified. This fixes http://b/issue?id=2103855. Change-Id: Ie540c7adc056ea0f285b7558b2f33acfcc1ecab2
* | Implements Geolocation PositionOptions.maximumAge property.Steve Block2009-09-072-12/+123
| | | | | | | | | | | | This fixes bug http://b/issue?id=2054431. Change-Id: Ic5fcd763e448b3bdc02de5d2a40d418ef25d39f9
* | Merge change 23972 into eclairAndroid (Google) Code Review2009-09-073-14/+63
|\ \ | |/ |/| | | | | * changes: Fixes Geolocation to correctly handle infinite values for PositionOptions properties.
| * Fixes Geolocation to correctly handle infinite values for PositionOptions ↵Steve Block2009-09-043-14/+63
| | | | | | | | | | | | | | | | properties. This fixes http://b/issue?id=2094429. Change-Id: I01cc5107d4a96840e35cc403161d50dbdf6a1ca2
* | Merge change 23971 into eclairAndroid (Google) Code Review2009-09-043-3/+83
|\ \ | |/ | | | | | | * changes: Adds V8 bindings for optional properties of Geolocation Coordinates object.
| * Adds V8 bindings for optional properties of Geolocation Coordinates object.Steve Block2009-09-043-3/+83
| | | | | | | | This fixes http://b/issue?id=2049677.
* | Merge change 23969 into eclairAndroid (Google) Code Review2009-09-042-0/+13
|\ \ | | | | | | | | | | | | * changes: Updates MockGeolocationService to call back to the Geolocation object only when active.
| * | Updates MockGeolocationService to call back to the Geolocation object only ↵Steve Block2009-09-042-0/+13
| | | | | | | | | | | | when active.
* | | Merge change 23957 into eclairAndroid (Google) Code Review2009-09-042-43/+22
|\ \ \ | |/ / | | | | | | | | | * changes: Fix Geolocation to correctly handle reentrant calls from callbacks.
| * | Fix Geolocation to correctly handle reentrant calls from callbacks.Steve Block2009-09-042-43/+22
| | | | | | | | | | | | This fixes http://b/issue?id=2094823.
* | | Merge change 23954 into eclairAndroid (Google) Code Review2009-09-041-9/+3
|\ \ \ | |/ / | | | | | | | | | * changes: Makes Geolocation error callback asynchronous when service fails to start.
| * | Makes Geolocation error callback asynchronous when service fails to start.Steve Block2009-09-041-9/+3
| | | | | | | | | | | | | | | | | | This fixes http://b/issue?id=2054361. Change-Id: I83ff2618fb49bb126c7cd4c318914c6a0c68d69d
* | | Merge change 23829 into eclairAndroid (Google) Code Review2009-09-042-33/+25
|\ \ \ | |/ / | | | | | | | | | * changes: Refactors Geolocation to avoid duplication in getCurrentPosition and watchPosition.
| * | Refactors Geolocation to avoid duplication in getCurrentPosition and ↵Steve Block2009-09-032-33/+25
| | | | | | | | | | | | | | | | | | watchPosition. This change is being submitted to WebKit as part of https://bugs.webkit.org/show_bug.cgi?id=27944.
* | | Merge change 23625 into eclairAndroid (Google) Code Review2009-09-042-1/+5
|\ \ \ | |/ / |/| | | | | | | | * changes: Fix the DOM storage layout tests when running with V8. Change the custom bindings to ignore requests for the length attribute and update the event handling code to create Storage Events properly.
| * | Fix the DOM storage layout tests when running with V8. Change the custom ↵Ben Murdoch2009-09-022-1/+5
| |/ | | | | | | bindings to ignore requests for the length attribute and update the event handling code to create Storage Events properly.
* | Brings Mock Geolocation service up to date with latest submission to WebKit.Steve Block2009-09-024-14/+8
|/ | | | See https://bugs.webkit.org/show_bug.cgi?id=28264.
* Merge change 22906 into eclairAndroid (Google) Code Review2009-09-023-35/+53
|\ | | | | | | | | * changes: Add functionality to V8 bindings for SQLTransaction to allow array-like objects to be passed as the second parameter to executeSql(), and ensure exceptions are thrown in the right places.
| * Add functionality to V8 bindings for SQLTransaction to allow array-like ↵Ben Murdoch2009-09-023-35/+53
| | | | | | | | objects to be passed as the second parameter to executeSql(), and ensure exceptions are thrown in the right places.
* | Merge change 22913 into eclairAndroid (Google) Code Review2009-09-018-2/+479
|\ \ | | | | | | | | | | | | * changes: Adds V8 bindings for Geolocation.