summaryrefslogtreecommitdiffstats
path: root/webkit
Commit message (Collapse)AuthorAgeFilesLines
* Move FilterType into MediaFilterCollectionacolwell@chromium.org2010-11-153-10/+10
| | | | | | | | | | | | | | | MediaFilterCollection is the only code that uses FilterType now so I'm moving the enum into that class and removing all references from the MediaFilter & derived classes. BUG=61823 TEST=No new functionality. Existing tests pass. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=66125 Review URL: http://codereview.chromium.org/4653005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66182 0039d316-1c4b-4281-b951-d872f2087c98
* base: Move StringSplitAlongWhitespace to string_split.htfarina@chromium.org2010-11-151-1/+1
| | | | | | | | | BUG=None TEST=trybots Review URL: http://codereview.chromium.org/5004002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66181 0039d316-1c4b-4281-b951-d872f2087c98
* Update the EventSendingController to send complete touch events.rjkroege@google.com2010-11-151-0/+4
| | | | | | | | | | | | | The patch makes EventSendingController send touch events more like how it currently handles mouse events: give them valid screenPosition fields and do layout before dispatching them. BUG=none TEST=via layout tests Review URL: http://codereview.chromium.org/4703004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66159 0039d316-1c4b-4281-b951-d872f2087c98
* Update WebKit test_expectations.txtarv@chromium.org2010-11-151-1/+4
| | | | | | | | | BUG=63225 TEST=None Review URL: http://codereview.chromium.org/4973003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66140 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 66125 -- Broke Windows build - Move FilterType into MediaFilterCollectionlevin@chromium.org2010-11-153-10/+10
| | | | | | | | | | | | | | | | MediaFilterCollection is the only code that uses FilterType now so I'm moving the enum into that class and removing all references from the MediaFilter & derived classes. BUG=61823 TEST=No new functionality. Existing tests pass. Review URL: http://codereview.chromium.org/4653005 TBR=acolwell@chromium.org Review URL: http://codereview.chromium.org/4991003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66139 0039d316-1c4b-4281-b951-d872f2087c98
* Sync to r31 of npapi-headersstuartmorgan@chromium.org2010-11-151-0/+17
| | | | | | | | | | | Adds stubs (except where the lack of a function pointer is spec'd as an indication of lack of support) and TODOs where we don't yet implement new functions. BUG=None TEST=No behavioral changes Review URL: http://codereview.chromium.org/4930001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66129 0039d316-1c4b-4281-b951-d872f2087c98
* Move FilterType into MediaFilterCollectionacolwell@chromium.org2010-11-153-10/+10
| | | | | | | | | | | | | MediaFilterCollection is the only code that uses FilterType now so I'm moving the enum into that class and removing all references from the MediaFilter & derived classes. BUG=61823 TEST=No new functionality. Existing tests pass. Review URL: http://codereview.chromium.org/4653005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66125 0039d316-1c4b-4281-b951-d872f2087c98
* base: Get rid of 'using' declaration of StringAppendF.tfarina@chromium.org2010-11-155-15/+15
| | | | | | | | | | | Update the callers to append base:: in the calls to StringAppendF. BUG=None TEST=trybots Review URL: http://codereview.chromium.org/4974001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66116 0039d316-1c4b-4281-b951-d872f2087c98
* ThreadRestrictions: mark library loading functions as doing IOevan@chromium.org2010-11-122-15/+0
| | | | | | | | | Remove the hack we used for checking that plugins didn't regress, as this is a generalization of that idea. Review URL: http://codereview.chromium.org/4161004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66003 0039d316-1c4b-4281-b951-d872f2087c98
* Add a virtual destructor to SimpleWebMimeRegistryImpl so that child class ↵marshall@chromium.org2010-11-121-0/+3
| | | | | | | | | | destructors get called correctly. BUG=62828 TEST=No memory leak in TestShellWebMimeRegistryImpl Review URL: http://codereview.chromium.org/4880002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65967 0039d316-1c4b-4281-b951-d872f2087c98
* Add support for the new "unix" editing behavior.avi@chromium.org2010-11-121-7/+10
| | | | | | | | | | BUG=none TEST=none; the layout test that will use this will come soon. Review URL: http://codereview.chromium.org/4886003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65957 0039d316-1c4b-4281-b951-d872f2087c98
* Don't restrict supported media types in test_shell when running interactively.marshall@chromium.org2010-11-122-2/+8
| | | | | | | | | BUG=62828 TEST=See bug report Review URL: http://codereview.chromium.org/4705007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65945 0039d316-1c4b-4281-b951-d872f2087c98
* Fix typo.jam@chromium.org2010-11-121-1/+1
| | | | | | Review URL: http://codereview.chromium.org/4849002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65912 0039d316-1c4b-4281-b951-d872f2087c98
* Remove record_upload_progress and record_download_progress flags from the URLbrettw@chromium.org2010-11-122-14/+23
| | | | | | | | | | | loader since these flags are now available on the request info structure associated with the loader. TEST=it compiles BUG=none Review URL: http://codereview.chromium.org/4692003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65906 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor Pipeline & PipelineImpl so WebMediaPlayerImpl references a Pipeline ↵acolwell@chromium.org2010-11-112-8/+11
| | | | | | | | | | | instead of PipelineImpl BUG=54110 TEST=PipelineImplTest Review URL: http://codereview.chromium.org/4664005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65817 0039d316-1c4b-4281-b951-d872f2087c98
* Update test_expectations.txt override:mihaip@chromium.org2010-11-101-28/+1
| | | | | | | | | | | | | - Remove current overrides (they have been moved to the upstream file and/or those tests have been fixed) - Add inspector/styles-source-lines-inline.html, which appears to be flaky BUG=none TEST=none TBR=ukai Review URL: http://codereview.chromium.org/4788001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65733 0039d316-1c4b-4281-b951-d872f2087c98
* Move URLLoader, URLRequestInfo, and URLResponseInfo out of the dev directorybrettw@chromium.org2010-11-107-36/+36
| | | | | | | | | | | | and rename accordingly. Rename URLResponseInfo.GetBody to GetBodyAsFileRef. TEST=it compiles BUG=none Review URL: http://codereview.chromium.org/4747001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65705 0039d316-1c4b-4281-b951-d872f2087c98
* Rolling back WebKit roll to see if reliability bot picks up.finnur@chromium.org2010-11-101-0/+29
| | | | | | | | | | TBR=ukai BUG=None TEST=None Review URL: http://codereview.chromium.org/4635009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65659 0039d316-1c4b-4281-b951-d872f2087c98
* WebKit Roll 71721:71725ukai@chromium.org2010-11-101-29/+0
| | | | | | | | | | | | Upstreamed test expectations. BUG=60384,60393,60651,60671,31342,61739,48982 TEST=none TBR=mihaip Review URL: http://codereview.chromium.org/4673008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65644 0039d316-1c4b-4281-b951-d872f2087c98
* WebKit Roll 71657:71715ukai@chromium.org2010-11-101-1/+0
| | | | | | | | | | BUG=none TEST=none TBR=mihaip Review URL: http://codereview.chromium.org/4732006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65631 0039d316-1c4b-4281-b951-d872f2087c98
* Implement a new process type for running PPAPI plugins. The process itself isbrettw@chromium.org2010-11-104-4/+92
| | | | | | | | | | | | | | | quite simple and just sets up the PPAPI dispatcher and loads the library. There is a new command line switch --ppapi-out-of-process which runs PPAPI plugins out of process using the new code path. There is some logic in RenderView and PepperPluginModule for setting up this connection, but it should be straightforward. TEST=none BUG=none Review URL: http://codereview.chromium.org/3915002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65614 0039d316-1c4b-4281-b951-d872f2087c98
* FileSystem code cleanup 2nd cut - introduce SandboxedFileSystemOperationkinuko@chromium.org2010-11-106-43/+424
| | | | | | | | | | | | | 1. Introduced SandboxedFileSystemOperation. 2. Factored out most of the PathManager/QuotaManager related code from FileSystemDispatcherHost to the SandboxedFileSystemOperation. BUG=60243 TEST=none Review URL: http://codereview.chromium.org/4054003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65598 0039d316-1c4b-4281-b951-d872f2087c98
* Remove line for fast/images/gif-loop-count.html, that's now in the upstreammihaip@chromium.org2010-11-091-1/+2
| | | | | | | | | | | | | test_expectations.txt and was picked up with the WebKit roll done by r65577. Also add editing/selection/extend-selection.html which recently became flaky. BUG=none TEST=none TBR=pkasting Review URL: http://codereview.chromium.org/4715003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65586 0039d316-1c4b-4281-b951-d872f2087c98
* FileSystem code cleanup 1st cut - does some class renaming.kinuko@chromium.org2010-11-097-82/+83
| | | | | | | | | | | | Renamed FileSystemQuota to FileSystemQuotaManager. Removed PlatFormErrorToFileError in simple_file_system.cc (in favor of webkit_flue::PlatformErrorToFileError) BUG=60243 TEST=none Review URL: http://codereview.chromium.org/4017007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65506 0039d316-1c4b-4281-b951-d872f2087c98
* Add "default:" to the WebLocalizedString switch statement in ToMessageID().tkent@chromium.org2010-11-091-0/+4
| | | | | | | | | | | | This is needed to avoid compiler warnings about enum coverage when we add new symbols to WebLocalizedString.h. This "default:" is going to be removed when a planned WebLocalizedString.h change is merged BUG=28264 TEST=none; no behavior change. Review URL: http://codereview.chromium.org/4726002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65502 0039d316-1c4b-4281-b951-d872f2087c98
* Close URL requests associated with an instance when that instance goes away.brettw@chromium.org2010-11-097-15/+110
| | | | | | | | | | | | Not doing this causes a bug in shutdown (wehn we can't do fast shutdown and just kill the renderer). The problem is that if a URLLoader is open (like maybe it's leaked by the plugin), the ResourceTracker will be the one to delete it. The ResourceTracker is a singleton which is deleted in the AtExit manager. If a URLLoader is deleted from there we'll crash trying to delete the corresponding WebKit loader which no longer exists (because the page associated with it went away). BUG=61795 TEST=none Review URL: http://codereview.chromium.org/4690003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65501 0039d316-1c4b-4281-b951-d872f2087c98
* Change the private image data shared memory handle code to return a nativebrettw@chromium.org2010-11-093-8/+9
| | | | | | | | | | memory handle and a size rather than the internal TransportDIB structure. TEST=none BUG=none Review URL: http://codereview.chromium.org/4611001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65482 0039d316-1c4b-4281-b951-d872f2087c98
* Rename testCallbackRet to testCallbackReturn.tony@chromium.org2010-11-091-1/+4
| | | | | | | | | | | | This function was an extension to the NPAPI test plugin that was added to the Chromium fork. Allow the function call to be called testCallbackReturn rather than testCallbackRet so we can move the test to a more common location upstream without using the abbreviated name: https://bugs.webkit.org/show_bug.cgi?id=49103 . Review URL: http://codereview.chromium.org/4639003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65462 0039d316-1c4b-4281-b951-d872f2087c98
* * Add follow_redirects_ field to pepper::URLRequestInfo, follow_redirects() ↵brettw@chromium.org2010-11-086-15/+98
| | | | | | | | | | | | | accessor, modified SetProperty to support this * Add status_text_, redirect_url_ fields to pepper::URLResponseInfo, modified GetProperty to return these * Add URL redirect auditing to pepper::URLLoader. BUG=49790 BUG=51345 TEST=ui_tests --gtest_filter=PPAPI* Review=http://codereview.chromium.org/4394003/show git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65443 0039d316-1c4b-4281-b951-d872f2087c98
* Removed few unused lines.neb@chromium.org2010-11-081-2/+0
| | | | | | | | | BUG=none TEST=compiles Review URL: http://codereview.chromium.org/4572002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65403 0039d316-1c4b-4281-b951-d872f2087c98
* Fix windows compile warning.tony@chromium.org2010-11-081-1/+1
| | | | | | | | TBR=jam Review URL: http://codereview.chromium.org/4703001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65394 0039d316-1c4b-4281-b951-d872f2087c98
* Implement NPN_reloadPlugins.tony@chromium.org2010-11-081-5/+5
| | | | | | | | | | | | | | The one catch is that in multiprocess Chromium, if reloadPages is true, we only reload pages that are in the same process. This is probably what is wanted most of the time (to reload the page that triggered this) and avoids unnecessary reloads. BUG=29018 TEST=Covered by existing layout tests. Review URL: http://codereview.chromium.org/4618001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65391 0039d316-1c4b-4281-b951-d872f2087c98
* Simplify Mac plugin event conversion now that caps lock information is ↵stuartmorgan@chromium.org2010-11-081-16/+7
| | | | | | | | | | | available for keys BUG=None TEST=Caps lock continues to work in plugins Review URL: http://codereview.chromium.org/4326003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65390 0039d316-1c4b-4281-b951-d872f2087c98
* Support FileSystem API in extensionskinuko@chromium.org2010-11-061-0/+3
| | | | | | | | | BUG=61534 TEST=see if the feature works in an extension Review URL: http://codereview.chromium.org/4439002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65304 0039d316-1c4b-4281-b951-d872f2087c98
* disable a layout test that fails on the win main bots, but not thedumi@chromium.org2010-11-061-1/+1
| | | | | | | | | | | | | canaries, until i can figure out what's wrong with it, or find somebody else to take a look at it. BUG=61739 TEST=none TBR=ukai Review URL: http://codereview.chromium.org/4613002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65296 0039d316-1c4b-4281-b951-d872f2087c98
* Re-enable a test that should've been fixed.dumi@chromium.org2010-11-061-5/+0
| | | | | | | | | | BUG=none TEST=none TBR=ukai Review URL: http://codereview.chromium.org/4539002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65289 0039d316-1c4b-4281-b951-d872f2087c98
* Reland r65152 with mac and linux fix.apatrick@chromium.org2010-11-0611-139/+240
| | | | | | | | | | | Original review URL: http://codereview.chromium.org/3531008 TEST=try, ui_tests BUG=none Review URL: http://codereview.chromium.org/4545003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65283 0039d316-1c4b-4281-b951-d872f2087c98
* PPB_Class implementation in Chrome.neb@chromium.org2010-11-055-34/+392
| | | | | | | | | BUG=57613 TEST=none(yet) Review URL: http://codereview.chromium.org/3806006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65252 0039d316-1c4b-4281-b951-d872f2087c98
* Switch from TargetIsSubFrame to TargetIsSubframe as the former is deprecated.darin@chromium.org2010-11-051-1/+1
| | | | | | | | R=japhet Review URL: http://codereview.chromium.org/4581001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65229 0039d316-1c4b-4281-b951-d872f2087c98
* Fix optimized pepper paintingpiman@chromium.org2010-11-051-2/+4
| | | | | | | | | | | There was some confusion about the coordinates space used for pepper::PluginInstance::clip_ BUG=none TEST=test with pepper flash on youtube, make sure GetBitmapForOptimizedPluginPaint succeeds most of the time, and that it paints correctly. Review URL: http://codereview.chromium.org/4550001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65214 0039d316-1c4b-4281-b951-d872f2087c98
* Make PPAPI headers compile with C compilers (gcc on Linux & Mac and MSVS on ↵dmichael@google.com2010-11-0526-228/+318
| | | | | | | | | | | | | | Windows). This includes changing bool to PP_Bool and adding a PP_INLINE macro. TEST=tests/test_c_includes.c BUG=59791,53451 The first patch set is a straight copy of http://codereview.chromium.org/4019010/show which got LGTMed when PPAPI was in its own repo, but had to be rolled back in order to include chrome changes. IMPORTANT: This change will break plugin implementations that use the C interface, and might break others as well. Review URL: http://codereview.chromium.org/4310002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65200 0039d316-1c4b-4281-b951-d872f2087c98
* Implement layerTreeAsText in test_shell's version of LayoutTestController. ↵senorblanco@chromium.org2010-11-052-0/+8
| | | | | | | | | | | This was causing a number of compositing tests to time out when run under test_shell. BUG=61966 TEST=run_webkit_tests.bat --platform chromium-gpu-win Review URL: http://codereview.chromium.org/4509001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65174 0039d316-1c4b-4281-b951-d872f2087c98
* Remove some DCHECK/NOTREACHED from plugin_host.cc that can be hit by valid codejamesr@chromium.org2010-11-051-3/+0
| | | | | | | | | | | I hit these checks while trying to debug a webpage that happened to include some flash content. These checks don't seem to indicate any bug in chrome and we handle the codepath fine in release, so they just seem like a debugging hindrance. BUG=none TEST=none Review URL: http://codereview.chromium.org/4514001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65171 0039d316-1c4b-4281-b951-d872f2087c98
* Only send child node updates on load and children changed notifications.ctguil@chromium.org2010-11-052-16/+24
| | | | | | | | | BUG=none TEST=interactive_ui_tests:AccessibilityWinBrowserTest.* Review URL: http://codereview.chromium.org/4272002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65170 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 65152 - Integrated Pepper3D v2 with the accelerated compositor.apatrick@chromium.org2010-11-0513-247/+139
| | | | | | | | | | | | | | | | | | | - It now uses GGL instead of a child window. - Fixed a bug where GLES2 decoder set texture state without updating TextureInfo. - Fixed Pepper3D demos and added awesome 3D CSS programmer art. - Removed ggl::GetCurrentContext to prevent further abuse. Fixed said abuse :) - GGL exposes GLES2Implementation to allow issue of GL calls on a particular context without making that context globally current. - Removed redundant "this context" argument from GGL SwapBuffers completion callback. - Temporarily removed context lost notification. I need to figure out the best semantics. TEST=Run Pepper3D and WebGL demos and YouTube videos on Windows and Mac. BUG=none Review URL: http://codereview.chromium.org/3531008 TBR=apatrick@chromium.org Review URL: http://codereview.chromium.org/4561001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65169 0039d316-1c4b-4281-b951-d872f2087c98
* Integrated Pepper3D v2 with the accelerated compositor.apatrick@chromium.org2010-11-0513-139/+247
| | | | | | | | | | | | | | | | - It now uses GGL instead of a child window. - Fixed a bug where GLES2 decoder set texture state without updating TextureInfo. - Fixed Pepper3D demos and added awesome 3D CSS programmer art. - Removed ggl::GetCurrentContext to prevent further abuse. Fixed said abuse :) - GGL exposes GLES2Implementation to allow issue of GL calls on a particular context without making that context globally current. - Removed redundant "this context" argument from GGL SwapBuffers completion callback. - Temporarily removed context lost notification. I need to figure out the best semantics. TEST=Run Pepper3D and WebGL demos and YouTube videos on Windows and Mac. BUG=none Review URL: http://codereview.chromium.org/3531008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65152 0039d316-1c4b-4281-b951-d872f2087c98
* Update the bug number for a test that crashes.dumi@chromium.org2010-11-041-1/+1
| | | | | | | | | | BUG=none TEST=none TBR=ukai Review URL: http://codereview.chromium.org/4531001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65127 0039d316-1c4b-4281-b951-d872f2087c98
* Add callback ability for URLLoader so an asynchronous proxy can send thebrettw@chromium.org2010-11-046-19/+123
| | | | | | | | | | | | | | current progress to another process. Adds a DOWNLOADPROGRESS flag to track download progress to be symetrical with the upload progress. I implemented the backend of these two flags and made it refuse to provide progress unless these flags were set. TEST=none BUG=none Review URL: http://codereview.chromium.org/4423001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65098 0039d316-1c4b-4281-b951-d872f2087c98
* Removed Media Cache Enabled Flagatwilson@chromium.org2010-11-043-17/+2
| | | | | | | | | | | Removed methods for querying and enabling media cache as the cache has been stable enough we shouldn't have to worry about checking anymore. BUG=None. TEST=No specific test as this flag hasn't been used. Review URL: http://codereview.chromium.org/4266001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65077 0039d316-1c4b-4281-b951-d872f2087c98
* Turn on file access checks on Win.jam@chromium.org2010-11-041-1/+1
| | | | | | | | | BUG=60211 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=64960 Review URL: http://codereview.chromium.org/4222005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65075 0039d316-1c4b-4281-b951-d872f2087c98