summaryrefslogtreecommitdiffstats
path: root/content
Commit message (Collapse)AuthorAgeFilesLines
* Merge Compositor and CompositorCCpiman@chromium.org2012-01-295-108/+85
| | | | | | | | | | | | This also removes a few unused calls. BUG=None TEST=compiles, tests pass Review URL: http://codereview.chromium.org/9297041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119645 0039d316-1c4b-4281-b951-d872f2087c98
* Add option --dump-render-tree to content_shell to dump the render tree as text.jochen@chromium.org2012-01-2912-6/+247
| | | | | | | | | | BUG=111316 TEST=run out/Debug/content_shell --dump-render-tree file://$(pwd)/third_party/WebKit/LayoutTests/fast/html/section-element.html > section-element-actual.txt - should be the same as section-element-expected.txt Review URL: http://codereview.chromium.org/9289045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119642 0039d316-1c4b-4281-b951-d872f2087c98
* BufferedResourceHandler::ShouldDownload shouldn't manually parse ↵abarth@chromium.org2012-01-281-28/+5
| | | | | | | | | | | | Content-Disposition Now that we have net::HttpContentDisposition to parse the Content-Disposition header, BufferedResourceHandler::ShouldDownload shouldn't use its own ad-hoc parser. Review URL: http://codereview.chromium.org/9297039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119611 0039d316-1c4b-4281-b951-d872f2087c98
* Fold views_compositor=1 into use_aura=1piman@chromium.org2012-01-281-1/+1
| | | | | | | | | | | | | We don't have a use case for views_compositor=1 and use_aura=0 (and it's broken/untested anyway), so this simplifies things a little bit. BUG=None TEST=compiles, tests pass. Review URL: http://codereview.chromium.org/9225038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119583 0039d316-1c4b-4281-b951-d872f2087c98
* aura: Add Layer::LAYER_SOLID_COLOR to compositor.derat@chromium.org2012-01-281-3/+3
| | | | | | | | | | | | | | | | | | This adds a new layer type backed by WebKit::WebSolidColorLayer. I'm using it for the power button animation's background (which previously had a fullscreen texture that it just painted black). I'm also renaming LAYER_HAS_TEXTURE to LAYER_TEXTURED and LAYER_HAS_NO_TEXTURE to LAYER_NOT_DRAWN. BUG=109083 TEST=manual: checked that the power button animation looks the same as before TBR=sky Review URL: http://codereview.chromium.org/9289036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119580 0039d316-1c4b-4281-b951-d872f2087c98
* Minor code refactoring: move 'signal send end of stream' fromenal@chromium.org2012-01-282-6/+9
| | | | | | | | | | | AudioRendererBase::FillBuffer(), to allow making it asynchronous in the future. First step in implementing software audio mixing. BUG=61293 Review URL: http://codereview.chromium.org/9129004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119578 0039d316-1c4b-4281-b951-d872f2087c98
* Move audio/video files from content/renderer into content/renderer/media.fischman@chromium.org2012-01-2812-18/+742
| | | | | | | | | | | | Should reduce rubberstampage. BUG=none TEST=none Review URL: http://codereview.chromium.org/9295018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119577 0039d316-1c4b-4281-b951-d872f2087c98
* Added missing member initializationgroby@chromium.org2012-01-281-2/+3
| | | | | | | | | | BUG= TEST= Review URL: http://codereview.chromium.org/9295008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119575 0039d316-1c4b-4281-b951-d872f2087c98
* Send replies to sync IPCs from swapped out renderers.creis@chromium.org2012-01-289-26/+129
| | | | | | | | | BUG=93427 TEST=Go back/forward quickly with cross-process navigations. Review URL: http://codereview.chromium.org/9271054 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119572 0039d316-1c4b-4281-b951-d872f2087c98
* Enabling usage of native PeerConnection v2 in libjingle.grunell@chromium.org2012-01-2813-625/+896
| | | | | | | | | | The new PeerConnection in libjingle follows the current specification much closer and allows us to remove workarounds and limitations in the glue for WebRTC functionality. TEST=content_unittests Review URL: http://codereview.chromium.org/9284020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119568 0039d316-1c4b-4281-b951-d872f2087c98
* content: Modfiy ResourceBundle and content_shell to run with alternative pak ↵erg@chromium.org2012-01-281-6/+2
| | | | | | | | | | | | files. BUG=111326 R=jam TBR=sky,tony,ajwong,ananta Review URL: http://codereview.chromium.org/9232060 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119566 0039d316-1c4b-4281-b951-d872f2087c98
* Convert use of int ms to TimeDelta in content/plugin.tedvessenes@gmail.com2012-01-282-6/+9
| | | | | | | | | | BUG=108171 TEST= Review URL: http://codereview.chromium.org/9223020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119556 0039d316-1c4b-4281-b951-d872f2087c98
* Add GPU info collection to GPUTestConfig.zmo@chromium.org2012-01-284-6/+16
| | | | | | | | | | | | We didn't add it the first place due to a shared build failure. This should be added so the GPUTestConfig can be easier to use. BUG=101216 TEST=content_unittests R=kbr Review URL: http://codereview.chromium.org/9288073 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119553 0039d316-1c4b-4281-b951-d872f2087c98
* Saving content will prefer to retrieve the data out of the HTTP cache for GETs.cbentzel@chromium.org2012-01-2814-84/+72
| | | | | | | | | | | | For example, if the current tab is navigated to a JPEG and the user chooses "Save Page As" from the wrench menu, the data will be retrieved from cache without validation even if Cache-Control: no-cache is specified. BUG=32246,55551,94574 TEST=DownloadTest.SavePageNonHTMLViaGet Review URL: http://codereview.chromium.org/9178029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119538 0039d316-1c4b-4281-b951-d872f2087c98
* Convert use of int ms to TimeDelta in files owned by eroman.tedvessenes@gmail.com2012-01-281-1/+2
| | | | | | | | | | | R=eroman@chromium.org BUG=108171 TEST= Review URL: http://codereview.chromium.org/9107025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119537 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup: Remove static storage for variables in an unnamed namespace.jhawkins@chromium.org2012-01-283-10/+11
| | | | | | | | | | BUG=none TEST=none R=binji Review URL: https://chromiumcodereview.appspot.com/9271061 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119535 0039d316-1c4b-4281-b951-d872f2087c98
* Fix DirectX diagnostic collection for about:gpu page.apatrick@chromium.org2012-01-286-22/+41
| | | | | | | The DirectX diagnostics are collected by a separate GPU process that is not sandboxed. This is because the sandbox prevents them from being collected. Review URL: https://chromiumcodereview.appspot.com/9212054 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119534 0039d316-1c4b-4281-b951-d872f2087c98
* Avoid trying to query ScreenInfo without a valid host_window_jamesr@chromium.org2012-01-271-1/+4
| | | | | | | | | | | | | | | | | | It's possible for RenderWidget::screenInfo() to be called before the host_window_ id is set, either because we haven't received the IPC yet with the id or because the native widget hasn't been created yet. The implementations of this all fall over in different platform-specific ways without the parameter, and since this is a synchronous IPC it seems better to avoid the round-trip if we know it won't be successful. This returns a WebScreenInfo in the default state (zero'd out). It'd be better to have a way to signal an error but that would require a WebKit API change. TEST= Review URL: http://codereview.chromium.org/9169103 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119520 0039d316-1c4b-4281-b951-d872f2087c98
* Add OSSTATUS_LOG API.mark@chromium.org2012-01-271-3/+4
| | | | | | Review URL: https://chromiumcodereview.appspot.com/9235084 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119511 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Revert 119430 - Make transferbuffer increase in size dynamically"gman@chromium.org2012-01-272-24/+21
| | | | | | | | | | | | | This reverts commit 2f38c45427c68fe731c1f5c05256b6c141a6a590. BUG=101431 TEST= TBR=apatrick@chromium.org Review URL: http://codereview.chromium.org/9121057 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119509 0039d316-1c4b-4281-b951-d872f2087c98
* Roll webrtc 1538 and libjingle 112grunell@chromium.org2012-01-273-25/+18
| | | | | | | | This is in preparation for switching to PeerConnection v2. Review URL: https://chromiumcodereview.appspot.com/9297013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119505 0039d316-1c4b-4281-b951-d872f2087c98
* adjust start_time_ for video capture decoder so that the preroll in video ↵wjia@chromium.org2012-01-272-0/+7
| | | | | | | | | | | renderer is correctly compensated. Since video renderer prerolls, the start_time_ is set a bit earlier (at seek state). This results in mismatching between host time and clock for captured video frames. The clock for captured video frames starts earlier than host time. Then video renderer sleep too long to flip next frame, which also results in delay of read request to CaptureVideoDecoder, which leads to frame dropping in CaptureVideoDecoder. Review URL: https://chromiumcodereview.appspot.com/9234050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119503 0039d316-1c4b-4281-b951-d872f2087c98
* Fix memory leak of DownloadCreateInfo if we couldn't find a DownloadManager. ↵jam@chromium.org2012-01-272-9/+13
| | | | | | | | This happens in unittests. But it could also happen in production if we couldn't get the associated RenderView (i.e. page closed right after starting the download). Review URL: https://chromiumcodereview.appspot.com/9295017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119496 0039d316-1c4b-4281-b951-d872f2087c98
* Detect errors in audio output and report them upstream.fischman@chromium.org2012-01-277-6/+23
| | | | | | | | | | | | Stop feeding audio packets to AUDIO DemuxerStreams once audio has been disabled. BUG=111409 TEST=uninstall pulseaudio, make /dev/snd inaccessible, and observe <video> plays correctly (muted) instead of hanging. Review URL: http://codereview.chromium.org/9234066 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119488 0039d316-1c4b-4281-b951-d872f2087c98
* Send proper gesture-types for tap-down and double-tap now that WebInputEvent ↵sadrul@chromium.org2012-01-271-4/+2
| | | | | | | | | | | is updated. BUG=111402 TEST=none Review URL: https://chromiumcodereview.appspot.com/9223021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119463 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 119430 - Make transferbuffer increase in size dynamicallykinuko@chromium.org2012-01-272-21/+24
| | | | | | | | | | | | | TEST=unit tests BUG=101431 Review URL: http://codereview.chromium.org/9113069 TBR=gman@chromium.org Review URL: https://chromiumcodereview.appspot.com/9298005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119436 0039d316-1c4b-4281-b951-d872f2087c98
* Make transferbuffer increase in size dynamicallygman@chromium.org2012-01-272-24/+21
| | | | | | | | | | TEST=unit tests BUG=101431 Review URL: http://codereview.chromium.org/9113069 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119430 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 119306 - Turn web intents build flag on.gbillock@chromium.org2012-01-273-6/+6
| | | | | | | | | | | | | | | | | | Move the command-line flag to default-on. (Revert of 119284 : https://chromiumcodereview.appspot.com/9212036) IN CASE OF FIRE, PULL THIS HANDLE! If web intents needs to be disabled, revert this change. R=jhawkins@chromium.org BUG=111135 TEST=None Review URL: http://codereview.chromium.org/9271084 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119423 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: add remote debugging capabilities to content_shell.pfeldman@chromium.org2012-01-2713-29/+298
| | | | | | | | | BUG=97465 TEST= Review URL: https://chromiumcodereview.appspot.com/9288023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119408 0039d316-1c4b-4281-b951-d872f2087c98
* Mouse Lock is currently supported in Pepper, but not yet supported from WebKit.scheib@chromium.org2012-01-278-167/+578
| | | | | | | | | | | | | | | Move the render thread logic for managing the mouse lock state out of the pepper_plugin_delegate_impl, and into a higher level dispatcher for render_view_impl. Handle mouse lock / pointer lock requests from both pepper and webkit (WebKit API not yet landed, small TODOs left in this code to enable once that lands). BUG=109957 TEST=Pepper examples/mouse_lock and NaCl mouse lock examples still work. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=119206 Review URL: http://codereview.chromium.org/8970016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119406 0039d316-1c4b-4281-b951-d872f2087c98
* Remove old (pre-webkit) compositorpiman@chromium.org2012-01-274-112/+1
| | | | | | | | | BUG=103948 TEST=builds, tests pass Review URL: http://codereview.chromium.org/9288053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119402 0039d316-1c4b-4281-b951-d872f2087c98
* Toward an android build of sync_unit_tests: OWNERS=jam (or unspecified)jrg@chromium.org2012-01-272-2/+6
| | | | | | | | | | BUG=None TEST= Review URL: http://codereview.chromium.org/9288042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119400 0039d316-1c4b-4281-b951-d872f2087c98
* Rename WebUIFactory to WebUIControllerFactory since that's what it creates now.jam@chromium.org2012-01-2716-177/+141
| | | | | | | | | I've removed EmptyWebUIFactory, since that doesn't fit in well with Content API now. There were only a few places in the code that called it, and handling NULL wasn't much work. BUG=98716 Review URL: https://chromiumcodereview.appspot.com/9288074 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119341 0039d316-1c4b-4281-b951-d872f2087c98
* A few clients of the utility process had a race condition that could lead to ↵dgrogan@chromium.org2012-01-277-28/+43
| | | | | | | | | | | | | | a browser crash if the utility process crashed. IndexedDB was the worst offender. WebstoreInstallHelper, the profile importer, and posix plugin loader were also affected. As a side effect, NaClProcessHost and GpuProcessHost are now notified when their respective processes are killed and treat such an occurrence as a crash. BUG=108871 TEST= Review URL: http://codereview.chromium.org/9235052 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119340 0039d316-1c4b-4281-b951-d872f2087c98
* Do not filter IPC messages until the new RVH commits, to avoid a race.creis@chromium.org2012-01-274-64/+59
| | | | | | | | | | | | This is an alternate fix to http://codereview.chromium.org/8587029/. BUG=93427 BUG=104600 TEST=Go back/forward quickly with cross-process navigations. Review URL: http://codereview.chromium.org/9288037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119335 0039d316-1c4b-4281-b951-d872f2087c98
* android build: progress on content and libjingle.jrg@chromium.org2012-01-2711-13/+41
| | | | | | | | | | BUG=None TEST= Review URL: http://codereview.chromium.org/9271028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119334 0039d316-1c4b-4281-b951-d872f2087c98
* aura: Create appropriate WebGestureEvents and send them to renderers.sadrul@chromium.org2012-01-277-7/+79
| | | | | | | | | BUG=110230 TEST=none Review URL: https://chromiumcodereview.appspot.com/9289018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119332 0039d316-1c4b-4281-b951-d872f2087c98
* Implement gpu test expectations parser.zmo@chromium.org2012-01-274-0/+746
| | | | | | | | | | | This is the second CL of enabling a finer way to mark gpu test expectations. It implements a parser that can read the test_expectations.txt file and then based on the current bot and the test name, decide what's the expected test behavior, i.e., pass/fail/etc. BUG=101216 TEST=content_unittests, GPUTestExpectationsParser.* R=kbr Review URL: https://chromiumcodereview.appspot.com/9271035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119330 0039d316-1c4b-4281-b951-d872f2087c98
* Convert use of int ms to TimeDelta in files owned by brettw.tedvessenes@gmail.com2012-01-278-22/+26
| | | | | | | | | | BUG=108171 TEST= Review URL: http://codereview.chromium.org/9233018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119321 0039d316-1c4b-4281-b951-d872f2087c98
* No need to have HostZoomMap know about "original" map, which is really just ↵jam@chromium.org2012-01-276-47/+40
| | | | | | | | | another way of saying parent profile. The only place where it was used, in RenderViewHost::OnDidZoomURL, would end up firing a notification that the OffTheRecordProfile was already watching. BUG=98716 Review URL: https://chromiumcodereview.appspot.com/9113073 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119318 0039d316-1c4b-4281-b951-d872f2087c98
* Get rid of DownloadIdFactory and instead get the next id from ↵jam@chromium.org2012-01-2740-247/+179
| | | | | | | | | DownloadManagerDelegate. I've also moved DownloadId to the public directory and into the content namespace. BUG=98716 Review URL: https://chromiumcodereview.appspot.com/9169036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119310 0039d316-1c4b-4281-b951-d872f2087c98
* Add ScopedAllowIO in CreateFileStreamForDrop.kinuko@chromium.org2012-01-271-1/+4
| | | | | | | | | | BUG=110709 TEST=See the repro step in the bug. Review URL: http://codereview.chromium.org/9176006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119309 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 119284 - Turn web intents build flag on. Move the command-line flag ↵gbillock@chromium.org2012-01-263-5/+5
| | | | | | | | | | | | | | | | | | | | | to default on. Make the flag disable rather than enable web intents. Put the options UI behind a new flag controlling functionality if the registration tag is present for web content. IN CASE OF FIRE, PULL THIS HANDLE! If web intents needs to be disabled, revert this change. R=jhawkins@chromium.org BUG=90458 TEST=None Review URL: https://chromiumcodereview.appspot.com/9212036 TBR=gbillock@chromium.org Review URL: https://chromiumcodereview.appspot.com/9113095 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119306 0039d316-1c4b-4281-b951-d872f2087c98
* Turn web intents build flag on. Move the command-line flag to default on.gbillock@chromium.org2012-01-263-5/+5
| | | | | | | | | | | | | | | | Make the flag disable rather than enable web intents. Put the options UI behind a new flag controlling functionality if the registration tag is present for web content. IN CASE OF FIRE, PULL THIS HANDLE! If web intents needs to be disabled, revert this change. R=jhawkins@chromium.org BUG=90458 TEST=None Review URL: https://chromiumcodereview.appspot.com/9212036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119284 0039d316-1c4b-4281-b951-d872f2087c98
* aura: Add event queues in the GestureRecognizer.sadrul@chromium.org2012-01-2612-35/+41
| | | | | | | | | | | | | | | | | Event-queues allow the GestureRecognizer to maintain multiple states for different gestures. Especially, this makes it possible to correctly process queued up (asynchronous) touch-events at the same time it processes synchronous touch-events. Throttling/filtering touch-events that go to the renderer is now removed. This may be added back at a later time. BUG=110230 TEST=none (will be added in a future CL: http://codereview.chromium.org/9129012/) Review URL: https://chromiumcodereview.appspot.com/9150046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119278 0039d316-1c4b-4281-b951-d872f2087c98
* Remove InnerCallback from DownloadQuery.benjhayden@chromium.org2012-01-261-26/+8
| | | | | | | | It was a hack to work around a bug in base::Bind that was fixed by http://src.chromium.org/viewvc/chrome?view=rev&revision=115045 Review URL: http://codereview.chromium.org/9190017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119272 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: refactor remote debugging server to enable content_shell debugging.pfeldman@chromium.org2012-01-268-51/+164
| | | | | | | | | | | BUG=97465 TEST= Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=119230 Review URL: https://chromiumcodereview.appspot.com/9113079 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119243 0039d316-1c4b-4281-b951-d872f2087c98
* Make AudioDevice::Stop synchronous again.tommi@chromium.org2012-01-262-11/+22
| | | | | | | | | | | | | | | | In my last cl I introduced a race whereby callback objects could have gone out of scope before the audio thread was taken down and therefore callbacks could dereference a bogus pointer. The tests are succeeding on the mac bots though (by chance?), so we have just seen this in local test runs. I suspect that we'll be getting some crashes from canary though. TEST=Run content unittests. BUG=111478,111342 Review URL: https://chromiumcodereview.appspot.com/9271069 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119242 0039d316-1c4b-4281-b951-d872f2087c98
* This reverts r119230 that broke few builders.pfeldman@chromium.org2012-01-267-155/+51
| | | | | | | | TBR=yurys Review URL: https://chromiumcodereview.appspot.com/9234061 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119231 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: refactor remote debugging server to enable content_shell debugging.pfeldman@chromium.org2012-01-267-51/+155
| | | | | | | | | BUG=97465 TEST= Review URL: https://chromiumcodereview.appspot.com/9113079 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119230 0039d316-1c4b-4281-b951-d872f2087c98