summaryrefslogtreecommitdiffstats
path: root/content
Commit message (Collapse)AuthorAgeFilesLines
* Make RenderView inherit from content::RenderView, and add missing functions ↵jam@chromium.org2011-10-1021-156/+311
| | | | | | | | | to the interface. In a future change I'll rename RenderView to RenderViewImpl. BUG=98716 Review URL: http://codereview.chromium.org/8201029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104727 0039d316-1c4b-4281-b951-d872f2087c98
* Fix gps.h license issue, by deleting itjoth@chromium.org2011-10-106-116/+22
| | | | | | | | | | | BUG=98132,99326 TEST=used gpsfake (from lucid package 2.92) and opened maps.google.com/maps/m Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=104481 Review URL: http://codereview.chromium.org/8171006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104716 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: allow attaching/detaching DevToolsAgentHostsyurys@chromium.org2011-10-102-1/+14
| | | | | | | | | | | | Now DevToolsManager only allows attaching/detaching RenderViewHosts. This API should be extended to allow same functionality for arbitrary DevToolsAgentHost. BUG=None TEST=None Review URL: http://codereview.chromium.org/8222003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104713 0039d316-1c4b-4281-b951-d872f2087c98
* Return a specific error code for unknown URL schemes.mkosiba@chromium.org2011-10-102-1/+35
| | | | | | | | | | The ERR_ABORTED error code is very general and for this particular case we already have a corresponding net:: error case. Review URL: http://codereview.chromium.org/8117003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104712 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: persist worker devtools agent state in DevToolsManageryurys@chromium.org2011-10-108-1/+61
| | | | | | | | | BUG=None TEST=None Review URL: http://codereview.chromium.org/8199005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104695 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the bug that closing a tab which owns a fullscreen Flash widget causes ↵yzshen@chromium.org2011-10-102-12/+25
| | | | | | | | | | | | | | | | | crash. BUG=NONE TEST=1. goes to http://www.vimeo.com/hd 2. play any video and enter fullscreen mode. 3. right click to open Flash context menu. 4. choose Global Settings..., which causes the browser window to be brought to the foreground. 5. close the tab of http://www.vimeo.com/hd 6. the settings page should not crash. Review URL: http://codereview.chromium.org/8198013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104693 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the issue that PPB_CursorControl_Dev.SetCursor doesn't take effect until ↵yzshen@chromium.org2011-10-093-7/+47
| | | | | | | | | | | | | | the next input event. BUG=94981 TEST= 1) run manual test in ppapi/example; 2) click on the plugin; 3) the cursor should change to a rectangle and keep changing its dimensions, even if you don't move/click the mouse. Review URL: http://codereview.chromium.org/8196003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104686 0039d316-1c4b-4281-b951-d872f2087c98
* A second attempt at renderer sandbox tests for macofri@chromium.org2011-10-093-3/+50
| | | | | | | | | | BUG=NONE TEST=NONE Review URL: http://codereview.chromium.org/8114002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104678 0039d316-1c4b-4281-b951-d872f2087c98
* Introduce net::HttpServerPropertiesManager to manage server-specific properties.rtenneti@chromium.org2011-10-091-1/+2
| | | | | | | | | | | | | | Currently the only property we manage is whether or not a server supports SPDY, as indicated by NPN. Also introduce a chrome/ implementation of HttpServerPropertiesManager that persists the information to Prefererences. When we get a SpdySession for a SPDY server, record that that server supports SPDY in HttpServerPropertiesManager. When preconnecting, if we know that the server supports SPDY, only preconnect 1 socket. R=willchan BUG=66472 TEST=browser ui and unit tests,network unit tests Review URL: http://codereview.chromium.org/7827033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104666 0039d316-1c4b-4281-b951-d872f2087c98
* Add --enable-video-track commandline flag for enabling <track> (otherwise ↵annacc@chromium.org2011-10-084-0/+9
| | | | | | | | | | | | disabled by default). BUG=none. TEST=none. Review URL: http://codereview.chromium.org/8156002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104659 0039d316-1c4b-4281-b951-d872f2087c98
* Fixing misleading name in a speech input setting and related variables.leandrogracia@chromium.org2011-10-087-13/+13
| | | | | | | | | | | This patch replaces all occurrences of 'censor results' with 'filter profanities', which is a much accurate description of what it does and avoids unfortunate confusions. BUG=79991 TEST=none Review URL: http://codereview.chromium.org/8199010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104653 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 104632 - enable component build for content and appcache.rsleevi@chromium.org2011-10-082-6/+3
| | | | | | | | | | | | | | | | | | | R=jam@chromium.org BUG=90442 TEST= Review URL: http://codereview.chromium.org/7888053 TBR=dpranke@chromium.org Review URL: http://codereview.chromium.org/8200023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104645 0039d316-1c4b-4281-b951-d872f2087c98
* Register route with compositor thread whenever compositor is activated if ↵jamesr@chromium.org2011-10-082-1/+13
| | | | | | | | | | | threaded compositing is on BUG=none TEST=none Review URL: http://codereview.chromium.org/8188001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104635 0039d316-1c4b-4281-b951-d872f2087c98
* enable component build for content and appcache.dpranke@chromium.org2011-10-082-3/+6
| | | | | | | | | | R=jam@chromium.org BUG=90442 TEST= Review URL: http://codereview.chromium.org/7888053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104632 0039d316-1c4b-4281-b951-d872f2087c98
* Simplify embedder API around showing custom error pages so that the embedder ↵jam@chromium.org2011-10-087-18/+29
| | | | | | | | | doesn't have to call content back in its callback. This removes one method from RenderView that we need to expose in its API. BUG=98716 Review URL: http://codereview.chromium.org/8198021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104625 0039d316-1c4b-4281-b951-d872f2087c98
* Add a content::RenderView API. I'll make RenderView use it in a future ↵jam@chromium.org2011-10-084-57/+114
| | | | | | | | | change. To make chrome not know about PepperPluginDelegateImpl and to remove a duplicated block of code, I've modified the plugin creation code a little in content. This also makes WebPlugin creation simpler since it doesn't get the mime type in two ways and has to know to ignore the one in the struct. BUG=98716 Review URL: http://codereview.chromium.org/8200019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104624 0039d316-1c4b-4281-b951-d872f2087c98
* Add command line switch for enabling threaded compositingjamesr@chromium.org2011-10-086-2/+10
| | | | | | | | | | | This is a patch against the patch in http://codereview.chromium.org/8139020/ BUG=none TEST=none Review URL: http://codereview.chromium.org/8163008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104623 0039d316-1c4b-4281-b951-d872f2087c98
* Add stats counter to keep track of the number of sessions wheredmazzoni@chromium.org2011-10-071-1/+2
| | | | | | | | | | | accessibility is enabled. BUG=99504 TEST=none Review URL: http://codereview.chromium.org/8205009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104599 0039d316-1c4b-4281-b951-d872f2087c98
* remove NewRunnableMethod and switch to base::Bindwjia@chromium.org2011-10-0713-140/+124
| | | | | | | | | | for content/browser/renderer_host/media/ BUG=none TEST=trybots Review URL: http://codereview.chromium.org/8184006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104598 0039d316-1c4b-4281-b951-d872f2087c98
* Yet more exports needed from content.dpranke@chromium.org2011-10-073-3/+6
| | | | | | | | | | R=jam@chromium.org BUG=90442 TEST= Review URL: http://codereview.chromium.org/8205012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104595 0039d316-1c4b-4281-b951-d872f2087c98
* Remove redundant file.backer@chromium.org2011-10-071-106/+0
| | | | | | | | | | | | File isn't referenced anymore. Forgot to delete. BUG=none TEST=none Review URL: http://codereview.chromium.org/8205003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104589 0039d316-1c4b-4281-b951-d872f2087c98
* Move HostAllocateSharedMemoryBuffer to content::RenderThread now that we ↵jam@chromium.org2011-10-075-13/+15
| | | | | | | | | have an interface. BUG=98716 Review URL: http://codereview.chromium.org/8199018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104585 0039d316-1c4b-4281-b951-d872f2087c98
* Convert a bunch of pepper implementation to use base::Callback.dmichael@chromium.org2011-10-0712-92/+92
| | | | | | | | | BUG=35223 TEST=ppapi ui_tests Review URL: http://codereview.chromium.org/8135010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104572 0039d316-1c4b-4281-b951-d872f2087c98
* Fix UI quirks when doing a history navigation to a slow page.creis@chromium.org2011-10-072-0/+41
| | | | | | | | | | | | | | | | | | | This fixes two related issues: 1) The forward button is not immediately disabled when going forward to a slow page, even though the user cannot go forward any more. 2) When cancelling a history navigation to a slow page by performing another history navigation, the throbber remains stuck indicating a load in progress. Also included are tests for each of these issues. Patch from Karl Koscher <supersat@chromium.org> BUG=94747 TEST=Go forward to slow URL, then back. Review URL: http://codereview.chromium.org/8136024 Patch from Karl Koscher <supersat@chromium.org>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104571 0039d316-1c4b-4281-b951-d872f2087c98
* base::Bind: Cleanups in geolocation/.jhawkins@chromium.org2011-10-074-7/+10
| | | | | | | | | | | BUG=none TEST=none R=csilv@chromium.org Review URL: http://codereview.chromium.org/8199012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104563 0039d316-1c4b-4281-b951-d872f2087c98
* Move CreateViewForWidget from RenderWidgetHostView to ContentBrowserClient.dpranke@chromium.org2011-10-0710-28/+58
| | | | | | | | | | R=jam@chromium.org BUG=90442 TEST=things stay green Review URL: http://codereview.chromium.org/8139017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104546 0039d316-1c4b-4281-b951-d872f2087c98
* Turning the threaded compositor into a runtime option. This CLvangelis@chromium.org2011-10-075-35/+27
| | | | | | | | | | must land after https://bugs.webkit.org/show_bug.cgi?id=69391 BUG=none TEST=Covered by existing compositor tests Review URL: http://codereview.chromium.org/8139020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104542 0039d316-1c4b-4281-b951-d872f2087c98
* Fix hangs & crashes in teardown-during-Seek.fischman@chromium.org2011-10-071-10/+20
| | | | | | | | | | | | | | | | | | | | | | | | Hangs: - AudioRendererImpl: Don't hold lock_ in the call to Join() b/c OnStop wants to acquire the lock before exiting. - FFmpegDemuxerStream::Stop: signal EOS to waiting read callbacks (instead of silently dropping them on the floor) so decoders can exit instead of stalling (and causing renderers to stall). Crashes: - CompositeFilter::Stop: clear out the Seek callback when Stopping. - FFmpegVideoDecoder::ProduceVideoFrame: early-return if already stopped (racing with webkit repaints makes this necessary). Also fixed a bunch of mis-indentation where I saw it. BUG=98975,98948,98955,96861 TEST=trybots, manual Review URL: http://codereview.chromium.org/8184003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104540 0039d316-1c4b-4281-b951-d872f2087c98
* Changes for cross domain prerenders to not cancel when there is a ↵shishir@chromium.org2011-10-078-15/+23
| | | | | | | | | | | | | | | | | | | | | | | window.opener set. This change will only cancel prerenders with window.opener set where the prerender is in the same domain as the page doing the prerendering. The window.opener case can be broken down into two cases: 1. When the page embedding the "link rel=prerender" does not have an opener set, but the opener is set only for the prerendered page. 2. The embedder page itself has the opener set and the prerendered page inherits it. This CL fixes both cases. BUG=85042 TEST=PrerenderBrowserTest Review URL: http://codereview.chromium.org/7906017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104538 0039d316-1c4b-4281-b951-d872f2087c98
* Move json_value_serializer from content/common to base.dpranke@chromium.org2011-10-074-240/+1
| | | | | | | | | | R=darin@chromium.org BUG=92044 TEST= Review URL: http://codereview.chromium.org/8165009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104527 0039d316-1c4b-4281-b951-d872f2087c98
* Move RenderViewFakeResourcesTest to content\test. This is because we don't ↵jam@chromium.org2011-10-073-0/+348
| | | | | | | | | want any Chrome code from including RenderThreadImpl. BUG=98716 Review URL: http://codereview.chromium.org/8183007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104518 0039d316-1c4b-4281-b951-d872f2087c98
* Initialize glib for all linux because all linux variants uses glib.oshima@chromium.org2011-10-071-6/+7
| | | | | | | | | | | | | aura chrome fails on ubuntu 11.04 without this remove base::MessagePumpX::DisableGtkMessagePump() from aura as we nolonger has gtk on aura. BUG=97131 TEST=none Review URL: http://codereview.chromium.org/8195003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104508 0039d316-1c4b-4281-b951-d872f2087c98
* When "Clear site data on exit" is checked, only pass the private mode flag ↵bauerb@chromium.org2011-10-071-4/+13
| | | | | | | | | | | | to Flash. BUG=97319 TEST=see bug Review URL: http://codereview.chromium.org/8175005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104507 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup usage of RenderThread for code that runs under tests. Before ↵jam@chromium.org2011-10-079-69/+35
| | | | | | | | | RenderThread::current() couldn't be used since it didn't exist in tests. The new API version, content::RenderThread::Get() works in tests, so this code isn't necessary anymore. BUG=98375 Review URL: http://codereview.chromium.org/8194001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104505 0039d316-1c4b-4281-b951-d872f2087c98
* Move kExtensionScheme from content to chromejochen@chromium.org2011-10-074-18/+63
| | | | | | | | | BUG=89642 TEST=everything still works Review URL: http://codereview.chromium.org/8159006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104492 0039d316-1c4b-4281-b951-d872f2087c98
* ALSA should support 10ms playout buffer size now.xians@chromium.org2011-10-071-3/+3
| | | | | | Review URL: http://codereview.chromium.org/8183018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104489 0039d316-1c4b-4281-b951-d872f2087c98
* Remove Prerender from ResourceContext and ProfileIOData.cbentzel@chromium.org2011-10-072-33/+0
| | | | | | | | | BUG=95222 Review URL: http://codereview.chromium.org/8175011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104487 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 104481 - Fix gps.h license issue, by deleting itjoth@chromium.org2011-10-075-19/+108
| | | | | | | | | | | | BUG=98132,99326 TEST=used gpsfake (from lucid package 2.92) and opened maps.google.com/maps/m Review URL: http://codereview.chromium.org/8171006 TBR=joth@chromium.org Review URL: http://codereview.chromium.org/8199006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104482 0039d316-1c4b-4281-b951-d872f2087c98
* Fix gps.h license issue, by deleting itjoth@chromium.org2011-10-075-108/+19
| | | | | | | | | BUG=98132,99326 TEST=used gpsfake (from lucid package 2.92) and opened maps.google.com/maps/m Review URL: http://codereview.chromium.org/8171006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104481 0039d316-1c4b-4281-b951-d872f2087c98
* Applying changes to the existing speech input code to support the extension API.leandrogracia@chromium.org2011-10-0717-131/+227
| | | | | | | | | | | This includes extended error management by handling the status response code and the DidStartReceivingSpeech/DidStopReceivingSpeech events. BUG=97388 TEST=none Review URL: http://codereview.chromium.org/8137005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104471 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: preserve saved agent runtime state after first navigationyurys@chromium.org2011-10-071-1/+3
| | | | | | | | | BUG=None TEST=None Review URL: http://codereview.chromium.org/8199001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104470 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: remove support for out-of-process dedicated workersyurys@chromium.org2011-10-0720-339/+126
| | | | | | | | | | | | | Now that Chromium uses in-process dedicated workers it makes sense to drop support for out-of-process dedicated workers from DevTools code . BUG=None TEST=None Review URL: http://codereview.chromium.org/8171010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104447 0039d316-1c4b-4281-b951-d872f2087c98
* remove NewRunnableMethod and switch to base::Bindwjia@chromium.org2011-10-0714-123/+122
| | | | | | | | | BUG=none TEST=trybots Review URL: http://codereview.chromium.org/8175013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104433 0039d316-1c4b-4281-b951-d872f2087c98
* Check result of InProcessBrowserTest.Emptyphajdan.jr@chromium.org2011-10-071-4/+5
| | | | | | | | | | | | Currently that's the only test in content_browsertests, so it's even more important to make sure it passes. BUG=none Review URL: http://codereview.chromium.org/8179002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104420 0039d316-1c4b-4281-b951-d872f2087c98
* Fix non-win exports, exports of v8_value_converter.dpranke@chromium.org2011-10-073-7/+8
| | | | | | | | | | R=jam@chromium.org BUG=90442 TEST=existing stuff stays green Review URL: http://codereview.chromium.org/8135018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104402 0039d316-1c4b-4281-b951-d872f2087c98
* Rename RenderThread to RenderThreadImpljam@chromium.org2011-10-0643-307/+299
| | | | | | | | BUG=98716 TBR=ananta Review URL: http://codereview.chromium.org/8171015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104386 0039d316-1c4b-4281-b951-d872f2087c98
* Get Chrome to build & link with USE_AURA on Windows again.BUG=noneTEST=noneben@chromium.org2011-10-065-6/+8
| | | | | | Review URL: http://codereview.chromium.org/8174005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104382 0039d316-1c4b-4281-b951-d872f2087c98
* Initial changes for Mac content shell.avi@chromium.org2011-10-065-27/+202
| | | | | | | | | | | BUG=90445 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=104359 Review URL: http://codereview.chromium.org/8171012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104379 0039d316-1c4b-4281-b951-d872f2087c98
* Context-based HTML paste plumbingdcheng@chromium.org2011-10-064-7/+14
| | | | | | | | | | | This patch creates the necessary plumbing to pass the fragment + context into WebKit when pasting HTML. This allows things like <td></td> to be properly reconstructed inside WebKit. BUG=19360 TEST=WebKit layout tests Review URL: http://codereview.chromium.org/7600014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104378 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 104359 - Initial changes for Mac content shell.avi@chromium.org2011-10-064-210/+26
| | | | | | | | | | | | BUG=90445 TEST=none Review URL: http://codereview.chromium.org/8171012 TBR=avi@chromium.org Review URL: http://codereview.chromium.org/8174013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104363 0039d316-1c4b-4281-b951-d872f2087c98