summaryrefslogtreecommitdiffstats
path: root/content
Commit message (Collapse)AuthorAgeFilesLines
* Delete "moved" files from r119577.fischman@chromium.org2012-01-308-724/+0
| | | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/9301009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119749 0039d316-1c4b-4281-b951-d872f2087c98
* Update a few more function calls to use TimeDeltas instead of int ms.tedvessenes@gmail.com2012-01-303-18/+17
| | | | | | | | | | | | | | I found a few more spots that need to have their time structuring updated. Can you review? Thanks much. R=apatrick@chromium.org BUG=108171 TEST= Review URL: http://codereview.chromium.org/9264040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119748 0039d316-1c4b-4281-b951-d872f2087c98
* Remove code that I missed in r119703.jam@chromium.org2012-01-301-4/+0
| | | | | | Review URL: https://chromiumcodereview.appspot.com/9104017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119741 0039d316-1c4b-4281-b951-d872f2087c98
* Workaround for failing Aura browser tests.backer@chromium.org2012-01-301-1/+8
| | | | | | | | | | | | With r119520, many browser_tests started failing on GYP_DEFINES="use_aura=1 chromeos=1" builds. This works around the problem (cause still unknown). BUG=111929 TEST=Linux ChromeOS Aura bot goes green TBR=jamesr Review URL: https://chromiumcodereview.appspot.com/9264048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119733 0039d316-1c4b-4281-b951-d872f2087c98
* Move js_modal_dialogs.h to content\public\browser.jam@chromium.org2012-01-304-7/+5
| | | | | | | | BUG=98716 TBR=joi Review URL: https://chromiumcodereview.appspot.com/9159038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119722 0039d316-1c4b-4281-b951-d872f2087c98
* Simplifying JS dialog interfaces.jam@chromium.org2012-01-305-107/+40
| | | | | | | | | | | | | -got rid of JavaScriptDialogDelegate since the embedder really only needs to know one callback to give the results to content -for telling it that the dialog is shown, it seemed that chrome's decision to activate the tab would be in chrome -used WebContents as the token for resetting dialogs if their tab went away -used currying to hide the implementation detail of reply_msg from the embedder -made content handle NULL JS dialog creator interface instead of having a stub one in the public directory BUG=098716 Review URL: https://chromiumcodereview.appspot.com/9159033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119703 0039d316-1c4b-4281-b951-d872f2087c98
* Create Content API around HostZoomMap.jam@chromium.org2012-01-3016-79/+134
| | | | | | | BUG=98716 Review URL: https://chromiumcodereview.appspot.com/9296041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119684 0039d316-1c4b-4281-b951-d872f2087c98
* Move the DownloadManager and DownloadFile unittests to content so they can ↵jam@chromium.org2012-01-3014-216/+1751
| | | | | | | | | | | | | | | live beside the code they're testing. -moved some of the logic about renaming intermediate files into content as the tests depended on them -made the DownloadManagerDelegate interface have empty default implementations. Darin convinced me that it's better to have delegate interfaces in the API have emptry interfaces, for tests and to make life easier for embedders. -removed the DownloadItemModel checks; these really were duplicating the DownloadItem::GetState call -removed the MockDownloadManagerDelegate class since it wasn't being used anymore -removed DownloadManagerDelegate::OnResponseCompleted since it wasn't called anymore BUG=98716 Review URL: https://chromiumcodereview.appspot.com/9224006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119683 0039d316-1c4b-4281-b951-d872f2087c98
* Add default title for untitled tabs to shell devtools discovery pagejochen@chromium.org2012-01-301-1/+4
| | | | | | | | | | BUG=97465 TEST=try to remote debug a page without a title Review URL: http://codereview.chromium.org/9232077 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119670 0039d316-1c4b-4281-b951-d872f2087c98
* Ensuring we crash directly if creating native PeerConnection object fails.grunell@chromium.org2012-01-301-0/+1
| | | | | | | | | BUG=111841 TEST=content_unittests Review URL: https://chromiumcodereview.appspot.com/9298055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119662 0039d316-1c4b-4281-b951-d872f2087c98
* Add enable-shadow-dom command line flag.hayato@chromium.org2012-01-304-0/+8
| | | | | | | | | | BUG=111112 TEST=Run chrome with '--enable-shadow-dom' and enter 'new WebKitShadowRoot(document.createElement('div'))' in Console. Review URL: http://codereview.chromium.org/9285014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119652 0039d316-1c4b-4281-b951-d872f2087c98
* 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