summaryrefslogtreecommitdiffstats
path: root/webkit
Commit message (Collapse)AuthorAgeFilesLines
* Update some #includes for headers that have been moved to the new Platform ↵pilgrim@chromium.org2013-02-063-3/+3
| | | | | | | | directory upstream Review URL: https://chromiumcodereview.appspot.com/12213042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181092 0039d316-1c4b-4281-b951-d872f2087c98
* cc: Fix paint time collection for continuous painting modeegraether@chromium.org2013-02-061-1/+1
| | | | | | | | | | This change moves the recordRenderingStats setting to LayerTreeDebugState and adds the new accessor LayerTreeDebugState::recordRenderingStats() that takes continuousPainting into account. BUG=174354 Review URL: https://chromiumcodereview.appspot.com/12209018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181080 0039d316-1c4b-4281-b951-d872f2087c98
* Partial revert of r180417.alph@chromium.org2013-02-062-0/+22
| | | | | | | | | | | | | DumpRenderTree based tests rely on the Platform implementation in webkit_glue::WebKitPlatformSupportImpl, so add the implementation back. BUG=none TBR=darin Review URL: https://chromiumcodereview.appspot.com/12213041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180993 0039d316-1c4b-4281-b951-d872f2087c98
* Return a FileEntry object from onFileSynced events so both input and output ↵calvinlo@chromium.org2013-02-062-0/+30
| | | | | | | | | | | types of API functions involving single files all use FileEntry. BUG=167552 TEST=SyncFileSystemApiTest.OnFileSynced Review URL: https://chromiumcodereview.appspot.com/11819058 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180977 0039d316-1c4b-4281-b951-d872f2087c98
* Construct and initialize compositor view in contentjamesr@chromium.org2013-02-062-3/+4
| | | | | | | | | | | | This extracts the WebLayerTreeView initialization code out of RenderWidget and creates a new class, RenderWidgetCompositor, to handle initialization. BUG= Review URL: https://chromiumcodereview.appspot.com/12210005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180947 0039d316-1c4b-4281-b951-d872f2087c98
* WebKit shared timer should be rescheduled after resuming from a modal loops, ↵rosca@adobe.com2013-02-062-2/+9
| | | | | | | | | | even the shared timer is already running and only if it has received a new fire time while running modal loops. BUG=174009 Review URL: https://chromiumcodereview.appspot.com/12198004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180945 0039d316-1c4b-4281-b951-d872f2087c98
* ExternalClearKey: Use 2 threads for decoding in libvpx.tomfinegan@chromium.org2013-02-061-1/+3
| | | | | | | | | cdm_bench performance testing on lucas devices shows a decoding speed increase of about 30 percent when using two threads. Review URL: https://chromiumcodereview.appspot.com/12221036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180926 0039d316-1c4b-4281-b951-d872f2087c98
* Unsafe array length fix for GetNormalizedPath() function.calvinlo@chromium.org2013-02-063-3/+59
| | | | | | | | | | This is a fix for http://src.chromium.org/viewvc/chrome?view=rev&revision=180688 BUG=174476 Review URL: https://codereview.chromium.org/12217010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180910 0039d316-1c4b-4281-b951-d872f2087c98
* Deoptionalize WebLayerTreeView::setViewportSizejamesr@chromium.org2013-02-062-5/+2
| | | | | | | | | | | | Chromium side of http://trac.webkit.org/changeset/141920. A missing/empty device viewport doesn't make any sense. BUG= Review URL: https://chromiumcodereview.appspot.com/12217019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180875 0039d316-1c4b-4281-b951-d872f2087c98
* Control fling curves with parameters in RendererPreferencesrjkroege@chromium.org2013-02-067-34/+136
| | | | | | | | | | | | | | | This patch provides the renderer side implementation of a change for controlling fling curve coefficients from a browser-side configuration interface. A factory class manages synchronized access to the coefficients and constructs fling curves using them. The Coefficients are delivered to the factory via the existing RendererPreferences facility. BUG=119073 Review URL: https://chromiumcodereview.appspot.com/11638026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180869 0039d316-1c4b-4281-b951-d872f2087c98
* Add about:flags experiment to enable/disable fixed position element compositing.shawnsingh@chromium.org2013-02-062-7/+0
| | | | | | | | | | | | We would like to begin pushing for this feature (composted fixed-position elements). Adding this flag is a first step. BUG=172738 Review URL: https://chromiumcodereview.appspot.com/12088075 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180847 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 180688 due to faiulres on asan botsbrianderson@chromium.org2013-02-053-59/+3
| | | | | | | | | | | | | | | | | | | BUG=174476 > Add Utility functions to Normalize and check for Absolute Virtual Paths. > > BUG=173627 > TEST= > content_unittests FileSystemUtilTest.GetNormalizedFilePath > content_unittests FileSystemUtilTest.IsAbsolutePath > > > Review URL: https://chromiumcodereview.appspot.com/12088105 TBR=calvinlo@chromium.org Review URL: https://codereview.chromium.org/12236002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180804 0039d316-1c4b-4281-b951-d872f2087c98
* Use WebKit's resource priorities instead of computing our own.simonjam@chromium.org2013-02-053-0/+5
| | | | | | | | | | | | | | | This has no effect on PLT, Speed Index, TTFB, or first paint. This simply allows us to benefit from improvements to WebKit's prioritization. For instance, deferred scripts should be lower priority than blocking scripts. We'll likely use the priority to deprioritize preloads too. In practical terms, the only significant change is that WebKit prioritizes CSS above JS and fonts. That didn't affect the metrics. BUG=None Review URL: https://chromiumcodereview.appspot.com/12045105 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180759 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 180583gavinp@chromium.org2013-02-057-123/+84
| | | | | | | | | | | | | | | | | | > Make TestWebIDBFactory allocate a separate WebIDBFactory per thread. > > This allows the main WebKit thread and web worker threads to each get their own > WebIDBFactory instance, which mimics the behavior when we let the WebIDBFactory > be instantiated via the WebKitPlatformSupport::idbFactory() method. > > R=alecflett@chromium.org > > Review URL: https://chromiumcodereview.appspot.com/12181010 TBR=darin@chromium.org,mpcomplete@chromium.org BUG=174408 Review URL: https://codereview.chromium.org/12211018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180758 0039d316-1c4b-4281-b951-d872f2087c98
* Add unittests for Cross-FileSystem Copy/Move (for local filesystem).kinuko@chromium.org2013-02-052-1/+548
| | | | | | | | | | | | Also fix a bug in CrossOperationDelegate BUG=110121, 130055 TEST=LocalFileSystemCrossOperationTest.* TBR=jam@chromium.org Review URL: https://codereview.chromium.org/12181013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180703 0039d316-1c4b-4281-b951-d872f2087c98
* Disable plugins/get-file-url.html on the Webkit ASan bot (issue 166932)glider@chromium.org2013-02-051-0/+1
| | | | | | | | BUG=166932 TBR=dpranke Review URL: https://codereview.chromium.org/12228003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180699 0039d316-1c4b-4281-b951-d872f2087c98
* Add Utility functions to Normalize and check for Absolute Virtual Paths.calvinlo@chromium.org2013-02-053-3/+59
| | | | | | | | | | | | BUG=173627 TEST= content_unittests FileSystemUtilTest.GetNormalizedFilePath content_unittests FileSystemUtilTest.IsAbsolutePath Review URL: https://chromiumcodereview.appspot.com/12088105 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180688 0039d316-1c4b-4281-b951-d872f2087c98
* Fix possible crash in RecursiveOperationDelegate and throttle # of parallel ↵kinuko@chromium.org2013-02-054-20/+59
| | | | | | | | | | | | | | | | | | | | tasks - RecursiveOperationDelegate::ProcessFile() could fail /w calling its callback in an synchronous way, so it must be always called asynchronously or at the end of a synchronous block. - LocalFilesystemOperation::SetUp() has to be also called before calling into RecursiveOperationDelegate. - This also introduces a constant kMaxInflightOperations to cap the max # of inflight operations at the same time. BUG=146215 TEST=tested with locally patched test, http://crbug.com/172424 will add one TEST=LocalFileSystemOperationTest.TestRemoveSuccessRecursive for throttle Review URL: https://codereview.chromium.org/12177006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180668 0039d316-1c4b-4281-b951-d872f2087c98
* Add a tcmalloc dependency to cc_unittests and ↵glider@chromium.org2013-02-051-0/+9
| | | | | | | | | webkit_compositor_bindings_unittests BUG=153554 Review URL: https://codereview.chromium.org/12089092 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180656 0039d316-1c4b-4281-b951-d872f2087c98
* Fix maxTimeSeekable() so it returns 0 when the pipeline doesn't have a ↵acolwell@chromium.org2013-02-051-0/+5
| | | | | | | | | | | | duration yet. BUG=173486 TEST=media/video-error-does-not-exist.html LayoutTest Review URL: https://chromiumcodereview.appspot.com/12185032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180643 0039d316-1c4b-4281-b951-d872f2087c98
* Remove reference counting from media::AudioRenderer and friends.scherkus@chromium.org2013-02-051-4/+6
| | | | | | | | BUG=173313 Review URL: https://codereview.chromium.org/12140002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180604 0039d316-1c4b-4281-b951-d872f2087c98
* Enabling External Clear Key CDM on Mac OSdkovalev@chromium.org2013-02-052-1/+15
| | | | | | | | | | BUG=152864 TEST=clearkeycdmplugin build on Mac OS Review URL: https://chromiumcodereview.appspot.com/12096104 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180597 0039d316-1c4b-4281-b951-d872f2087c98
* Remove reference counting from media::VideoRenderer and friends.scherkus@chromium.org2013-02-051-3/+3
| | | | | | | | BUG=173313 Review URL: https://codereview.chromium.org/12114024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180591 0039d316-1c4b-4281-b951-d872f2087c98
* Make TestWebIDBFactory allocate a separate WebIDBFactory per thread.darin@chromium.org2013-02-057-84/+123
| | | | | | | | | | | | This allows the main WebKit thread and web worker threads to each get their own WebIDBFactory instance, which mimics the behavior when we let the WebIDBFactory be instantiated via the WebKitPlatformSupport::idbFactory() method. R=alecflett@chromium.org Review URL: https://chromiumcodereview.appspot.com/12181010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180583 0039d316-1c4b-4281-b951-d872f2087c98
* Replace VideoRendererBase Get/PutCurrentFrame() with a VideoFrame-containing ↵scherkus@chromium.org2013-02-053-35/+17
| | | | | | | | | | callback. BUG=108435 Review URL: https://codereview.chromium.org/12096081 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180578 0039d316-1c4b-4281-b951-d872f2087c98
* Retrieve renderer process memory sizes from browser via IPC.alph@chromium.org2013-02-042-22/+0
| | | | | | | | | | | | | | The patch implements requestProcessMemorySizes function from Platform support WebKit interface. It requests renderer process memory sizes information from a browser via IPC as long as direct request is not possible due to sandbox restrictions. BUG=162467 Review URL: https://chromiumcodereview.appspot.com/11860007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180417 0039d316-1c4b-4281-b951-d872f2087c98
* cc: Add flag to use raster cheapness estimatorskyostil@chromium.org2013-02-041-0/+1
| | | | | | | | | | | | | Add a command line flag to turn on the raster job cheapness estimator. It will be used to schedule raster jobs according to their estimated processing cost. BUG=173426 TBR=piman Review URL: https://chromiumcodereview.appspot.com/12185015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180399 0039d316-1c4b-4281-b951-d872f2087c98
* Renamed WebMediaStreamComponent and WebMediaStreamDescriptor to ↵tommyw@chromium.org2013-02-041-4/+4
| | | | | | | | | | | | | WebMediaStreamTrack & WebMediaStream Depends on a not yet landed WebKit patch BUG=173105 Review URL: https://chromiumcodereview.appspot.com/12084088 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180389 0039d316-1c4b-4281-b951-d872f2087c98
* Skip plugins/get-empty-url.html on the Webkit Linux ASan bot (issue 166932)glider@chromium.org2013-02-041-0/+1
| | | | | | | | BUG=166932 TBR=dpranke Review URL: https://codereview.chromium.org/12177013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180385 0039d316-1c4b-4281-b951-d872f2087c98
* Add NativeFileUtil unit testsyoichio@chromium.org2013-02-042-3/+339
| | | | | | | | BUG=170564 Review URL: https://chromiumcodereview.appspot.com/12088083 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180368 0039d316-1c4b-4281-b951-d872f2087c98
* MessageLoop's RUN method will pass a const ref to PendingTask whenrtenneti@chromium.org2013-02-031-2/+3
| | | | | | | | | | | | | | | | | TaskObserver's WillProcessTask and DidProcessTask methods are called. User's of TaskObserver get time_posted by accessing pending_task.time_posted. User's of TaskObserver get time_posted by accessing pending_task.time_posted. (would like to use this with SpdySession testing to verify a task is posted or not). R=jar@chromium.org, darin@chromium.org TESTS= all unit tests Review URL: https://chromiumcodereview.appspot.com/12161002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180302 0039d316-1c4b-4281-b951-d872f2087c98
* Add FilePath to base namespace.brettw@chromium.org2013-02-02281-1978/+2026
| | | | | | | This updates headers that forward-declare it and a few random places to use the namespace explicitly. There us a using declaration in file_path.h that makes the rest compile, which we can do in future passes. Review URL: https://codereview.chromium.org/12163003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180245 0039d316-1c4b-4281-b951-d872f2087c98
* cc: Avoid expensive RenderingStats collection.danakj@chromium.org2013-02-023-0/+6
| | | | | | | | | | | | | | | When --enable-gpu-benchmarking is not present, don't do expensive steps in the benchmark collection (meaning don't call base::TimeTicks::Now()). BUG=170735 NOTRY=true Depends on: https://bugs.webkit.org/show_bug.cgi?id=108358 Review URL: https://chromiumcodereview.appspot.com/12095053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180224 0039d316-1c4b-4281-b951-d872f2087c98
* Move string tokenizer to base/strings.brettw@chromium.org2013-02-022-4/+3
| | | | | | | | BUG= Review URL: https://codereview.chromium.org/12087091 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180211 0039d316-1c4b-4281-b951-d872f2087c98
* Make most code on mac compile with enable_web_intents=0thakis@chromium.org2013-02-011-0/+10
| | | | | | | | | | | | | | | | | Once everything builds with that set, I'll switch the default of that to off, then merge that into webkit and delete the webkit pieces, and then I'll delete the chromium bits. Since enable_web_intents is still 1, this change has no observable effect. BUG=173194 TEST=build with GYP_DEFINES=enable_web_intents=0. No compile errors, fewer linker errors. TBR=jschuh Review URL: https://codereview.chromium.org/12089102 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180186 0039d316-1c4b-4281-b951-d872f2087c98
* Skip plugins/fullscreen-plugins-dont-reload.html on the Webkit ASan bot ↵glider@chromium.org2013-02-011-0/+1
| | | | | | | | | | (issue 166932) BUG=166932 TBR=dpranke Review URL: https://codereview.chromium.org/12094105 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180143 0039d316-1c4b-4281-b951-d872f2087c98
* Make webkit_glue build on Win64 jschuh@chromium.org2013-02-011-1/+2
| | | | | | | | | | | | Just c4267 build suppressions. BUG=166496 BUG=167187 R=brettw@chromium.org TBR=brettw@chromium.org Review URL: https://codereview.chromium.org/12084104 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180142 0039d316-1c4b-4281-b951-d872f2087c98
* More test expectations for the Webkit ASan bot.glider@chromium.org2013-02-011-0/+2
| | | | | | | | | | | Skip fast/images/embed-does-not-propagate-dimensions-to-object-ancestor.html (issue 145940) Skip plugins/form-value.html (issue 166932) BUG=145940,166932 TBR=dpranke Review URL: https://codereview.chromium.org/12092109 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180129 0039d316-1c4b-4281-b951-d872f2087c98
* Convert top controls to use DIP instead of PX.tedchoc@chromium.org2013-02-011-4/+4
| | | | | | | | | | | | | Previously, scroll offset was based on screen pixels, but now is based on screen density independent pixels. This converts the top controls manager to deal in DIP instead of PX. BUG=161303 Review URL: https://chromiumcodereview.appspot.com/12095071 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180089 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 179967alecflett@chromium.org2013-02-013-13/+2
| | | | | | | | | | | | | | | | | > Avoid leaking TestWebIDBFactory instances, and reset > the TestWebIDBFactory instance between layout tests. > > (The last part depends on a WebKit patch to actually > call ResetTestEnvironment.) > > R=jsbell@chromium.org > > Review URL: https://chromiumcodereview.appspot.com/12093086 TBR=darin@chromium.org Review URL: https://codereview.chromium.org/12090108 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180017 0039d316-1c4b-4281-b951-d872f2087c98
* Avoid leaking TestWebIDBFactory instances, and resetdarin@chromium.org2013-01-313-2/+13
| | | | | | | | | | | | | the TestWebIDBFactory instance between layout tests. (The last part depends on a WebKit patch to actually call ResetTestEnvironment.) R=jsbell@chromium.org Review URL: https://chromiumcodereview.appspot.com/12093086 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179967 0039d316-1c4b-4281-b951-d872f2087c98
* Pass in media message loop to AudioRendererImpl and enforce calling on the ↵scherkus@chromium.org2013-01-311-1/+3
| | | | | | | | | | right thread. As a result AudioDecoder implementations have been updated to expect they get called on the correct thread instead of trampolining. Review URL: https://codereview.chromium.org/12087047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179950 0039d316-1c4b-4281-b951-d872f2087c98
* Avoid integer overflows in BlobURLRequestJob.aedla@chromium.org2013-01-312-19/+51
| | | | | | | | | | | BUG=169685 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=179154 Review URL: https://chromiumcodereview.appspot.com/12047012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179901 0039d316-1c4b-4281-b951-d872f2087c98
* Skip plugins/embed-prefers-plugins-for-images.html on the Webkit ASan botglider@chromium.org2013-01-311-0/+1
| | | | | | | | BUG=166932 TBR=dpranke Review URL: https://codereview.chromium.org/12093092 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179898 0039d316-1c4b-4281-b951-d872f2087c98
* Skip plugins/embed-inside-object.html on the Webkit ASan botglider@chromium.org2013-01-311-0/+1
| | | | | | | | BUG=166932 TBR=dpranke Review URL: https://codereview.chromium.org/12087107 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179894 0039d316-1c4b-4281-b951-d872f2087c98
* Skip plugins/embed-attributes-style.html on the Webkit ASan bot (issue 166932)glider@chromium.org2013-01-311-0/+2
| | | | | | | | | | Skip fast/loader/loadInProgress.html (issue 145940) BUG=166932,145940 TBR=dpranke Review URL: https://codereview.chromium.org/12121002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179885 0039d316-1c4b-4281-b951-d872f2087c98
* Some layout_tests expectations for the Webkit ASan bot:glider@chromium.org2013-01-311-2/+35
| | | | | | | | | | | | | | | -- enabled platform/chromium/virtual/softwarecompositing back (issue 155911) -- disabled fast/replaced/border-radius-clip.html, plugins/crash-restoring-plugin-page-from-page-cache.html, plugins/iframe-shims.html (issue 145940) -- disabled plugins/destroy-on-setwindow.html (issue 144118) -- disabled plugins/embed-attributes-setting.html (issue 166932) -- disabled plugins/get-url-notify-with-url-that-fails-to-load.html (issue 142301) -- disabled fast/js/string-replacement-outofmemory.html (issue 173366) BUG=155911,145940,144118,166932,142301,173366 TBR=dpranke Review URL: https://codereview.chromium.org/12091089 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179882 0039d316-1c4b-4281-b951-d872f2087c98
* SetWindowLongPtrA takes a GWLP_WNDPROCjschuh@chromium.org2013-01-311-1/+1
| | | | | | | | | Right now it's a GWL_WNDPROC, which is the same value but technically incorrect and invalid on Win64. BUG=166496 Review URL: https://codereview.chromium.org/12090079 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179791 0039d316-1c4b-4281-b951-d872f2087c98
* Updating XTBs based on .GRDs from branch 1364kerz@chromium.org2013-01-3152-1/+105
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179782 0039d316-1c4b-4281-b951-d872f2087c98
* Enable textarea resizer in test_shell.tony@chromium.org2013-01-311-1/+0
| | | | | | | | | | This matches what we ship in Chromium. BUG=None Review URL: https://codereview.chromium.org/12094066 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179745 0039d316-1c4b-4281-b951-d872f2087c98