summaryrefslogtreecommitdiffstats
path: root/WebKit
Commit message (Collapse)AuthorAgeFilesLines
* Browser save page as web archive.Elliott Slaughter2010-07-121-0/+91
| | | | Change-Id: Ie92953142ed31fc859975289a978172bdb8b6d79
* Merge "handle out of order selections"Cary Clark2010-07-092-108/+298
|\
| * handle out of order selectionsCary Clark2010-07-092-108/+298
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Usually, the text on a webpage is drawn from top to bottom but sometimes it is drawn out of order. In these cases the picture finds the select end before it finds the select start. When the select start and end are ordered, all of the text in the picture between the two are selected. This allows selecting all of the text on the page, even if the start isn't spacially before the end. When the select start and end are flipped, select the text spacially between the two. The flipped page scenario was found by http://code.google.com/p/android/issues/detail?id=8533 Change-Id: Ia22d49396d68fefc3d64fad438c4b0c02f668c1c
* | am b34d9d68: merge from open-source masterThe Android Open Source Project2010-07-091-1/+1
|\ \ | | | | | | | | | | | | | | | | | | Merge commit 'b34d9d688a0b9fc74c04ac9aba0ad7d6cbe10010' * commit 'b34d9d688a0b9fc74c04ac9aba0ad7d6cbe10010': Fix missing NL
| * \ merge from open-source masterThe Android Open Source Project2010-07-091-1/+1
| |\ \ | | | | | | | | | | | | Change-Id: Ib725f9df8c1d3a5105a126bf9475ec060ac0a98a
| | * | Fix missing NLBruce Beare2010-06-251-1/+1
| | | | | | | | | | | | | | | | | | | | Change-Id: I6757ab42e52b9d878f06da4bdc757c4626e3d0c5 Signed-off-by: Bruce Beare <brucex.j.beare@intel.com>
| * | | am 75238a0c: am 2943c136: Fix the \'wobbling fixed elements\' bug. ↵Nicolas Roard2010-05-111-9/+19
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | Cherry-picked from master. This CL has a corresponding java counterpart (https://android-git.corp.google.com/g/#change,51150). Merge commit '75238a0c6749b428ac76d812d1ab08bedaec5ee3' into kraken * commit '75238a0c6749b428ac76d812d1ab08bedaec5ee3': Fix the 'wobbling fixed elements' bug.
| | * | Fix the 'wobbling fixed elements' bug.Nicolas Roard2010-05-101-9/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Cherry-picked from master. This CL has a corresponding java counterpart (https://android-git.corp.google.com/g/#change,51150). Bug:2665696 Change-Id: I408a3e2f089a491c340e0f9eb8633870dae84997
* | | | Combine base PictureSet with composite layers intoGrace Kloba2010-07-096-261/+155
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | one SkLayer tree. The BaseLayerAndroid is the root of the composite layers and it has the PictureSet as its base content. Before, WebViewCore uses m_contentMutex and both UI and WebCore threads access the m_content. Now we use the layer approach. When WebCore thread updates its content in recordContent, it creates a new BaseLayerAndroid and copy both PictureSet and composite layers into it. Then it is sent to be consumed by UI thread. Clean up sync layer in both ChromeClientAndroid and GraphicsLayerAndroid. splitContent can be a little tricky with this change. Now UI has its own copy of PictureSet. When it takes too long to draw, it will send a request to WebCore to split the PictureSet. When it is done, a copy of the new PictureSet will be sent back to UI. There is a matching change in framework/base
* | | | Merge WebKit at r62496: Initial merge by gitSteve Block2010-07-09127-1348/+3130
| |_|/ |/| | | | | | | | Change-Id: Ie3da0770eca22a70a632e3571f31cfabc80facb2
* | | Merge "don't walk off the end of the DOM when looking for text"Cary Clark2010-07-021-3/+4
|\ \ \
| * | | don't walk off the end of the DOM when looking for textCary Clark2010-07-021-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also, fix a couple of minor changes in debugging code to stay sync'd with webkit. Change-Id: If4263bab97715e2a2d12f06f2359554740bf5dbc http://b/2816549
* | | | 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
|\ \ \ \