summaryrefslogtreecommitdiffstats
path: root/webkit
Commit message (Collapse)AuthorAgeFilesLines
* Added FileSystemDirectoryDatabase::GetNextInteger(), for use in generatingericu@google.com2011-05-063-22/+105
| | | | | | | | | | | unique backing file names in the obfuscated filesystem. BUG=NONE TEST=unit test Review URL: http://codereview.chromium.org/6935018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84527 0039d316-1c4b-4281-b951-d872f2087c98
* This implements the new system for Graphics2D only.brettw@chromium.org2011-05-0611-167/+201
| | | | | | | | | | | This works by adding a new thunk layer that will forward to an "API" that's either per-instance (function APIs) or per-resource (resource APIs). The proxying and such is then implemented in terms of this C++ API. Ideally the trackers of the PP_Resource/PP_Instance -> object mapping would be shared between the plugin and renderer processes. To keep this patch under control, I did this as a virtual base class which is implemented by ppapi::proxy::PluginResourceTracker and webkit::ppapi::ResourceTracker. Later, the functionality of these objects should be shared in a common tracker class. Still to do it a lot of cleanup and merging of things. Also, the namespaces are a bit out of control. Review URL: http://codereview.chromium.org/6905088 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84519 0039d316-1c4b-4281-b951-d872f2087c98
* Add a way to be notified when a deletable file reference is destroyed so thatbrettw@chromium.org2011-05-062-1/+18
| | | | | | | | | | | | | | | | callers can clean up any other state associated with it. I used this capability to revoke the renderer's permissions for a downloaded file. The old code path where it would revoke the permissions as soon as the download was complete (as indicated by the renderer) doesn't account for the case where the file is stored in a blob and that file reference outlives the resource request. BUG=81319 TEST=PPAPI.URLLoader Review URL: http://codereview.chromium.org/6930042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84500 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 84486 - Merge gpu_trace_event back into ↵scheib@chromium.org2011-05-067-8/+21
| | | | | | | | | base/debug/trace_event.Initial land attempt at http://codereview.chromium.org/6551019/gpu_trace_event fork at http://codereview.chromium.org/6691013- gpu_trace_event renamed to base/debug/trace_event and modified as appropriate for base::debug- Unit Tests implemented for trace_event- gpu_common library removed (was added only for gpu_trace_event)- Existing calls to trace_event suffixed with _ETW to make ETW calls (see decisions and incremental plans at end of 6551019)- GPU trace calls renamed to new calls.- Tracing switch removed from test_shell, as linux log file support removed.BUG=79509TEST=trace_event_win_unittest and about:gpuCommitted: http://src.chromium.org/viewvc/chrome?view=rev&revision=84284Review URL: http://codereview.chromium.org/6862002 TBR=scheib@chromium.org Review URL: http://codereview.chromium.org/6955006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84494 0039d316-1c4b-4281-b951-d872f2087c98
* Merge gpu_trace_event back into base/debug/trace_event.scheib@chromium.org2011-05-067-21/+8
| | | | | | | | | | | | | | | | | | | | | Initial land attempt at http://codereview.chromium.org/6551019/ gpu_trace_event fork at http://codereview.chromium.org/6691013 - gpu_trace_event renamed to base/debug/trace_event and modified as appropriate for base::debug - Unit Tests implemented for trace_event - gpu_common library removed (was added only for gpu_trace_event) - Existing calls to trace_event suffixed with _ETW to make ETW calls (see decisions and incremental plans at end of 6551019) - GPU trace calls renamed to new calls. - Tracing switch removed from test_shell, as linux log file support removed. BUG=79509 TEST=trace_event_win_unittest and about:gpu Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=84284 Review URL: http://codereview.chromium.org/6862002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84486 0039d316-1c4b-4281-b951-d872f2087c98
* Make the GraphicsContext3D implementation selectablegman@chromium.org2011-05-066-2/+2148
| | | | | | | | | | | | | | | | | | This makes it possible to select different GraphicsContext3D implementations the support for DRT. Will update DRT so it's possible to choose. webgraphicscontext3d_in_process_command_buffer_impl is currently just a copy of webgraphicscontext3d_in_process_impl. Once this and the DRT stuff is checked in I can refactor that class to actually use the command buffer in process. Later we can see about running it out of process. TEST=none BUG=none Review URL: http://codereview.chromium.org/6932051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84365 0039d316-1c4b-4281-b951-d872f2087c98
* Resubmission of 6898057, with build fixes.ericu@google.com2011-05-055-0/+759
| | | | | | | | BUG=none TEST=unit tests TBR=michaeln@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84356 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor to address URLRequestContext dependency added incevans@chromium.org2011-05-051-1/+2
| | | | | | | | | http://codereview.chromium.org/6873029/ BUG=81009 Review URL: http://codereview.chromium.org/6930040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84325 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 84301 - A database to hold filesystem directory information, to ↵zea@chromium.org2011-05-055-759/+0
| | | | | | | | | | | | | | replace real paths. BUG=NONE TEST=included unit tests Review URL: http://codereview.chromium.org/6898057 TBR=ericu@google.com Review URL: http://codereview.chromium.org/6931040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84310 0039d316-1c4b-4281-b951-d872f2087c98
* A database to hold filesystem directory information, to replace real paths.ericu@google.com2011-05-055-0/+759
| | | | | | | | | BUG=NONE TEST=included unit tests Review URL: http://codereview.chromium.org/6898057 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84301 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 84284 - Merge gpu_trace_event back into ↵scheib@chromium.org2011-05-057-8/+21
| | | | | | | | | base/debug/trace_event.Initial land attempt at http://codereview.chromium.org/6551019/gpu_trace_event fork at http://codereview.chromium.org/6691013- gpu_trace_event renamed to base/debug/trace_event and modified as appropriate for base::debug- Unit Tests implemented for trace_event- gpu_common library removed (was added only for gpu_trace_event)- Existing calls to trace_event suffixed with _ETW to make ETW calls (see decisions and incremental plans at end of 6551019)- GPU trace calls renamed to new calls.- Tracing switch removed from test_shell, as linux log file support removed.BUG=79509TEST=trace_event_win_unittest and about:gpuReview URL: http://codereview.chromium.org/6862002 TBR=scheib@chromium.org Review URL: http://codereview.chromium.org/6933035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84293 0039d316-1c4b-4281-b951-d872f2087c98
* Merge gpu_trace_event back into base/debug/trace_event.scheib@chromium.org2011-05-057-21/+8
| | | | | | | | | | | | | | | | | | | Initial land attempt at http://codereview.chromium.org/6551019/ gpu_trace_event fork at http://codereview.chromium.org/6691013 - gpu_trace_event renamed to base/debug/trace_event and modified as appropriate for base::debug - Unit Tests implemented for trace_event - gpu_common library removed (was added only for gpu_trace_event) - Existing calls to trace_event suffixed with _ETW to make ETW calls (see decisions and incremental plans at end of 6551019) - GPU trace calls renamed to new calls. - Tracing switch removed from test_shell, as linux log file support removed. BUG=79509 TEST=trace_event_win_unittest and about:gpu Review URL: http://codereview.chromium.org/6862002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84284 0039d316-1c4b-4281-b951-d872f2087c98
* Move crypto_helpers from sync to cryptoqsr@google.com2011-05-051-7/+1
| | | | | | | | | | | | | crypto_helpers only depends on resources in base and is used by sync and password_manager. BUG= TEST= Review URL: http://codereview.chromium.org/6873156 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84223 0039d316-1c4b-4281-b951-d872f2087c98
* Fix renderer crash and resulting test hang in PDFBrowserTests.ddorwin@chromium.org2011-05-051-4/+7
| | | | | | | | | | I had assumed that didReceiveData() would only be called after Open(), but WebPluginImpl::didReceiveResponse() creates a PPB_URLLoader_Impl and immediately calls didReceiveData(). This correctly handles this case. BUG=80684 TEST=PDFBrowserTest TBR=brettw@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84204 0039d316-1c4b-4281-b951-d872f2087c98
* Wire new WebCore settings for blocking mixed-content loads into Chrome.cevans@chromium.org2011-05-052-1/+7
| | | | | | Review URL: http://codereview.chromium.org/6883291 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84203 0039d316-1c4b-4281-b951-d872f2087c98
* Use an empty plug-in version list for ChromeOS, to avoid accidental breakage.cevans@chromium.org2011-05-041-1/+6
| | | | | | Review URL: http://codereview.chromium.org/6928016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84118 0039d316-1c4b-4281-b951-d872f2087c98
* Roll skia to r1241.bsalomon@google.com2011-05-041-1/+16
| | | | | | | Adds functions to GL interface table. Use static initializer syntax for in-proccess bindings (more likely to see compiler errors when skia struct is changed without correspsonding update to gl_bindings_in_process.cc) Review URL: http://codereview.chromium.org/6931005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84113 0039d316-1c4b-4281-b951-d872f2087c98
* Update Reader version in the plug-in metadata.cevans@chromium.org2011-05-041-1/+3
| | | | | | | | | | | (Split out from http://codereview.chromium.org/6909006, as the Flash part had issues) BUG=81293 TBR=jam@chromium.org Review URL: http://codereview.chromium.org/6932012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84104 0039d316-1c4b-4281-b951-d872f2087c98
* Defer asynchronous loading when the buffer in PPB_URLLoader_Impl exceeds an ↵ddorwin@chromium.org2011-05-044-1/+70
| | | | | | | | | | | optionally-specified threshold and re-enable it when the buffer drops below a lower threshold. BUG=80684 TEST=Set the thresholds to 4 MB and 2 MB, respectively from a plugin then download a large file (> 200 MB). Observe that the renderer/plugin process memory usage in Task Manager does not exceed ~100MB and that network traffic drops to 0 then picks up again briefly after 10 MB are used. Review URL: http://codereview.chromium.org/6923002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84071 0039d316-1c4b-4281-b951-d872f2087c98
* A database to hold mappings from origin identifiers to unique directory names.ericu@chromium.org2011-05-045-1/+417
| | | | | | | | | | BUG=NONE TEST=included Review URL: http://codereview.chromium.org/6903118 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84029 0039d316-1c4b-4281-b951-d872f2087c98
* Partial revert of 82061 so we keep the initial unbounded range request.scherkus@chromium.org2011-05-033-13/+60
| | | | | | | | | | | Also loosened restrictions for detecting servers that support range requests. Sending "Accept-Ranges: bytes" is optional so if we attempt a range request and a server replies correctly we should assume that it does indeed support range requests. BUG=80187 TEST=test_shell_tests --gtest_filter=Buffered* Review URL: http://codereview.chromium.org/6889019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83942 0039d316-1c4b-4281-b951-d872f2087c98
* Add a way to pass information to Pepper Flash from the command-line (e.g., ↵viettrungluu@chromium.org2011-05-034-1/+25
| | | | | | | | | | | | | | for debugging). This also adds a |ProxyModule| singleton object to the Pepper proxy, which we may eventually use for communicating directly with the browser. BUG=none TEST=none Review URL: http://codereview.chromium.org/6910007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83932 0039d316-1c4b-4281-b951-d872f2087c98
* Suppress layout test failure due to r83848hclam@chromium.org2011-05-031-0/+3
| | | | | | | | TBR=morrita BUG=None TEST=None git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83931 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 83822 - Update Flash and Reader metadata.cevans@chromium.org2011-05-031-12/+2
| | | | | | | | | | BUG=81293 Review URL: http://codereview.chromium.org/6909006 TBR=cevans@chromium.org Review URL: http://codereview.chromium.org/6909032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83917 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 83826 - Oops... forgot the typo fix in the previous patch.cevans@chromium.org2011-05-031-4/+4
| | | | | | | | | | TBR=avi Review URL: http://codereview.chromium.org/6879130 TBR=cevans@chromium.org Review URL: http://codereview.chromium.org/6910027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83916 0039d316-1c4b-4281-b951-d872f2087c98
* Suppress layout test failureshclam@chromium.org2011-05-031-0/+4
| | | | | | | | TBR=kalman BUG=None TEST=None git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83845 0039d316-1c4b-4281-b951-d872f2087c98
* Increase warning level to 4 on Visual Studiomaruel@chromium.org2011-05-031-6/+3
| | | | | | | | | | | | | This requires disabling most /W4 warnings so the patch doesn't get too large. I still fixed a few bugs so I didn't have to disable some more serious warnings. Most of these warnings are already enabled on gcc so it's mostly windows-specific code that is affected. BUG=none TEST=none Review URL: http://codereview.chromium.org/6902069 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83840 0039d316-1c4b-4281-b951-d872f2087c98
* Oops... forgot the typo fix in the previous patch.cevans@chromium.org2011-05-031-4/+4
| | | | | | | TBR=avi Review URL: http://codereview.chromium.org/6879130 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83826 0039d316-1c4b-4281-b951-d872f2087c98
* Update Flash and Reader metadata.cevans@chromium.org2011-05-031-2/+12
| | | | | | | BUG=81293 Review URL: http://codereview.chromium.org/6909006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83822 0039d316-1c4b-4281-b951-d872f2087c98
* Updating XTBs based on .GRDs from branch 742kerz@chromium.org2011-05-031-1/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83820 0039d316-1c4b-4281-b951-d872f2087c98
* Update Mac Java version metadata.cevans@chromium.org2011-05-021-1/+2
| | | | | | | BUG=81260 Review URL: http://codereview.chromium.org/6893161 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83761 0039d316-1c4b-4281-b951-d872f2087c98
* Implement PseudoTCP support in P2P Transport Pepper API.sergeyu@chromium.org2011-05-023-5/+42
| | | | | | | | | BUG=None TEST=Unittests Review URL: http://codereview.chromium.org/6893101 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83736 0039d316-1c4b-4281-b951-d872f2087c98
* Suppressed test failures after WebKit roll to 85369.kbr@google.com2011-04-301-0/+9
| | | | | | | | | BUG=none TEST=none TBR=dpranke Review URL: http://codereview.chromium.org/6904146 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83650 0039d316-1c4b-4281-b951-d872f2087c98
* delete executable property on fileselijahtaylor@google.com2011-04-302-0/+0
| | | | | | | TBR=dmaclach Review URL: http://codereview.chromium.org/6893150 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83634 0039d316-1c4b-4281-b951-d872f2087c98
* Roll WebKit 85242:85369.kbr@google.com2011-04-291-23/+0
| | | | | | | | | | | | | | | | Upstreamed downstream test expectations. A couple previously added overrode upstream expectations incorrectly, and were causing redness on the deps bots. The canaries are still cycling green but it should be possible to fix any redness this introduces with a couple of downstream suppressions. BUG=none TEST=none TBR=dpranke Review URL: http://codereview.chromium.org/6904143 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83633 0039d316-1c4b-4281-b951-d872f2087c98
* Add UMA private PPAPI interface for UMA logging from NaCl pluginelijahtaylor@google.com2011-04-294-0/+125
| | | | | | | | BUG= none TEST= manual test of ppapi_tests, run UMA tests Review URL: http://codereview.chromium.org/6903084 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83622 0039d316-1c4b-4281-b951-d872f2087c98
* Suppress another layout test failure.kbr@google.com2011-04-291-0/+2
| | | | | | | | | BUG=none TEST=none TBR=dpranke Review URL: http://codereview.chromium.org/6905145 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83606 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 83584 - Adding a way to run deferred tasks in WebKit unit-tests.jcivelli@chromium.org2011-04-294-65/+6
| | | | | | | | | | | | | | | | | The MockURLLoader does not work with sub-resources as their load is deferred. This CL makes it possible to run deferred tasks so that such sub-resources can be loaded in the unit-tests. BUG=None TEST=Make sure webkit unit-tests and DumpRenderTree still work. Review URL: http://codereview.chromium.org/6882064 TBR=kbr@chromium.org Review URL: http://codereview.chromium.org/6902176 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83603 0039d316-1c4b-4281-b951-d872f2087c98
* Suppressions for layout test failures.kbr@google.com2011-04-291-1/+14
| | | | | | | | | BUG=none TEST=none TBR=dpranke Review URL: http://codereview.chromium.org/6902170 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83601 0039d316-1c4b-4281-b951-d872f2087c98
* Adding a way to run deferred tasks in WebKit unit-tests.jcivelli@chromium.org2011-04-294-6/+65
| | | | | | | | | | | | | | The MockURLLoader does not work with sub-resources as their load is deferred. This CL makes it possible to run deferred tasks so that such sub-resources can be loaded in the unit-tests. BUG=None TEST=Make sure webkit unit-tests and DumpRenderTree still work. Review URL: http://codereview.chromium.org/6882064 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83584 0039d316-1c4b-4281-b951-d872f2087c98
* Build fix to make ARM builders happyhclam@chromium.org2011-04-292-3/+3
| | | | | | | | | | | | Please tell me why ARM wants 0 but not NULL. TBR=dmac BUG=None TEST=None Review URL: http://codereview.chromium.org/6883268 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83554 0039d316-1c4b-4281-b951-d872f2087c98
* Pepper video layer APIhclam@chromium.org2011-04-299-0/+374
| | | | | | | | | | | | | | Define the Pepper Video Layer API to enhance video rendering performance. This video layer will have a corresponding LayerChromium in WebKit which the compositor can use directly. The objective is to save the extra operation to write to PPB_Surface3D which saves one memory read/write routine in the GPU. BUG=None TEST=None Review URL: http://codereview.chromium.org/6902048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83546 0039d316-1c4b-4281-b951-d872f2087c98
* Prevent asking for authorization to run whitelisted plugins.joaodasilva@chromium.org2011-04-293-0/+48
| | | | | | | | | BUG=80737 TEST=Whitelist a plugin (by adding it to the EnabledPlugins policy) that is outdated or that required authorization to run (e.g. Java). When it is whitelisted, it won't ask for permission to run. Review URL: http://codereview.chromium.org/6883237 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83505 0039d316-1c4b-4281-b951-d872f2087c98
* Update expectations to green things up until the next roll.dpranke@google.com2011-04-291-1/+8
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83476 0039d316-1c4b-4281-b951-d872f2087c98
* Rework FlushSync to return early if commands have been processed since the ↵piman@google.com2011-04-281-3/+19
| | | | | | | | | | | last update BUG=80480 TEST= Review URL: http://codereview.chromium.org/6883179 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83442 0039d316-1c4b-4281-b951-d872f2087c98
* WebKit roll 84939:85242. Also zero out the downstream test expectationdpranke@google.com2011-04-281-18/+0
| | | | | | overrides. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83440 0039d316-1c4b-4281-b951-d872f2087c98
* More suppressions for layout test failures.kbr@google.com2011-04-281-0/+1
| | | | | | | | | BUG=none TEST=none TBR=dpranke Review URL: http://codereview.chromium.org/6893113 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83433 0039d316-1c4b-4281-b951-d872f2087c98
* Suppressions for failing layout tests in advance of WebKit roll.kbr@google.com2011-04-281-0/+5
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/6893110 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83422 0039d316-1c4b-4281-b951-d872f2087c98
* Update expectations on mac deps bots since upgrade to snow leopard.dpranke@chromium.org2011-04-281-0/+5
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83351 0039d316-1c4b-4281-b951-d872f2087c98
* Make FileSystemFileUtil::Copy/Move non-virtual.dmikurube@chromium.org2011-04-286-76/+504
| | | | | | | | | | BUG=none TEST=LocalFileSystemFileUtilTest.* Review URL: http://codereview.chromium.org/6902026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83307 0039d316-1c4b-4281-b951-d872f2087c98