summaryrefslogtreecommitdiffstats
path: root/webkit
Commit message (Collapse)AuthorAgeFilesLines
* First pass at removal of unneeded dependencies on skia\ext\platform_canvas.htwiz@google.com2011-08-026-11/+8
| | | | | | | | | | All 'low-hanging' platform_canvas.h dependencies have been removed, and replaced with skia-specific includes. BUG=None TEST=None Review URL: http://codereview.chromium.org/7517020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95083 0039d316-1c4b-4281-b951-d872f2087c98
* Expose SwapBuffersCallback to WebGraphicsContext3Dnduca@chromium.org2011-08-021-0/+4
| | | | | | Review URL: http://codereview.chromium.org/6883196 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95057 0039d316-1c4b-4281-b951-d872f2087c98
* Refine UMA stats of QuotaManagertzik@chromium.org2011-08-021-2/+44
| | | | | | | | | | BUG=86993 TEST=None Review URL: http://codereview.chromium.org/7514034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95053 0039d316-1c4b-4281-b951-d872f2087c98
* Move Var and StringVar to the ppapi/shared_impl so they can be used in thebrettw@chromium.org2011-08-0131-617/+373
| | | | | | | | | | | | | | | | | | | proxy. This does not, however, actually use these in the proxy yet, I'll do that in a subsequent pass. ObjectVar is now renamed NPObjectVar and continues to be in webkit/plugins since it uses NPObjects. There will be a corresponding future class in the proxy for proxied objects. The TryCatch that was in var.h is now in npapi_glue.h Most of the rest of the change is updating namespaces. TEST=unit tests BUG=none Review URL: http://codereview.chromium.org/7488062 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94986 0039d316-1c4b-4281-b951-d872f2087c98
* Add a new flag to enable GPU compositing on chrome: pagesestade@chromium.org2011-08-011-0/+1
| | | | | | | | | BUG=none TEST=manual Review URL: http://codereview.chromium.org/7519017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94954 0039d316-1c4b-4281-b951-d872f2087c98
* Added PPB_Graphics3D_Dev::Resize to let plugins resize the backing surface.alokp@chromium.org2011-08-013-9/+15
| | | | | | | BUG=62383 Review URL: http://codereview.chromium.org/7530010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94930 0039d316-1c4b-4281-b951-d872f2087c98
* Time-based removal of temporary file systems via BrowsingDataRemovermkwst@chromium.org2011-08-015-8/+403
| | | | | | | | | | | | QuotaManager takes over much of the functionality that BrowsingDataRemover implemented for FileSystem and Appcache removal. It also handles WebSQL databases, but I've left the database deletion in, as IndexedDBs aren't yet handled correctly, so we need to take care of them explicitly. BUG=63700 TEST=unit_tests, test_shell_tests Review URL: http://codereview.chromium.org/7129018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94913 0039d316-1c4b-4281-b951-d872f2087c98
* Paths in File Browsers parameters are converted to virtual ones.serya@chromium.org2011-08-011-0/+4
| | | | | | | | | | BUG=chromium-os:17412 TEST=None Review URL: http://codereview.chromium.org/7497037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94897 0039d316-1c4b-4281-b951-d872f2087c98
* Pepper quota supportkinuko@chromium.org2011-08-0112-19/+1086
| | | | | | | | | | | | | | | | | | Probably this could be better implemented using push notification model, but in this patch I made this very straightforwardly (with possibly minimal change). **NOTE: This design may not be really safe as quota accounting is done in renderer** * Added QuotaFileIO class (in quota_file_io.{cc,h}) which performs pre- and post- write quota related operations. * For Write/SetLength the QuotaFileIO instance first performs QueryFileInfo and QueryAvailableSpace to get the file size and current available space. If the results look good it dispatches actual Write/SetLength operations. After the operation has succeeded it then notifies the browser that it has made a storage modify operation. * For WillWrite/WillSetLength this change assumes they are always followed by actual write/setlength operations and the operations will succeed. Based on another cleanup patch: http://codereview.chromium.org/7438001/ BUG=86556 TEST=manually tested Review URL: http://codereview.chromium.org/7433006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94892 0039d316-1c4b-4281-b951-d872f2087c98
* Unify the version string to be displayed on "About Chromium" dialog. (5/6)haraken@google.com2011-07-301-17/+10
| | | | | | | | | | | | | | | | | | | | | | | - Fetch Subversion URL and the revision from 'git log' even if git-svn is not available. - Remove VersionInfo.root, since nobody is using it. - Allow a user to specify the directory name just prior to the svn src URL. FYI: We decided to split the changes of issue 7104106 (http://codereview.chromium.org/7104106/) into the following steps. This is the fifth step of them: (1) Add CreateVersionString() to chrome_version_info.*, update the GTK+ code to use it. (reviewer: erg, tony) (2) Update the mac code to use CreateVersionString(). Update About.xib. (reviewer: mark) (3) Update the views code to use CreateVersionString(). This can happen at the same time as (2). (reviewer: davemoore, tony) (4) Update version.bat to use lastchange.py. (reviewer: evan) (5) Make changes to lastchange.py and webkit_version.py. (reviewer: evan, mark) (6) Update tweak_info_plist to use lastchange.py. (reviewer: mark) BUG=37186 TEST=Observe that "About Chromium" dialog shows the version string like "14.0.787.0 (Developer Build 88242 Windows" on Windows and Linux. Review URL: http://codereview.chromium.org/7493073 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94828 0039d316-1c4b-4281-b951-d872f2087c98
* PPAPI interface for reading the enterprise policy as a big JSON blob.ajwong@chromium.org2011-07-306-7/+57
| | | | | | | | | | | | This includes an implementation that pipes up through PluginDelegate, but stops short of connecting to the actual policy code. BUG=90213 TEST=new unittests + manual testing Review URL: http://codereview.chromium.org/7483019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94824 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 94775 - Implemented MapExternalResource for DumpRenderTree.zmo@google.com2011-07-291-63/+1
| | | | | | | | | | This will allow me to delete GL_copy_texture_to_parent_texture from the GPU process. Review URL: http://codereview.chromium.org/7518005 TBR=apatrick@chromium.org Review URL: http://codereview.chromium.org/7543001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94799 0039d316-1c4b-4281-b951-d872f2087c98
* Implemented MapExternalResource for DumpRenderTree.apatrick@chromium.org2011-07-291-1/+63
| | | | | | | This will allow me to delete GL_copy_texture_to_parent_texture from the GPU process. Review URL: http://codereview.chromium.org/7518005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94775 0039d316-1c4b-4281-b951-d872f2087c98
* PPB_VideoDecoder_Dev::Initialize is now synchronous!fischman@chromium.org2011-07-294-32/+41
| | | | | | | | | | | | | Apparently flash can't deal with async init, so we make it synchronous. We keep processing in the GPU process asynchronous and just take the blocking hit on the renderer. BUG=none TEST=gles2, ovdatest, trybots Review URL: http://codereview.chromium.org/7474006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94730 0039d316-1c4b-4281-b951-d872f2087c98
* Change CanGetCookies signature, add CookieList as parameters in order to ↵ycxiao@chromium.org2011-07-291-7/+11
| | | | | | | | | | | remove the getting cookies call inside ResourceDispatcherHost::CanGetCookies. BUG=68657 TEST=XXXX Review URL: http://codereview.chromium.org/7461121 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94724 0039d316-1c4b-4281-b951-d872f2087c98
* Remove tests from chrome's test_expectations which were rebaselined upstream.senorblanco@chromium.org2011-07-291-7/+0
| | | | | | | | BUG=90673 TEST=webkit bots stay green Review URL: http://codereview.chromium.org/7523056 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94699 0039d316-1c4b-4281-b951-d872f2087c98
* Change call to WebFrame::createAssociatedURLLoader to use overload that ↵bbudge@chromium.org2011-07-293-5/+25
| | | | | | | | takes WebURLLoaderOptions, in preparation for WebKit change that removes parameterless overload. Review URL: http://codereview.chromium.org/7519013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94675 0039d316-1c4b-4281-b951-d872f2087c98
* PluginList cleanup to fix a race condition and decrease the API surface for ↵bauerb@chromium.org2011-07-299-136/+50
| | | | | | | | | | | | | | | | | future refactorings: * Remove "webkit/glue/plugins/plugin_list.h" includes in favor of "webkit/npapi/plugins/plugin_list.h" * Remove |refresh| parameter from |GetPlugins| in favor of calling |RefreshPlugins| beforehand. * Remove |GetPluginInfo| in favor of calling |GetPluginInfoArray| and looking for the first enabled plug-in. * Remove |GetEnabledPlugins| in favor of calling |GetPlugins| and filtering out disabled plugins. * Remove |stale| in favor of an outparameter to |GetPluginInfoArray|, to remove the race condition. BUG=69516,80794 TEST=none Review URL: http://codereview.chromium.org/7497030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94641 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup: Make quota dispatcher code independent from WebKit typeskinuko@chromium.org2011-07-291-3/+2
| | | | | | | | | | | | | Preparing for pepper quota support. Also adding NotifyStorageModified IPC method, which is intended to be used by pepper FileIO code. BUG=for 86556 TEST=existing tests should pass Review URL: http://codereview.chromium.org/7438001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94638 0039d316-1c4b-4281-b951-d872f2087c98
* Remove ReadWriteTokens from GpuVideoDecodeAccelerator + falloutvrk@google.com2011-07-285-16/+46
| | | | | | | | | | | | With apatrick's changes in r93066, we no longer need to manually sync up with the command buffer before handling IPC messages in GpuVideoDecodeAccelerator. BUG=none TEST=gles2 example runs without crashing Review URL: http://codereview.chromium.org/7521015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94561 0039d316-1c4b-4281-b951-d872f2087c98
* Rolling Skia DEPS from r1959 to r1980junov@chromium.org2011-07-281-0/+7
| | | | | | Review URL: http://codereview.chromium.org/7524024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94485 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the ARM build by converting a NULL to a 0 (no longer a pointer).brettw@chromium.org2011-07-281-1/+1
| | | | | | | TEST=it compiles Review URL: http://codereview.chromium.org/7520032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94478 0039d316-1c4b-4281-b951-d872f2087c98
* Make Var less dependent on NPAPI. The goal is to remove all of thesebrettw@chromium.org2011-07-2817-676/+741
| | | | | | | | | | | | | | | | | | | | | | | | | | | dependencies and then move Var and the associated tracking stuff to the shared_impl, where it can be used to replace the similar code in the proxy. There should be no difference in functionality. - I moved the Var/NPAPI conversion stuff from the Var and ObjectVar object into NPAPI glue. - I moved the Var scripting interface implementation (which forwards to NPAPI) to the ppb_var_impl file which is nice because it also matches other interfaces. - I moved the ObjectVar lifetime tracking from the instance into the ResourceTracker with the other var stuff. It turns out we were already tracking the object vars there, so I did a little cleanup. - I changed the PluginModule and PluginInstance in the var object to PP_Module and PP_Instance. The only remaining NPAPI stuff to worry about are the calls to WebBindings in the ObjectVar constructor & destructor. I will probably move this to the resource tracker when I move the var file out. Review URL: http://codereview.chromium.org/7371010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94470 0039d316-1c4b-4281-b951-d872f2087c98
* Larger Combo box Hit Targets for TOUCH_UIfsamuel@chromium.org2011-07-282-5/+0
| | | | | | | | | | | | | | | | | | This is a chromium patch of a two-sided chromium/webkit patch that enables larger hit targets in combo box popups for TOUCH_UI builds. This was originally under this issue: http://codereview.chromium.org/7465011/ The code was committed but the webkit interface changed, afterward so this patch addresses that change. The webkit patch can be found here: https://bugs.webkit.org/show_bug.cgi?id=64897 BUG=none TEST=manually Review URL: http://codereview.chromium.org/7477036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94455 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 94426 - Removed wchat_t from Time::FromString.morrita@chromium.org2011-07-282-7/+7
| | | | | | | | | | | | | | | Also, some of the test case are moved for pr_time_unittests to time_unitests. BUG=77962 TEST=base_unittests:TimeTest.* Review URL: http://codereview.chromium.org/7470038 TBR=shinyak@google.com Review URL: http://codereview.chromium.org/7520021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94427 0039d316-1c4b-4281-b951-d872f2087c98
* Removed wchat_t from Time::FromString.shinyak@google.com2011-07-282-7/+7
| | | | | | | | | | | | Also, some of the test case are moved for pr_time_unittests to time_unitests. BUG=77962 TEST=base_unittests:TimeTest.* Review URL: http://codereview.chromium.org/7470038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94426 0039d316-1c4b-4281-b951-d872f2087c98
* Update translations using strings from launchpad.net r285fta@sofaraway.org2011-07-282-2/+4
| | | | | | | | | Add a new lang: 'ia' (Interlingua). Patch from Fabien Tassin <fta@sofaraway.org>. Review URL: http://codereview.chromium.org/7520001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94395 0039d316-1c4b-4281-b951-d872f2087c98
* ffmpeg: r94155 -> r94207evan@chromium.org2011-07-271-1/+1
| | | | | | | | | | | | | | Includes: r94192 Clarify ffmpeg.gyp comments. r94207 Build ffmpegsumo as a loadable_module, not a shared_library The latter change causes us to use a new name for ffmpegsumo on Mac. BUG=74216 Review URL: http://codereview.chromium.org/7470035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94390 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 93723 - Migrate DataSourceFactory to new callback system.acolwell@chromium.org2011-07-279-83/+128
| | | | | | | | | | | | BUG=90214 TEST=BufferedDataSourceTest.*, SimpleDataSourceTest.* Review URL: http://codereview.chromium.org/7461035 TBR=acolwell@chromium.org Review URL: http://codereview.chromium.org/7482029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94376 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 94316 - Fix invalid pointer dereference in WebDataSourceFactory when ↵acolwell@chromium.org2011-07-276-311/+35
| | | | | | | | | | | | | | | | playback is cancelled during init. Removed Clone() from DemuxerFactory since it isn't being used. BUG=90393 TEST=WebDataSourceFactoryTest.* Review URL: http://codereview.chromium.org/7465048 TBR=acolwell@chromium.org Review URL: http://codereview.chromium.org/7482028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94373 0039d316-1c4b-4281-b951-d872f2087c98
* PPAPI: Change DCHECK in GetInterface() to CHECK. Off-the-main-thread usage ispolina@google.com2011-07-271-1/+1
| | | | | | | | | | | | | | as much of an error in release binaries that should not go unnoticed by our tests. Related change in native_client: http://codereview.chromium.org/7514026 BUG=90609 TEST=native_client:ppapi_ppb_core Review URL: http://codereview.chromium.org/7497020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94327 0039d316-1c4b-4281-b951-d872f2087c98
* Fix invalid pointer dereference in WebDataSourceFactory when playback is ↵acolwell@chromium.org2011-07-276-35/+311
| | | | | | | | | | | | | cancelled during init. Removed Clone() from DemuxerFactory since it isn't being used. BUG=90393 TEST=WebDataSourceFactoryTest.* Review URL: http://codereview.chromium.org/7465048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94316 0039d316-1c4b-4281-b951-d872f2087c98
* Remove VfsBackend::FileTypeIs{Journal,MainDB}phajdan.jr@chromium.org2011-07-272-16/+0
| | | | | | | | | | | | | | Those methods don't seem to be needed, and they are potentially making it more difficult to use system sqlite. This change should not cause any regressions. BUG=22208 Review URL: http://codereview.chromium.org/7480033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94307 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the memory leaks introduced in r94251.dmikurube@google.com2011-07-271-2/+2
| | | | | | | | | BUG=none TEST=FileSystemQuotaClientTest.* Review URL: http://codereview.chromium.org/7517008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94269 0039d316-1c4b-4281-b951-d872f2087c98
* Refactoring: Change all -FileUtils non-Singleton and to own underlying ↵dmikurube@chromium.org2011-07-2718-116/+134
| | | | | | | | | | | | | | | | | FileUtils. Based on the discussion at http://codereview.chromium.org/7174002/diff/26001/webkit/fileapi/local_file_system_file_util.h#newcode38, this change * also reduces dependency between FileUtils, * enables more flexible stacking of -FileUtils, such as QuotaFileUtil over other -FileUtils, and * makes -FileUtils symmetry so owner handling for these objects gets unified. BUG=none TEST=FileSystemFileUtilTest.*,FileSystemOperationTest.*,FileSystemOperationWriteTest.*,FileSystemQuotaTest.*,FileWriterDelegateTest.*,LocalFileSystemFileUtilTest.*,ObfuscatedFileSystemFileUtil.*,QuotaFileUtil.*,SandboxMountPointProviderTest.* Review URL: http://codereview.chromium.org/7312023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94251 0039d316-1c4b-4281-b951-d872f2087c98
* Explicitly Initialize GURL library before spawning any threads in webkit ↵jnd@chromium.org2011-07-271-0/+5
| | | | | | | | | | test support in order to fix DRT chromium port crash BUG=90503 TEST=None Review URL: http://codereview.chromium.org/7461079 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94216 0039d316-1c4b-4281-b951-d872f2087c98
* Removed vestigial GL_latch_CHROMIUM code.apatrick@chromium.org2011-07-274-212/+0
| | | | | | | | | glFlush now has barrier semantics and is now used as an alternative. This patch is dependent on https://bugs.webkit.org/show_bug.cgi?id=65043, now landed as webkit r91736. Review URL: http://codereview.chromium.org/7495009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94215 0039d316-1c4b-4281-b951-d872f2087c98
* Made Destroy() followup more aggressive to test for races.fischman@chromium.org2011-07-261-0/+2
| | | | | | | | | | | | | | | | | | | | In particular we now free output textures and input bitstream buffers as soon as Destroy() returns, in an attempt to trip up race conditions between OVDA::Destroy() returning and the openmax libs/drivers/hardware attempting to use no-longer-valid memory. Also made DestroyVideoDecoder a SYNChronous IPC message again to match VideoDecodeAccelerator::Destroy()'s contract. Also explicitly set to NULL pointers that are made invalid or no-longer useful by Destroy(), in the pepper glue code, to make crashes more obvious if they happen. [No crashes have been observed in gles2 or ovdatest; this CL is just to increase (currently manual) test coverage] BUG=none TEST=gles2 mid-decode reload works, ovdatest passes Review URL: http://codereview.chromium.org/7467037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94148 0039d316-1c4b-4281-b951-d872f2087c98
* Handle the case where the 'host' param is empty in ↵michaeln@google.com2011-07-261-1/+6
| | | | | | | | AppCacheQuotaClient::GetOriginsForHost(). Review URL: http://codereview.chromium.org/7480022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94147 0039d316-1c4b-4281-b951-d872f2087c98
* Remove explicit keyword from multi-argument (w/o default values) constructorsdilmah@chromium.org2011-07-262-5/+5
| | | | | | | | | BUG=None TEST=None Review URL: http://codereview.chromium.org/7477008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94115 0039d316-1c4b-4281-b951-d872f2087c98
* Roll skia to 1951bsalomon@google.com2011-07-261-0/+3
| | | | | | Review URL: http://codereview.chromium.org/7504002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94082 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 93987 - Close the URL request in the destroctor. This ensures the ↵dpapad@chromium.org2011-07-261-1/+0
| | | | | | | | | | | | | | | load is actually stopped when the request is deleted. This caused the pdf plugin to not display any pdf. TEST=manual BUG=84765 Review URL: http://codereview.chromium.org/7491046 TBR=brettw@chromium.org Review URL: http://codereview.chromium.org/7497008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94063 0039d316-1c4b-4281-b951-d872f2087c98
* Context menu for "Voice recognition options"gshires@google.com2011-07-262-0/+4
| | | | | | | | | | | | Patch from Glen Shires <gshires@google.com> BUG=79991 Test= Review URL: http://codereview.chromium.org/7086005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94041 0039d316-1c4b-4281-b951-d872f2087c98
* Merged already reviewed CLs for r/o zip support in ChromeOS file browser:zelidrag@chromium.org2011-07-261-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | Re-landing http://codereview.chromium.org/7457001: Adding support for mount point different from removable devices to MountLibrary (work in progress..have to add GetMountPoints support) tested on ChromeOS with these three patches: http://gerrit.chromium.org/gerrit/#change,4447 http://gerrit.chromium.org/gerrit/#change,4449 http://gerrit.chromium.org/gerrit/#change,4544 http://codereview.chromium.org/7471039/: UI for mounting/unmounting archive files. BUG=chromium-os:17673, chromium-os:17783 TEST=Made sure mounting devices still works and that MountCompleted event gets through to file_browser_event_router (checking ui and chrome logs for mount completed entries) TBR=tbarzic, dgozman Review URL: http://codereview.chromium.org/7488044 Review URL: http://codereview.chromium.org/7502010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94008 0039d316-1c4b-4281-b951-d872f2087c98
* Close the URL request in the destroctor. This ensures the load is actuallybrettw@chromium.org2011-07-251-0/+1
| | | | | | | | | | stopped when the request is deleted. TEST=manual BUG=84765 Review URL: http://codereview.chromium.org/7491046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93987 0039d316-1c4b-4281-b951-d872f2087c98
* Avoid double-buffering windowless plugins and instead use buffer flipping ↵tschmelcher@chromium.org2011-07-252-0/+12
| | | | | | | | | | | | when feasible. This can significantly reduce the CPU usage of pages that host windowless plugins (down by ~15% absolute CPU usage on my old MacBookPro, or about a 40% relative decrease). Also simplify the OS X code for managing TransportDIBs by creating them in uncached mode and transfering the FileDescriptors using dup+auto-close. TEST=(OS X 10.5) Google voice and video chat (O3D), YouTube, www.dkmsoftware.com/Yubotu.htm, and trailers.apple.com, incl. with violent resizing, and analyzed perf with Shark; (OS X 10.5, OS X 10.6, Linux, Windows) http://www.communitymx.com/content/source/E5141/wmodeopaque.htm, http://www.communitymx.com/content/source/E5141/wmodetrans.htm, http://www.communitymx.com/content/source/E5141/wmodenone.htm, hand-crafted perf test using Flash with wmode=opaque, analyzed perf with Activity Monitor / top / Process Explorer, verified in the debugger that buffer flips do not cause NPP_SetWindow calls BUG=none Review URL: http://codereview.chromium.org/7171024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93970 0039d316-1c4b-4281-b951-d872f2087c98
* Removing WebVideoFrameImpl::texture() and WebVideoFrameImpl::surfaceType().scherkus@chromium.org2011-07-252-20/+8
| | | | | | | | They're no longer defined as of WebKit r91584. Review URL: http://codereview.chromium.org/7495017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93954 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a problem introduced in r93736.michaeln@google.com2011-07-251-3/+3
| | | | | | | | | Initiate the 'check' of the response prior to calling out via NotifyDone or NotifyRestartRequired. The job may be killed prior to those notification methods returning in which case the storage_ ptr is not valid. BUG=none Review URL: http://codereview.chromium.org/7493047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93918 0039d316-1c4b-4281-b951-d872f2087c98
* Properly duplicate WebCString for cross-thread traversal.jknotten@chromium.org2011-07-251-1/+1
| | | | | | | | | | | | | | http://codereview.chromium.org/6878059/ was an attempt to fix this issue, but unfortunately the WebCString is still shared between threads. Avoid WebCString's copy constructor to prevent underlying sharing. BUG=78208 TEST=none. Review URL: http://codereview.chromium.org/7488014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93897 0039d316-1c4b-4281-b951-d872f2087c98
* Change quota to account directories and path names in the filesystem.dmikurube@chromium.org2011-07-2520-403/+932
| | | | | | | | | BUG=89841 TEST=FileSystemQuotaClientTest.*,FileSystemQuotaTest.*,FileSystemObfuscatedQuotaTest.*,QuotaFileUtilTest.* Review URL: http://codereview.chromium.org/7347003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93881 0039d316-1c4b-4281-b951-d872f2087c98