summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/platform/android
Commit message (Collapse)AuthorAgeFilesLines
* Increase default button paddingJohn Reck2011-09-211-3/+6
| | | | | | | | Bug: 5354009 12 for left/right 8 for top/bottom Change-Id: Iec50b82b95d24b3a50c858017f52d52310c86ee9
* The real fix for the video forward/back button.Teng-Hui Zhu2011-08-241-1/+1
| | | | | | | | Since the code move to the /shadow part, revert the previous change c/130242 and put in this new change. bug:4598827 Change-Id: I6592050e198d2801d87ccc1558ceb2bf6dfc25d5
* video UI fix, hide the forward/back buttonTeng-Hui Zhu2011-08-231-1/+1
| | | | | | bug:4598827 Change-Id: I7de60b79e79bbb0de8c3524764ccdbd6ff582268
* Lazily decode assets for form controls.Ben Murdoch2011-08-161-1/+1
| | | | | | | | | | | | 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
* Check the available memory when allocating an ImageBuffer.Ben Murdoch2011-08-121-0/+1
| | | | | | | | | | | | | The ImageBuffers used by canvas can eat a ton of memory quickly, so be mindful of the available memory on the device before allocating them. See also frameworks/base change I3d0f85075497c2a374cd866b0223eecaaa4b5f46 Bug: 5142892 Change-Id: I74d243ef9d0d63aac168c16653e9aae0430dfa21
* Revert "Factor the scale into the actual screen space calculation."Shimeng (Simon) Wang2011-07-081-8/+4
| | | | This reverts commit 706c2b4c3089f2832c8172c0581e3df110bf534c.
* Factor the scale into the actual screen space calculation.Shimeng (Simon) Wang2011-07-011-4/+8
| | | | | issue: 4982074 Change-Id: I5d86539a17393f3060cd67bd4c6888734037c7e4
* Merge WebKit at r82507: JNIType renamed to JavaTypeSteve Block2011-06-081-1/+1
| | | | | | See http://trac.webkit.org/changeset/81860 Change-Id: I7ba9cf3f5a739f4d94e9189f6eb6dd4f8f645787
* Merge WebKit at r82507: Fix conflicts due to new StorageTrackerSteve Block2011-06-081-24/+0
| | | | | | | | | | | | | | | | - FileSystemAndroid.cpp, FileSystemPOSIX.cpp Use new common version of listDirectory(), which is identical to the existing Android version. - StorageNamespace.h, StorageNamespaceImpl.h Conflict due to Android's clearPage() - PageGroup.cpp Conflict due to Android's clearDomStorage() See http://trac.webkit.org/changeset/80892 Change-Id: Ifac131155f5019959de8761438cd0372547b0e6c
* Merge WebKit at r82507: Initial merge by gitSteve Block2011-06-082-7/+6
| | | | Change-Id: I60ce9d780725b58b45e54165733a8ffee23b683e
* Update PlatformTouchEvent for Android to reflect upstreamed versionSteve Block2011-06-071-2/+0
| | | | | | See http://trac.webkit.org/changeset/81685 Change-Id: Ibc6c1336b696e39f27fd88d9b4e90fe6918ceba8
* Always check weak global references before using themSteve Block2011-06-021-5/+12
| | | | | | | | | | | | | | | | | | We hold weak references to Java objects from native code in several places to avoid circular reference problems. These objects may become weakly reachable at any time, after which the GC could null our weak reference, so we have to null-check at every use. Note that weak references are nulled before the referent is finalized, so we can't rely on doing work in the finalizer to wait for the currently executing message to complete and to remove other messages from the queue. This effectively reverts https://android-git.corp.google.com/g/#change,30955 Bug: 4336862 Change-Id: I431fcac11220cb406c26e31aacb9bda7ea22776e
* Merge WebKit at r80534: Fix uses of rounding hacks.Ben Murdoch2011-06-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Font rounding hacks have been removed upstream, so there is no need for our local code anymore. Remove all uses of the ANDROID_DISABLE_ROUNDING_HACKS macro. Note that this brings our behavior in line with upstream - Android will see a change in behavior to before the merge as we did not disable rounding hacks in all cases. - SVGInlineTextBox::SVGInlineTextBox() - we don't pass a value for disableRoundingHacks, so we don't disable hacks, so this behaviour will change as rounding hacks are disabled now. - RenderText::createTextBox() - We pass a value for disableRoundingHacks, true if any parent is a text control. So we will change behavior in any case where the parent is not a text control. Note that although we may see a change in behavior, that change is consistent with the upstream codebase. See http://trac.webkit.org/changeset/78846 Change-Id: I5d4d7298083acc519199c4c38ab5acdef5bdc537
* Merge WebKit at r80534: Fix makefiles.Ben Murdoch2011-06-021-16/+0
| | | | | | | | | | | | | Add new and remove deleted files to fix makefiles. See http://trac.webkit.org/changeset/79861 for new XSLTreeViewer generation. Also remove a stub from TemporaryLInkStubs that we now get by compiling the correct files in JSC (see http://trac.webkit.org/changeset/78634). Change-Id: I550b035b7c9c915b42738366da7817dca020c9a8
* Merge WebKit at r80534: Intial merge by GitBen Murdoch2011-06-023-0/+17
| | | | Change-Id: Ia7a83357124c9e1cdb1debf55d9661ec0bd09a61
* Merge WebKit at r78450: Fix remaining conflictsSteve Block2011-05-251-10/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Document.cpp Conflict due to AX object cache disabled on Android See http://trac.webkit.org/changeset/78314 - CachedResourceLoader.cpp/h Conflict due to ANDROID_BLOCK_NETWORK_IMAGE See http://trac.webkit.org/changeset/76701 - Source/WebCore/page/ChromeClient.h Conflict due to ANDROID_INSTALLABLE_WEB_APPS See http://trac.webkit.org/changeset/77509 - FrameView.cpp Conflict due to Android FrameView::updatePositionedObjects() See http://trac.webkit.org/changeset/77274 - ScrollView.h Conflict due to Android ScrollView::actualWidth/Height/ScrollX/ScrollY() See http://trac.webkit.org/changeset/76831 - TemporaryLinkStubs.cpp and MIMETypeRegistry.cpp conflict due to Android stubbed out MIMETypeRegistry::getMIMETypeForExtension() See http://trac.webkit.org/changeset/77368 and https://android-git.corp.google.com/g/#change,37272 - ImageDecoder.cpp Conflict due to Android excluding code See http://trac.webkit.org/changeset/77427 - ImageDecoder.h Conflict due to ANDROID guard upstreamed as SKIA guard See http://trac.webkit.org/changeset/77946 - InlineTextBox.cpp Conflict due to ANDROID_DISABLE_ROUNDING_HACKS See http://trac.webkit.org/changeset/76743 and http://trac.webkit.org/changeset/77286 - RenderBlockLineLayout.cpp Conflict due to ANDROID_LAYOUT See http://trac.webkit.org/changeset/77062 Change-Id: Ide4d58dc52418b8fc1a965a9524eb57cd46b4859
* Merge WebKit at r78450: Initial merge by git.Steve Block2011-05-241-0/+12
| | | | Change-Id: I6d3e5f1f868ec266a0aafdef66182ddc3f265dc1
* Merge WebKit at r76408: Update Uses of Noncopyable/FastAllocBaseBen Murdoch2011-05-232-1/+3
| | | | | | | | | | | | | | | | Upstream now uses macros rather than inheritance for classes declard Noncopyable or Fast Allocated. Note that in the case of PluginTimer and ClipboardAndroid we now need to explicitly declare them fast allocated. This is because previously they got the fast allocated methods through a common superclass (FastAllocBase) but now both parents provide implementations, so there is an ambiguity the compiler cannot resolve. See http://trac.webkit.org/changeset/76248 Change-Id: I186e3fd36bde2074d34f453983d48e8fc223f420
* Merge WebKit at r76408: Initial merge by git.Ben Murdoch2011-05-231-1/+1
| | | | Change-Id: I5b91decbd693ccbf5c1b8354b37cd68cc9a1ea53
* Merge WebKit at r75993: Fix TemporaryLinkStubs.cppBen Murdoch2011-05-161-6/+0
| | | | | | | PasteBoard destructor has been removed. See http://trac.webkit.org/changeset/75523 Change-Id: I9beec1cca66e84c5459b0f0f29a25902f7a9fced
* Merge WebKit at r75993: Fix RenderThemeAndroid.cppBen Murdoch2011-05-161-0/+1
| | | | | | | PaintInfo.h include was removed from RenderObject.h in http://trac.webkit.org/changeset/75837 Change-Id: I4347c028ea55506096b658206b04e96d158c08d3
* Merge WebKit at r75993: Initial merge by git.Ben Murdoch2011-05-161-4/+4
| | | | Change-Id: I602bbdc3974787a3b0450456a30a7868286921c3
* Merge WebKit at r75315: Stub out AXObjectCache::remove()Steve Block2011-05-131-0/+5
| | | | | | See http://trac.webkit.org/changeset/75031 Change-Id: I1158a8086e2b184f5728eb1ea3d6344af4fee162
* Merge WebKit at r75315: Move Android-specific WebCore files to SourceSteve Block2011-05-124-0/+281
| | | | | | | | | | | | | This moves files in the following WebCore subdirectories ... - bindings/js - bindings/v8/custom - plugins/android - platform/android - platform/graphics/android - page/ - css/ - dom/ - loader/archive/android
* Merge WebKit at r75315: Initial merge by git.Steve Block2011-05-1229-0/+4305
Change-Id: I570314b346ce101c935ed22a626b48c2af266b84