summaryrefslogtreecommitdiffstats
path: root/WebKit
Commit message (Collapse)AuthorAgeFilesLines
* Merge WebKit at r61871: Fix conflicts in HTMLDocumentParser.cppKristian Monsen2010-07-021-1/+1
| | | | | | | | | | | | New document parser in webkit. Just taking in the new parser. See http://trac.webkit.org/changeset/61674 This file is now what is in webkit at the time of the merge, with ANDROID_INSTRUMENT added. The instrumentation for Parsing now includes inline script execution, this will have to be fixed later. Updated the description for the parsing counter. Change-Id: I2c1bae725fe8989999620430e4745e1dfa7c450b
* Merge WebKit at r61871: Initial merge by git.Kristian Monsen2010-07-02202-1607/+8404
| | | | Change-Id: I6cff43abca9cc4782e088a469ad4f03f166a65d5
* Detect if we're a webapp from the meta tag and send a message throughBen Murdoch2010-06-304-0/+25
| | | | | | | | | | to java land if that is the case. Requires a frameworks/base change. b/2766917 Change-Id: I6d4034e6316e27c31a36a06063b5968c654fc756
* Merge "refine text selection"Cary Clark2010-06-291-24/+26
|\
| * refine text selectionCary Clark2010-06-291-24/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change 'select all' to begin with the first character and end with the last rather than relying on the top left and bottom right. The old algorithm failed for pages broken into multiple columns. Similarly, capture the text from the beginning selection to the ending selection, rather than relying on the characters contained by the selection region. Reduce the gap required to add a linebreak from twice the lineheight to 1.5x the lineheight. Change-Id: Ib90a719ea3353feeaa3a6cc692d0dd9cff498cb5 http://b/262451
* | set maximum image sizeCary Clark2010-06-291-0/+8
|/ | | | | | | | | | | | | | | | Our use of web settings does not specify the maximum image size, although we have some hard-coded values used when decoding the image. For defective images, the hard-coded values are not enough, since we may exceed memory in the decoder before the limit is reached. Pass along our limits to the decoder, and respect any limits set by the caller. companion change in frameworks/base Change-Id: Icdfca87a44a3af8bcc1f0ed4792e04e060a67333 http://b/2689053
* Merge "Don't use the validity of the border color to determine whether the ↵Leon Clarke2010-06-281-4/+8
|\ | | | | | | border will be drawn, but instead use the appearance, which is effectively what webkit uses to decide whether to draw its border http://b/issue?id=2661748"
| * Don't use the validity of the border color to determineLeon Clarke2010-06-231-4/+8
| | | | | | | | | | | | | | | | whether the border will be drawn, but instead use the appearance, which is effectively what webkit uses to decide whether to draw its border http://b/issue?id=2661748 Change-Id: I8200f9e1ae68c1e16360bab25a0c7e6b0fe9ee34
* | Refactor find and select dialogsCary Clark2010-06-253-173/+937
| | | | | | | | | | | | | | | | | | | | | | | | | | | | SelectText now permits incremental extension of the selection using either touch or trackball data. SelectText adds word selection and select all interfaces. SelectText has been rewritten to do a better job of finding space characters and selecting text outside of the visible window. Companion changes in frameworks/base and packages/apps/Browser Change-Id: I917a14124a41a3c9bd72ffa48fe36e55e7c4e543 http://b/2626451
* | Check "email" input as some sites use it as the username.Grace Kloba2010-06-231-2/+2
|/ | | Fix http://b/issue?id=2792508
* Added setXSSAuditorEnabled support in WebSettings.Elliott Slaughter2010-06-221-0/+5
| | | | Change-Id: I5a2580314ef866d661c6a1cac08df28ea1e0b54a
* Dump child frames data according to Mac/Qt implementation for layout tests.Shimeng (Simon) Wang2010-06-211-4/+44
| | | | Change-Id: I79bf09b1064d0d21540f492070f9b8a1ded83907
* Merge "Initial messaging model for project 'smoke'"Patrick Scott2010-06-213-0/+413
|\
| * Initial messaging model for project 'smoke'Patrick Scott2010-06-213-0/+413
| | | | | | | | | | | | | | | | Not compiled yet as it is unused (without other patches). I wanted to start getting something committed so Derek and I can work together on the next part. Change-Id: I5dba6107e572c9be402d75df49c3c69e2c527590
* | Fix new LayoutTest crashes in compositing/iframes/lots-of-objects.html andBen Murdoch2010-06-181-2/+5
| | | | | | | | | | | | compositing/iframes/lots-of-iframes.html caused by memory leaks. Change-Id: I28de673d5bf0bb79438af4f094e0390c48bd8180
* | Merge webkit.org at r61121: Add new method to InspectorClientAndroid. See ↵Ben Murdoch2010-06-181-0/+2
| | | | | | | | | | | | http://trac.webkit.org/changeset/61113 Change-Id: Id1f70698f67122742953867f3884f37ec06bae14
* | Merge webkit.org at r61121: Initial merge by git.Ben Murdoch2010-06-16168-922/+5663
| | | | | | | | Change-Id: Icd6db395c62285be384d137164d95d7466c98760
* | Merge webkit.org at r60469 : since @60104 the zoom level functions ar in the ↵Leon Clarke2010-06-081-2/+2
| | | | | | | | | | | | | | | | FrameView http://trac.webkit.org/changeset/60104 Change-Id: I7050bd945d397552bd154490277881cb4cc961c9
* | Merge webkit.org at r60469 : @60418 requires us to use associatedElements() ↵Leon Clarke2010-06-081-7/+7
| | | | | | | | | | | | | | | | accessor instead of accessing members http://trac.webkit.org/changeset/60418 Change-Id: I6f50f6ba29c48a7628452af35dcd1269e090cff2
* | Merge webkit.org at r60469 : Initial merge by git.Leon Clarke2010-06-08132-592/+4386
| | | | | | | | Change-Id: I66a0047aa2af802f66bb0c7f2a8b02247a596234
* | Enable File Reader and blob.slice APIs.Ben Murdoch2010-06-023-8/+8
| | | | | | | | | | | | | | | | | | Notes: - the change to WebCore/html/FileStream.cpp is a cherry pick of http://trac.webkit.org/changeset/60325 - the change to WebCore/platform/posix/FileSystemPOSIX.cpp is a cherry pick of http://trac.webkit.org/changeset/60374 - this needs a corresponding frameworks/base change Change-Id: I05d1496e1e95adf1c6a61c6f07bbf62e9bc92820
* | Code clean up, http://b/issue?id=2724743Grace Kloba2010-05-286-77/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change Widget:screenWidth() to Widget:textWrapWidth() as the text wrap width may be different than the screen width after pinch zoom. Change AndroidWebHistoryBridge's m_screenWidthScale to m_textWrapScale to reflect its meaning. Remove unused screenWidth/screenHeight in PlatformBridge. Merge two restore methods to one. There is a matching CL in framework/base. Only setUseFixedLayout if layout width is different than screen width. Change from Node* to Ref<Node> to avoid a crash. Fix http://b/issue?id=2660396
* | Use the real visibleBounds for the ScrollView'sGrace Kloba2010-05-282-1/+10
| | | | | | | | | | | | | | | | | | visibleContentRect. Use the fixedLayout for the main FramView so that the virtual viewport is set up correctly for the css percent calculation. Fix http://b/issue?id=2685194
* | Report correct window.innerWidth and window.innerHeight.Grace Kloba2010-05-272-16/+33
| | | | | | | | | | | | | | | | | | | | | | I agree with this article that we should have a way to report the visible viewport to the JavaScript. http://www.quirksmode.org/mobile/viewports2.html#link6 Fix http://b/issue?id=2717861 I will try to upstream the code to WebKit separately.
* | Added getTouchHighlightRects for the fat point.Grace Kloba2010-05-272-0/+300
| | | | | | | | There is another matching CL in framework/base.
* | Merge WebKit at r60074: Remove ANDROID_EXPOSE_COLUMN_GAP as ↵Steve Block2010-05-271-2/+0
| | | | | | | | | | | | | | | | RenderBlock::columnGap() is now public See http://trac.webkit.org/changeset/59784 Change-Id: I06ab20401e79c8b9c8104bb6a81c5891ef36d717
* | Merge WebKit at r60074: RenderStyle color accessors are now privateSteve Block2010-05-272-6/+6
| | | | | | | | | | | | See http://trac.webkit.org/changeset/59956 Change-Id: If1839f65ad960250c7dda5b565bd47278aa7df14
* | Merge WebKit at r60074: Pass null DeviceOrientationClient to Page constructorSteve Block2010-05-272-2/+4
| | | | | | | | Change-Id: I0afccb0d08d42f13579ff7df4c41ed2d07abb36e
* | Merge WebKit at r60074: Initial merge by gitSteve Block2010-05-2787-447/+2477
| | | | | | | | Change-Id: I18a2dc5439e36c928351ea829d8fb4e39b062fc7
* | Refix http://b/issue?id=2509597.Grace Kloba2010-05-261-4/+3
| | | | | | | | | | | | | | | | | | | | Instead of changing the screenRect for the Screen object, change createWindow() logic to depend on the WebCoreViewBridge width/height instead of Screen as Screen is supposed to be in device pixel and it is not proper to be used here. Update the comment for the screenRect so that we won't mistakenly modify it. Fix http://b/issue?id=2690479
* | Merge "Merge WebKit at r59636: Method name changed upstream ↵Kristian Monsen2010-05-251-1/+1
|\ \ | | | | | | | | | http://trac.webkit.org/changeset/59227/trunk/WebCore/html/HTMLLabelElement.h#file0"
| * | Merge WebKit at r59636: Method name changed upstreamKristian Monsen2010-05-251-1/+1
| | | | | | | | | | | | | | | | | | http://trac.webkit.org/changeset/59227/trunk/WebCore/html/HTMLLabelElement.h#file0 Change-Id: I78e259fde5c59c9fe84173abedc8ff3996142381
* | | Merge "Merge WebKit at r59636: Initial merge by git"Kristian Monsen2010-05-25160-2725/+6352
|\ \ \ | |/ /
| * | Merge WebKit at r59636: Initial merge by gitKristian Monsen2010-05-25160-2725/+6352
| | | | | | | | | | | | Change-Id: I59b289c4e6b18425f06ce41cc9d34c522515de91
* | | Do not try to show pdf's in the browser.Patrick Scott2010-05-251-19/+25
|/ / | | | | | | | | | | | | | | | | | | We were skipping the canShowMIMEType check if content_disposition was non-empty. That was causing us to treat an inline content disposition as if we could show it in the browser. Instead, fallback to checking the mime type so we download files that we can't natively show. Bug: 2698159 Change-Id: I846dfea565bc4eeade9d679a0101a81858ef29cb
* | Only set extra_layout_delay if the loader is notGrace Kloba2010-05-241-1/+3
| | | | | | | | | | | | | | | | | | | | completed yet. In some case, especially with iframe, we may get the loader finished before first layout. In this case, we should not set layout delay. Otherwise it won't be cleared. Fix http://b/issue?id=2594662
* | Remove the use of a timer to delay painting, instead use a flag and check itNicolas Roard2010-05-213-8/+16
| | | | | | | | | | | | in RecordContent. Change-Id: I2a7c11d0cb9697bbc415b2b91ee96a188bf45bf3
* | Merge "reverse RTL characters in copy"Cary Clark2010-05-212-0/+110
|\ \
| * | reverse RTL characters in copyCary Clark2010-05-212-0/+110
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Text is copied from the picture in visual left-to-right order. Reverse right-to-left substrings before returning the result. This algorithm for reversal is also used by webkit to draw text, and has the same limitations. This fixes text pasted into the title bar, but does not work correctly for text pasted into an input field -- LTR text is placed incorrectly -- but that's another bug. Change-Id: I4709b74e32495d4b77d33910ac8da34d4a88edd0 http://b/2525085
* | | Provide a string for the case where a file upload control has not had a file ↵Ben Murdoch2010-05-211-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | attached to it. Requires a frameworks/base change. Change-Id: Ia50d4b8cceb943166198888dad364b09a2dc06a1
* | | Update file chooser to pass the accept type from WebCore to Java.Ben Murdoch2010-05-211-4/+13
| | | | | | | | | | | | | | | | | | | | | | | | Requires a frameworks/base change to receive the accept type and a packages/apps/Browser change to override the new method signature. Change-Id: I3d0cfdc76151237a3167139c89f5e275b209ab37
* | | Add a method to the PlatformBridge to resolve the filename of a fileBen Murdoch2010-05-216-15/+83
|/ / | | | | | | | | | | | | | | | | given its representation as a content:// URI, and the associated JNI plumbing. Requires a frameworks/base change. Change-Id: I9b8b8bb3fbfa31c86f4212f91c140fe62c6c6682
* | Prohibit scrolling not initiated by the user.Leon Scroggins III2010-05-191-0/+13
| | | | | | | | | | | | | | | | | | | | We used to have an ANDROID specific change that was removed when webkit changed. See https://android-git.corp.google.com/w/?p=platform/external/webkit.git;a=commitdiff;h=57a47dd4f75b9c15804c3c61479540cfdc11bd6e Bug 1330729 Bug 2694223 Change-Id: Id51edbb4943eb0a1357477d4bcd31d838febb8fb
* | Adding a mechanism for injecting accessibility in WebViews with disabled ↵Svetoslav Ganov2010-05-152-0/+77
| | | | | | | | | | | | JavaScript. Change-Id: If0d8fc9cffcd00356dffe46af094b65488b3ff5a
* | suppress partial screen updates if a canvas element is visibleCary Clark2010-05-143-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A PictureSet contains a list of pictures. Each picture draws part of the screen. If the picture contains a Canvas element, the corresponding bitmap is not shared. Small partial invalidates can create a dozen or so pictures, each of which may be quite small, a few hundred bytes. But the bitmap referenced by the picture may be large, several meg. The backing bitmap is unique to the Canvas element. Since a canvas rarely benefits from small updates, disable the partial invalidates if CacheBuilder detects a canvas. Change-Id: I5761667db3d037d7363dcb01f8a26f7f62e2eabc http://b/2678787
* | Merge "clean up nav cache debugging"Cary Clark2010-05-144-11/+39
|\ \
| * | clean up nav cache debuggingCary Clark2010-05-144-11/+39
| |/ | | | | | | | | | | | | | | | | This adds additional content to the nav cache dump, and cleans up a few formatting problems. This has no effect on code that does not have nav cache debugging enabled. Change-Id: Ice2c4bb33138a8ddc96739d95ead58fbe328bfa8
* | Merge Webkit at r58956: Update plugin code to use C99 types. See ↵Ben Murdoch2010-05-145-18/+18
| | | | | | | | | | | | http://trac.webkit.org/changeset/58590 Change-Id: I73f3f008a88e69962de831a98d40e8d23c3cce30
* | Merge Webkit at r58956: add new FrameLoaderClient methods. See ↵Ben Murdoch2010-05-142-0/+7
| | | | | | | | | | | | http://trac.webkit.org/changeset/58686 and http://trac.webkit.org/changeset/58111 Change-Id: Iebc4ab59ac768d4dde2fe56f63657d98c4b9db3a
* | Merge Webkit at r58956: Initial merge by Git.Ben Murdoch2010-05-14225-1366/+7336
|/ | | | Change-Id: I1d9fb60ea2c3f2ddc04c17a871acdb39353be228