| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
The cleanup consists of:
1. removing unused variables and functions
2. refactoring the backed texture to reduce number of exposed variables
Change-Id: I8a36725f61c5ecd77b7a215ec75a7b8129bf56af
|
|
|
|
| |
Change-Id: Ie24613c69fd048b14003f7cbc3ad0c86ba4e295e
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
These are Apple extensions to the document object present on iOS
and are used by several sites to detect touch event support.
See
http://developer.apple.com/library/safari/#documentation/UserExperience/Reference/DocumentAdditionsReference/DocumentAdditions/DocumentAdditions.html
for Apple's documentation.
Upstreaming to webkit being tracked in
https://bugs.webkit.org/show_bug.cgi?id=47676
Bug: 2996106
Change-Id: I761b1494af60b5095ad9c47d54eb7240d47ae985
|
| |
| |
| |
| |
| |
| |
| |
| | |
Make sure PlatformGraphicsContext::mCanvas is still around when we
call restore().
Bug: 3071206
Change-Id: I5b3bc40448e1d891a47f214d18daf345d55d9284
|
|/
|
|
| |
Change-Id: I8516c4f39a38e236d0bff38a91fe8657cfcf8ad4
|
|
|
|
| |
Change-Id: I5fec3f1ce421831b3fecae4030d63a29fe75fa1c
|
|
|
|
|
|
|
|
|
|
|
| |
The cleanup consists of:
1. renaming m_baseTextures to m_baseTiles
2. caching the inverse scale to speed up the draw calls
3. removing currentPictureMethod as it is available through GLWebViewState
4. adding comments to the public methods
5. some small source code optimizations
Change-Id: I831500da335a3afac7232524b74e63436ea65efb
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The cleanup consisted of three pieces:
1. rename the class to TileSet since a set implies multiple tiles.
2. removed unused variables and uncessary methods.
3. cleaned up coding style and added comments.
Change-Id: I605fce367e4d1e8cb795f1e9bfab0ce0999dc7e3
|
|/
|
|
|
| |
Bug:3097149
Change-Id: I280c0ca0e534d46570d758267c1e78c561a5b955
|
|
|
|
|
|
| |
This is a two-parts CL, Its counterpart is https://android-git.corp.google.com/g/#change,64863
Change-Id: I40fcf3b7b6d28b887b101219c973070aeefbb777
|
|
|
|
|
|
|
|
|
|
|
|
| |
The DoubleBufferedTexture currently uses a mutex to protect access
to m_frontTexture on the producer functions. This mutex is not needed
in the producerLock/producerRelease functions as they will always be
called by the thread that sets m_frontTexture. Additionally, this
data will be initialized before calls to those funtions as the thread
must always call aquireContext() before calling these functions.
Change-Id: I110ad357c5eed4c0f5501761174e0da4b872af5d
http://b/3089605
|
|
|
|
|
|
|
|
|
|
| |
This CL extends the existing udio API with a new function to
measure the latency of a audio track. To preserve binary
compatibility with the already released v0 API we have created
a v1 extension.
Change-Id: I656ac10470f2262bac7039aa45458d2100a37612
http://b/3088633
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
If a plugin removes itself from the DOM and it is the only plugin
of that type on the page then the browser will attempt to unload
the plugin's shared library. This causes a problem since there is
plugin code still on the stack. The solution is to post a message
that removes the plugin's libary at a later time. This solution
was disabled in the past due to an unknown issue, but was tested
as working on both the Adobe plugin and a development sample plugin.
Change-Id: If60394336790f833d6b9333424836cbd32dc31e7
http://b/3084460
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Reduce the style check error from 118 to 1.
Mostly are one space for end of line comment, underscore in function
name, NULL Vs 0, comparing with 0 etc...
Only one function name android_gc2canvas still contain underscore and
chaning that need to touch multiple files.
That will be fixed when we come to clean up the whole directory.
Change-Id: Ibcbc4d368452943825a4b3421315732eb03c292c
http://b/3003023
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Move the call to WebViewCore::updateTextfield() to the PlatformBridge
so that WebCore code does not depend on WebKit code to compile.
In addition to being a layering violation, the inclusion of
WebViewCore.h includes WebCoreJni.h, which in a future change
causes LOG to get #undefined when using the chromium net stack.
Change-Id: Id88d332624323e03ce82120ef55db200cbabe63b
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Move the call to WebViewCore::updateViewport() from HTMLBodyElement
and HTMLMetaElement to the PlatformBridge so that WebCore code does
not depend on WebKit code to compile.
In addition to being a layering violation, the inclusion of
WebViewCore.h includes WebCoreJni.h, which in a future change
causes LOG to get #undefined when using the chromium net stack.
Change-Id: I1a9fd0b545080c9c0d9d26a3e5eb3b986c3986eb
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Note that this change forks two WebCore files, but both files are
already forked and are unlikely to be changed upstream by non-Android
contributors. All changes to both files will be upstreamed at a later
date.
Bug: 2439218
Change-Id: I1e56ee12cec17df38a1404ab06c8897c22f2fd19
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Bug:3067265
This reverts commit f116b073399a3c3f644d6e6aeb2521ef9d2c9e9b.
Conflicts:
WebCore/platform/android/PlatformBridge.h
WebKit/android/WebCoreSupport/PlatformBridge.cpp
Change-Id: I358ce936a8c6f99717b976cfa07e7fe26014760a
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Changed m_minPrefWidth and m_maxPrefWidth to m_minPreferredLogicalWidth
and m_maxPreferredLogicalWidth in this CL:
http://trac.webkit.org/changeset/68276/trunk/WebCore/rendering/RenderBox.h
This changed containerWidth to containerLogicalWidth
http://trac.webkit.org/changeset/68362/trunk/WebCore/rendering/RenderBox.cpp
Also changed calcReplacedWidthUsing to computeReplacedWidthUsing here:
http://trac.webkit.org/changeset/68239/trunk/WebCore/rendering/RenderBox.h
Change-Id: I8eb912128aa5e09f55f4495671209cb8ca2ba3f0
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Empty declarations for these were added in the header file, probably safest
to keep the Android ones around.
In the Fix conflicts merge these were removed from Widget.cpp, so this should
match the old behaviour.
Webkit CL:
http://trac.webkit.org/changeset/68054/trunk/WebCore/platform/Widget.h
Change-Id: Ifdc0ad47816e03a7d424eb7130f2f7c1a61f7067
|
| |
| |
| |
| |
| |
| |
| | |
Fix in a later revision of Webkit, this is a cherry-pick:
http://trac.webkit.org/changeset/68780/trunk/WebCore/loader/PingLoader.cpp
Change-Id: I95ecfd0de7ef494fbf0eb7413976e326b525a026
|
| |
| |
| |
| |
| |
| |
| | |
m_axObjectCache is not used for Android, so adding guards like in
similar functions.
Change-Id: I6179bb23fce275095b9521680282eb4ba8b3d29e
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This has been fixed upstream in this CL (which this is a cherrry-pick of):
http://trac.webkit.org/changeset/68763/trunk/WebCore/inspector/InspectorController.h
And later removed upstream in this CL:
http://trac.webkit.org/changeset/68767/trunk/WebCore/inspector/InspectorController.h
Change-Id: I4c724f2f52a5a9db6dca6b58032b6a902aac74b5
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
ChromeClient.h:
Conflict due to ANDROID_INSTALLABLE_WEB_APPS
http://trac.webkit.org/changeset/68031/trunk/WebCore/page/ChromeClient.h
CSSParser.cpp:
Conflict due to ANDROID_INSTRUMENT
http://trac.webkit.org/changeset/68521/trunk/WebCore/css/CSSParser.cpp
Node.cpp:
Conflict due to ANDROID_DOM_LOGGING
http://trac.webkit.org/changeset/68541/trunk/WebCore/dom/Node.cpp
npapi.h:
Conflicts due to various #ifdef ANDROID
http://trac.webkit.org/changeset/68390/trunk/WebCore/bridge/npapi.h
PlatformTouchEvent.h:
PlatformTouchEventAndroid.cpp:
PlatformTouchPoint.h:
Conflicts due to new BREWMP code next to changed Android code
Initial webkit CL:
http://trac.webkit.org/changeset/68499
Later fix after merge revision, so cherry-picked:
http://trac.webkit.org/changeset/69034
RenderBox.cpp:
Several changes, conflicts due to ANDROID_LAYOUT
http://trac.webkit.org/changeset/68238#file2
http://trac.webkit.org/changeset/68239#file3
http://trac.webkit.org/changeset/68362/trunk/WebCore/rendering/RenderBox.cpp
The correct resolution here is unclear. A closer investiagtion by somebdoy
more familiar with the code is tracked with b/3071198
RenderBox.h:
Conflicts due to ANDROID_LAYOUT
http://trac.webkit.org/changeset/68417/trunk/WebCore/rendering/RenderBox.h
RenderIFrame.cpp:
Conflicts due to ANDROID_FLATTEN_IFRAME
http://trac.webkit.org/changeset/68238/trunk/WebCore/rendering/RenderIFrame.cpp
RenderTable.cpp:
Conflicts due to ANDROID_LAYOUT
http://trac.webkit.org/changeset/68427/trunk/WebCore/rendering/RenderTable.cpp
RenderView.cpp:
Conflicts due to ANDROID_LAYOUT
http://trac.webkit.org/changeset/68436/trunk/WebCore/rendering/RenderView.cpp
Settings.cpp:
Settings.h:
Conflicts due to ANDROID_PLUGINS and WEB_AUTOFILL
http://trac.webkit.org/changeset/68166
Widget.cpp:
http://trac.webkit.org/changeset/68054/trunk/WebCore/platform/Widget.cpp
Change-Id: I156f537ae0483b89e4c6b9fce0e7b2f931f957a2
|
| |
| |
| |
| |
| |
| |
| |
| | |
Two perl scripts now generate .cpp files as well as .h files:
http://trac.webkit.org/changeset/68521/trunk/WebCore/css/makevalues.pl
http://trac.webkit.org/changeset/65942/trunk/WebCore/css/makeprop.pl
Change-Id: Ic820536494d259200a69e07711d8cf19d5654b31
|
| |
| |
| |
| | |
Change-Id: I3d6bff59f17eedd6722723354f386fec9be8ad12
|
|/
|
|
|
|
|
| |
Use Java API to obtain this info.
issue: 2816278
Change-Id: Ia525cc84f9a18ad2f9868d9f13d3671da527e5e0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is a cherry-pick of the following upstream CL:
https://bugs.webkit.org/show_bug.cgi?id=47179
This violates the rules at the top of the file, and means that it
will be included before any other includes for all compilation
units.
We are now just including JavaScriptCore/config.h from
WebCore/config.h so if you include one you get both.
This created a compile error in V8Counters.cpp, which is also fixed
Change-Id: I272247161877ddc680b3aab509bc413ab3445219
|
|
|
|
|
|
|
|
| |
Instead of creating them at . and moving to the right place, just
create them at the right place. This way any additional files
created will be in the right place as well.
Change-Id: I6102bbcee2b4bec3f780fdbed20ba15c9d1a6017
|
|
|
|
| |
Change-Id: If67e444a050d2a96e7d076c4faee8a160e08d4d5
|
|
|
|
|
|
|
| |
In order to enable AA for the border radius, add an extra layer for drawing and then clearing by using AA paint. The reason why clipping can't show AA is that it is 1-bit clip.
Change-Id: Ic9fa99915fb908e502dcb90cfe1428bb4d8e136b
http://b/3003023
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
1. Fixed extra wide space in RTL pages.
2. Removed the tailing space in FontAndroid.cpp.
Change-Id: I73b6cd7a7bed7a92929d3c4ef8af3b2c84020d0f
|
| |
| |
| |
| | |
Change-Id: I4d74ac00a6d348ce00b551572da6ceb5f2793b1f
|
| |
| |
| |
| |
| |
| |
| | |
Need by this webkit CL:
http://trac.webkit.org/changeset/67898
Change-Id: Ic6180c845bf2d51036925e9329be6cb9a0cc0ab6
|
| |
| |
| |
| |
| |
| | |
See http://trac.webkit.org/changeset/67291
Change-Id: I620cba25ea40451830b86df90631a2c88792ce16
|
| |
| |
| |
| |
| |
| |
| |
| | |
GraphicsLayer::compositingCoordinatesOrientation()
See http://trac.webkit.org/changeset/67576
Change-Id: I2f212e6591b4d7c1a48cae5be9e8e4911d9c3a50
|
| |
| |
| |
| |
| |
| |
| |
| | |
SharedGraphicsContext3D::removeTexturesFor()
See http://trac.webkit.org/changeset/67412
Change-Id: I327df5aa81770a4eab885933ac6339ae26aca62a
|
| |
| |
| |
| | |
Change-Id: I2ce222e3f946987d9d544df5f015e06a2e5c7f4d
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Whitespace difference in config.h - http://trac.webkit.org/changeset/67323
- WebCore/config.h
Conflict due to ANDROID_LAYOUT - http://trac.webkit.org/changeset/67882
- WebCore/css/CSSComputedStyleDeclaration.cpp
Conflict due to ANDROID_INSTRUMENT - http://trac.webkit.org/changeset/67704
- WebCore/css/CSSParser.cpp
Conflict due to ANDROID_CSS_RING - http://trac.webkit.org/changeset/67667
- WebCore/css/CSSParser.cpp
- WebCore/css/CSSStyleSelector.cpp
Conflict due to axObjectCache - http://trac.webkit.org/changeset/67292
- WebCore/dom/Document.cpp
Conflict due to ANDROID_ACCEPT_CHANGES_TO_FOCUSED_TEXTFIELDS - http://trac.webkit.org/changeset/67903
- WebCore/html/HTMLInputElement.cpp
Conflict due to ARCHIVE - http://trac.webkit.org/changeset/67198
- WebCore/loader/DocumentLoader.cpp
- WebCore/loader/FrameLoader.cpp
Conflict due to ARCHIVE - http://trac.webkit.org/changeset/67253
- WebCore/loader/FrameLoader.cpp
Conflict due to actualWidth() vs width() - http://trac.webkit.org/changeset/67762
- WebCore/page/DOMWindow.cpp
Conflict due to ANDROID_PLUGINS - http://trac.webkit.org/changeset/67890
- WebCore/page/Settings.cpp
- WebCore/page/Settings.h
Conflict due to Android MIME types - http://trac.webkit.org/changeset/67375
- WebCore/platform/MIMETypeRegistry.cpp
Android fix in PluginView no longer needed after http://trac.webkit.org/changeset/67325
- WebCore/plugins/PluginView.cpp
Conflict due to ANDROID_FLATTEN_IFRAME and ANDROID_FLATTEN_FRAMESET - http://trac.webkit.org/changeset/67660
- WebCore/rendering/RenderBlockLineLayout.cpp
Conflict due to ANDROID_LAYOUT - http://trac.webkit.org/changeset/67660
- WebCore/rendering/RenderBox.h
- WebCore/rendering/RenderTable.cpp
Android fix in RenderTableCell no longer needed after http://trac.webkit.org/changeset/67862
- WebCore/rendering/RenderTableCell.cpp
Conflict due to ANDROID_CSS_RING - http://trac.webkit.org/changeset/67889 and http://trac.webkit.org/changeset/67667
- WebCore/rendering/style/RenderStyle.h
Change-Id: Ie36bd7de6d89a1f873c91984048f2507cabd864c
fix conflicts
Change-Id: I3acaba9492f6f39869e69fa24270cefbb74ba673
|
| |
| |
| |
| | |
Change-Id: I43a553e7b3299b28cb6ee8aa035ed70fe342b972
|
|/
|
|
|
|
|
|
|
|
|
| |
Make autofill a runtime option configured through the browser.
Required a corresponding change in frameworks/base -
https://android-git.corp.google.com/g/65573
and packages/apps/browser -
https://android-git.corp.google.com/g/65579
Change-Id: I905b464a6338ff27b02f16d0b9a718154c3c98c1
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This CL adds support to pass multi-touch event from browser to webkit.
PlatformTouchEvent.h and PlatformTouchEventAndroid.cpp:
changed the android constructor to take multiple touch points.
PlatformTouchPoint.h and PlatformTouchPointAndroid.cpp:
changed the android constructor to take a touch point ID.
WebViewCore.h and WebViewCore.cpp:
1. Updated handleTouchEvent(), HandleTouchEvent(), and jni interface
to take multiple points.
2. Added support of action
MotionEvent.ACTION_POINTER_DOWN & MotionEvent.ACTION_POINTER_UP.
Change-Id: I79cffdba12a60ced9a571b4c1fd5b520a0fb6074
|
|/
|
|
|
|
|
|
| |
This CL adds support for the DoubleBufferedTexture class which
can be used to pass textures between threads.
Bug-Id: 3034088
Change-Id: Idf4a5d367c02eae0cedb08f2167b9af370173851
|
|\ |
|