summaryrefslogtreecommitdiffstats
path: root/webkit
Commit message (Collapse)AuthorAgeFilesLines
* set pending_repaint_ flag only when a non-empty frame is sent to Webkit.wjia@chromium.org2012-10-091-4/+5
| | | | | | | | | When receiving a empty frame pointer, Webkit can call getCurrentFrame multiple times without calling putCurrentFrame. BUG=142988 Review URL: https://codereview.chromium.org/11090007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160985 0039d316-1c4b-4281-b951-d872f2087c98
* Remove implicit flooring Scale() method from Point and Size.danakj@chromium.org2012-10-092-18/+17
| | | | | | | | | | | | | | | | | | When scaling an integer point or size, return a floating point result. Implicitly flooring hides design problems and bugs. Add conversion functions to floor or ceil a SizeF or PointF into an integer format again. All existing behaviour has been preserved by replacing uses of foo.Scale() with ToFlooredFoo(foo.Scale()). R=sky BUG=147395 Review URL: https://chromiumcodereview.appspot.com/11081007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160970 0039d316-1c4b-4281-b951-d872f2087c98
* [cc] Remove WTF types from LayerChromium and layer listsenne@chromium.org2012-10-094-8/+7
| | | | | | | | | | | | | | Relanding https://chromiumcodereview.appspot.com/11047029. No changes from original patch. This was reverted as an innocent bystander of r160623's breakage. BUG=154451 Review URL: https://chromiumcodereview.appspot.com/11066083 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160953 0039d316-1c4b-4281-b951-d872f2087c98
* Adds wiring for getting background color of a layer.sky@chromium.org2012-10-092-0/+6
| | | | | | | | | | | BUG=none TEST=none R=piman@chromium.org Review URL: https://chromiumcodereview.appspot.com/11086015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160941 0039d316-1c4b-4281-b951-d872f2087c98
* Introduce PPB_Flash_Font.yzshen@chromium.org2012-10-093-0/+12
| | | | | | | | | | | It is a subset of PPB_PDF and shares the implementation with some PPB_PDF methods. With this interface, Pepper Flash doesn't need to depend on PPB_PDF. BUG=None TEST=None Review URL: https://codereview.chromium.org/10905227 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160861 0039d316-1c4b-4281-b951-d872f2087c98
* Register LocalFileChangeTracker as observers when it's set in FileSystemContextkinuko@chromium.org2012-10-095-16/+165
| | | | | | | | | BUG=154234 TEST=SyncableFileSystemTest.ChangeTrackerSimple Review URL: https://codereview.chromium.org/11068014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160836 0039d316-1c4b-4281-b951-d872f2087c98
* 2nd try: Add common helper code for SyncableFileSystem testingkinuko@chromium.org2012-10-093-101/+281
| | | | | | | | | | | | | | Original review: https://codereview.chromium.org/11033058 Change from the original patch: removed wrong FILEAPI_EXPORT macro in canned_syncable_file_system.h BUG=154234 TEST=existing test (SyncableFileSystemTest.*) TBR=tzik@chromium.org Review URL: https://codereview.chromium.org/11091019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160822 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 160809 - Add common helper code for SyncableFileSystem testingkinuko@chromium.org2012-10-093-282/+101
| | | | | | | | | | | | BUG=154234 TEST=existing test (SyncableFileSystemTest.*) Review URL: https://codereview.chromium.org/11033058 TBR=kinuko@chromium.org Review URL: https://codereview.chromium.org/11087026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160810 0039d316-1c4b-4281-b951-d872f2087c98
* Add common helper code for SyncableFileSystem testingkinuko@chromium.org2012-10-093-101/+282
| | | | | | | | | BUG=154234 TEST=existing test (SyncableFileSystemTest.*) Review URL: https://codereview.chromium.org/11033058 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160809 0039d316-1c4b-4281-b951-d872f2087c98
* Export LevelDBStatusToSyncStatusCode symbol.tzik@chromium.org2012-10-092-2/+5
| | | | | | | | BUG=None Review URL: https://codereview.chromium.org/11092017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160806 0039d316-1c4b-4281-b951-d872f2087c98
* Fix FileSystemURL.WithPath for isolated/external pathskinuko@chromium.org2012-10-095-9/+99
| | | | | | | | | | | Also changes the comparator implementation not to use virtual_path but use filesystem_id + path. BUG=154260 TEST=FileSystemURLTest.WithPath* Review URL: https://codereview.chromium.org/11036053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160805 0039d316-1c4b-4281-b951-d872f2087c98
* Pepper WebSocket API: Implement new design Chrome IPC.toyoshim@chromium.org2012-10-095-701/+0
| | | | | | | | | | | | This change implements new Chrome IPC for PPB_WebSocket. After this change, all mode including out of process will work with new design. It doesn't depend on old SRPC design any more. BUG=87310,116317 Review URL: https://chromiumcodereview.appspot.com/10944005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160783 0039d316-1c4b-4281-b951-d872f2087c98
* Pinch-zoom applied via compositor instead of CSS transformation.aelias@chromium.org2012-10-085-1/+23
| | | | | | | | | | | | | This is a rebased version of twiz's patch in 10916279. Corresponding WK change: https://bugs.webkit.org/show_bug.cgi?id=93292 BUG=148816 Review URL: https://chromiumcodereview.appspot.com/11094004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160730 0039d316-1c4b-4281-b951-d872f2087c98
* Upstream scrollFocusedNodeIntoRectyusufo@chromium.org2012-10-081-0/+1
| | | | | | | | | | | | This upstreams scrollFocusNodeRect implementation on ContentViewCOre and hooks it to WebKit. The webkit side has already landed. BUG=136737 Review URL: https://chromiumcodereview.appspot.com/11081003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160679 0039d316-1c4b-4281-b951-d872f2087c98
* Using MIME types in addition to plugin name to differentiate between plugins.ibraaaa@google.com2012-10-081-6/+6
| | | | | | | | | BUG=108962 Review URL: https://chromiumcodereview.appspot.com/11016005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160653 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 160619 - [cc] Remove WTF types from LayerChromium and layer listsjochen@chromium.org2012-10-084-7/+8
| | | | | | | | | | | | | | | Both layer list types needed to be changed to vector simultaneously because of the amount of templated code that deals with both. BUG=154451 Review URL: https://chromiumcodereview.appspot.com/11047029 TBR=enne@chromium.org Review URL: https://codereview.chromium.org/11070012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160637 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 160630 - [cc] Use base ptr types for cc's CSS animation classeshenrika@chromium.org2012-10-0810-36/+41
| | | | | | | | | | | BUG=154451 Review URL: https://chromiumcodereview.appspot.com/11078009 TBR=enne@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160635 0039d316-1c4b-4281-b951-d872f2087c98
* [cc] Use base ptr types for cc's CSS animation classesenne@chromium.org2012-10-0810-41/+36
| | | | | | | | | BUG=154451 Review URL: https://chromiumcodereview.appspot.com/11078009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160630 0039d316-1c4b-4281-b951-d872f2087c98
* [cc] Remove WTF types from LayerChromium and layer listsenne@chromium.org2012-10-084-8/+7
| | | | | | | | | | | | Both layer list types needed to be changed to vector simultaneously because of the amount of templated code that deals with both. BUG=154451 Review URL: https://chromiumcodereview.appspot.com/11047029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160619 0039d316-1c4b-4281-b951-d872f2087c98
* Change marking functions of LocalFileChangeTracker to return SyncStatusCodenhiroki@chromium.org2012-10-063-55/+77
| | | | | | | | | BUG=152127 TEST=content_unittests Review URL: https://chromiumcodereview.appspot.com/11038034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160590 0039d316-1c4b-4281-b951-d872f2087c98
* [cc] Use scoped_ptr for CCLayerTreeHost(Impl)enne@chromium.org2012-10-062-5/+4
| | | | | | | | BUG=154451 Review URL: https://chromiumcodereview.appspot.com/11031079 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160589 0039d316-1c4b-4281-b951-d872f2087c98
* [cc] Remove WTF constructs from CCLayerTreeHostClientenne@chromium.org2012-10-065-12/+14
| | | | | | | | | | | | | Pulling on this string ends up touching a lot of code, but it's all fairly mechanical. The only unfortunate part of this patch that it's not easy to pass a scoped_ptr through CCThreadTask (so it just sends a raw pointer), but this can get fixed after CCThreadTask switches to using base/. BUG=154451 Review URL: https://chromiumcodereview.appspot.com/11065046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160580 0039d316-1c4b-4281-b951-d872f2087c98
* Add conversion function from leveldb::Status to fileapi::SyncStatusCodenhiroki@chromium.org2012-10-063-0/+32
| | | | | | | | | | BUG=152127 TEST=content_unittests Review URL: https://chromiumcodereview.appspot.com/11026064 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160577 0039d316-1c4b-4281-b951-d872f2087c98
* Add basic infrastructure for native (aka "browser builtin") services.smckay@chromium.org2012-10-063-6/+40
| | | | | | | | | | | Add skeleton FilePicker service. BUG=129769 TBR=jhawkins for the gypi file changes. Review URL: https://chromiumcodereview.appspot.com/11022003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160563 0039d316-1c4b-4281-b951-d872f2087c98
* Convert UMA interface to IDL.brettw@chromium.org2012-10-051-1/+1
| | | | | | | | | | | This renames the interface strings to be consistent. Since this is only used by the PDF plugin which is built alongside Chrome, this should be OK. BUG= Review URL: https://codereview.chromium.org/11048006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160506 0039d316-1c4b-4281-b951-d872f2087c98
* [MediaGallery] Rename MediaDeviceDelegate* to MtpDeviceDelegate*.kmadhusu@chromium.org2012-10-059-80/+79
| | | | | | | | | | | | | | | | | | | "media_device_*" is so generic. Make it media transfer protocol (mtp) device specific. Renamed (1) ScopedMediaDeviceMapEntry class => ScopedMtpDeviceMapEntry class (2) MediaDeviceDelegate* class => MtpDeviceDelegate* class (3) MediaDeviceMapService class=> MtpDeviceMapService class (4) SUPPORT_MEDIA_FILESYSTEM => SUPPORT_MTP_DEVICE_FILESYSTEM. and updated all the references. BUG=148972 TEST=none TBR=thestig@chromium.org Review URL: https://chromiumcodereview.appspot.com/11027022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160450 0039d316-1c4b-4281-b951-d872f2087c98
* Upstream fullscreen video implementation for androidqinmin@chromium.org2012-10-0510-83/+114
| | | | | | | | | BUG=136677 Review URL: https://chromiumcodereview.appspot.com/10979047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160431 0039d316-1c4b-4281-b951-d872f2087c98
* mac: Plumbing for the emoji font.thakis@chromium.org2012-10-052-0/+15
| | | | | | | | | | | | Since emoji is disabled in webkit for chromium, this has no observable effect yet. BUG=62435 TEST=none TBR=tony Review URL: https://chromiumcodereview.appspot.com/10540022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160338 0039d316-1c4b-4281-b951-d872f2087c98
* Implement hyphenation for DumpRenderTree.hbono@chromium.org2012-10-055-1/+96
| | | | | | | | | | This change implements the platform functions added by my WebKit change r124434 <http://trac.webkit.org/changeset/124434> for DumpRenderTree. It is a simplified version of my r146964 <http://crrev.com/146964>. BUG=47083 TEST=hyphen*.html Review URL: https://codereview.chromium.org/11014014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160337 0039d316-1c4b-4281-b951-d872f2087c98
* Fix up relationship of LocalFileChangeTracker and LocalFileSyncStatuskinuko@chromium.org2012-10-056-48/+36
| | | | | | | | | | | | | | * LocalFileChangeTracker should not own LocalFileSyncStatus * FileSystemContext owns LocalFileChangeTracker As a part of changes for http://crbug.com/154234. BUG=148897,154234 TEST=existing tests (more tests will come) Review URL: https://codereview.chromium.org/11028051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160332 0039d316-1c4b-4281-b951-d872f2087c98
* Converted DeleteOriginDataTask and GetModifiedSinceTask to use ↵calvinlo@chromium.org2012-10-052-72/+39
| | | | | | | | | | | PostTaskAndReply(). These are the last two references to QuotaThreadTask in webkit/fileapi. BUG=139270 Review URL: https://chromiumcodereview.appspot.com/11045018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160326 0039d316-1c4b-4281-b951-d872f2087c98
* Remove Legacy NPAPI Flash Sandbox supportjschuh@chromium.org2012-10-055-258/+6
| | | | | | | | BUG=153599 Review URL: https://chromiumcodereview.appspot.com/11049004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160310 0039d316-1c4b-4281-b951-d872f2087c98
* Move forms/ out of webkit/.blundell@chromium.org2012-10-0519-745/+0
| | | | | | | | | | | | | | | | | | | | | | The motivation for this CL is to move PasswordForm and friends (which are totally unrelated to WebKit) out of webkit/ and into a target that platforms that do not use WebKit (such as iOS) can logically depend on. As such, this CL does three things: 1. Separates the WebKit-related code in webkit/forms from the non-WebKit-related code. Concretely, this means having the WebKit::WebFormElement->PasswordForm conversion function in its own file. 2. Moves the core, non-WebKit-related forms code to chrome/common and content/public/common depending on where its usage points are. 3. Moves the above-mentioned conversion function to content/public/renderer. It cannot stay in webkit/ as it (now) has a dependency on content/, and as it is used only in chrome/renderer and content/renderer, this is a good place for it. The rest of this CL is churn due to namespace, file location, and GYP target changes. BUG= Review URL: https://chromiumcodereview.appspot.com/11000016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160280 0039d316-1c4b-4281-b951-d872f2087c98
* Removing annacc@chromium.org from OWNERS.scherkus@chromium.org2012-10-041-1/+0
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160217 0039d316-1c4b-4281-b951-d872f2087c98
* Add video decoding methods in Decryptor and add DecryptingVideoDecoder.xhwang@chromium.org2012-10-045-0/+86
| | | | | | | | | | | | | | | In Decryptor interface, video decoding methods are added to support CDMs that support both decryption and video decoding. A new VideoDecoder, DecryptingVideoDecoder, is added to support video decoding by Decryptors in the media pipeline. DecryptingVideoDecoder uses adapter pattern to convert a Decryptor into a VideoDecoder. In AddDefaultDecodersToCollection, add a DecryptingVideoDecoder object into the video decoder list. BUG=141784 TEST=new tests added into media_unittest Review URL: https://chromiumcodereview.appspot.com/10969028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160183 0039d316-1c4b-4281-b951-d872f2087c98
* [Coverity] Fix initialized scalar variable.kmadhusu@chromium.org2012-10-041-0/+1
| | | | | | | | | | | | | Initialize |mount_type_| variable in FileSystemURL constructor. CID=105928 BUG=none TEST=none TBR=brettw@chromium.org Review URL: https://chromiumcodereview.appspot.com/11040030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160180 0039d316-1c4b-4281-b951-d872f2087c98
* Change SyncFileErrors to SyncStatusCodenhiroki@chromium.org2012-10-042-10/+12
| | | | | | | | | | BUG=153526 TEST=n/a Review URL: https://chromiumcodereview.appspot.com/11040036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160149 0039d316-1c4b-4281-b951-d872f2087c98
* This patch adds following strings:yosin@chromium.org2012-10-042-1/+41
| | | | | | | | | | | | | | | | | - OtherMonthLabel (for suggestion list) - OtherTimeLabel (for suggestion list) - OtherWeekLabel (for suggestion list) - ThisMonthButtonLabel (for month picker) - ThisWeekButtonLabel (for week picker) defined in http://webkit.org/b/97878, http://webkit.org/b/97633 and http://webkit.org/b/97878 BUG=152632 TEST=done in WebKit layout tests Review URL: https://chromiumcodereview.appspot.com/10985075 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160093 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 160072 - Add ImageOnlyFailure to some hyphenation tests.hbono@chromium.org2012-10-041-5/+0
| | | | | | | | | | | | | | This change adds ImageOnlyFailure to some hyphenation tests since I forgot adding it to TestExpectations. TBR=tony BUG=none TEST=hyphens.html,hyphenate-character.html,hyphenate-limit-before-after.html Review URL: https://codereview.chromium.org/11036029 TBR=hbono@chromium.org Review URL: https://codereview.chromium.org/11032030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160088 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 160044 - Implement hyphenation for DumpRenderTree.hbono@chromium.org2012-10-044-92/+1
| | | | | | | | | | | | | | This change implements the platform functions added by my WebKit change r124434 <http://trac.webkit.org/changeset/124434> for DumpRenderTree. It is a simplified version of my r146964 <http://crrev.com/146964>. BUG=47083 TEST=hyphen*.html Review URL: https://chromiumcodereview.appspot.com/11014014 TBR=hbono@chromium.org Review URL: https://codereview.chromium.org/11038027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160087 0039d316-1c4b-4281-b951-d872f2087c98
* Update PPP side of Pepper CDM API to support video decoding.tomfinegan@chromium.org2012-10-046-30/+49
| | | | | | | | | | | | | | | | | | | This adds the PPP half of the video decoding support changes. Adds the following pepper types: - PP_VideoCodec - PP_DecryptedFrameFormat - PP_EncryptedVideoFrameInfo Replaces PPP_ContentDecryptor_Private::DecryptAndDecode with DecryptAndDecodeFrame. BUG=141780 TEST= Review URL: https://chromiumcodereview.appspot.com/11023004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160078 0039d316-1c4b-4281-b951-d872f2087c98
* Add ImageOnlyFailure to some hyphenation tests.hbono@chromium.org2012-10-041-0/+5
| | | | | | | | | | | This change adds ImageOnlyFailure to some hyphenation tests since I forgot adding it to TestExpectations. TBR=tony BUG=none TEST=hyphens.html,hyphenate-character.html,hyphenate-limit-before-after.html Review URL: https://codereview.chromium.org/11036029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160072 0039d316-1c4b-4281-b951-d872f2087c98
* Implement hyphenation for DumpRenderTree.hbono@chromium.org2012-10-044-1/+92
| | | | | | | | | | | This change implements the platform functions added by my WebKit change r124434 <http://trac.webkit.org/changeset/124434> for DumpRenderTree. It is a simplified version of my r146964 <http://crrev.com/146964>. BUG=47083 TEST=hyphen*.html Review URL: https://chromiumcodereview.appspot.com/11014014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160044 0039d316-1c4b-4281-b951-d872f2087c98
* WebKit roll 130304:130314dpranke@chromium.org2012-10-031-4/+0
| | | | | | Review URL: https://codereview.chromium.org/11054021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160008 0039d316-1c4b-4281-b951-d872f2087c98
* Update PPB side of Pepper CDM API to support video decoding.tomfinegan@chromium.org2012-10-034-49/+258
| | | | | | | | | | | This adds the PPB half of the video decoding support changes. BUG=141780 TEST= Review URL: https://chromiumcodereview.appspot.com/10989069 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@159999 0039d316-1c4b-4281-b951-d872f2087c98
* cc: Remove OwnPtr usage from CCFontAtlas.tfarina@chromium.org2012-10-031-2/+2
| | | | | | | | | | BUG=152049 TEST=cc_unittests R=jamesr@chromium.org Review URL: https://codereview.chromium.org/11053005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@159967 0039d316-1c4b-4281-b951-d872f2087c98
* Fix leak of MockDecryptor in ProxyDecryptorTest.xhwang@chromium.org2012-10-031-6/+18
| | | | | | | | | | | | | | If GenerateKeyRequest() is called |real_decryptor_| is passed into |proxy_decryptor| and |proxy_decryptor| will take the ownership. But if GenerateKeyRequest() is not called the pointer is leaked. Added a scoped pointer to take the ownership before GenerateKeyRequest() is called. Note that we still need to keep the raw pointer in the test to be able to EXPECT_CALL on the |real_decryptor_|. TBR=scherkus@chromium.org BUG=153786 TEST=tested locally on Linux and no memory leak. Review URL: https://chromiumcodereview.appspot.com/11052014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@159947 0039d316-1c4b-4281-b951-d872f2087c98
* Track the frequency of impl-thread scrolling vs. main-thread scrolling by ↵tdanderson@chromium.org2012-10-031-0/+2
| | | | | | | | | | | introducing the counters |numImplThreadScrolls| and |numMainThreadScrolls|. These values will be reported as part of the GPU scrolling benchmarks. BUG=152249 Review URL: https://chromiumcodereview.appspot.com/10985082 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@159921 0039d316-1c4b-4281-b951-d872f2087c98
* Implement utility functions for the Syncable Filesystemnhiroki@chromium.org2012-10-034-0/+240
| | | | | | | | | | BUG=151876 TEST=content_unittests --gtest_filter=\*SyncableFileSystemUtilTest\* TBR=jam@chromium.org Review URL: https://chromiumcodereview.appspot.com/10985014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@159897 0039d316-1c4b-4281-b951-d872f2087c98
* Fix leak on LocalFileChangeTrackerTesttzik@chromium.org2012-10-031-0/+6
| | | | | | | | | BUG=152445 Review URL: https://chromiumcodereview.appspot.com/11013020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@159885 0039d316-1c4b-4281-b951-d872f2087c98