summaryrefslogtreecommitdiffstats
path: root/chrome/browser/renderer_host
Commit message (Collapse)AuthorAgeFilesLines
* Move RenderViewHostDelegate to content/public and content namespace.joi@chromium.org2012-01-183-7/+7
| | | | | | | | | | TBR=jam@chromium.org BUG=98716 Review URL: http://codereview.chromium.org/9252010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118162 0039d316-1c4b-4281-b951-d872f2087c98
* Hide BrowsingInstance from all but SiteInstance, as intended by design.joi@chromium.org2012-01-181-3/+2
| | | | | | | | | | | | | | See comment on BrowsingInstance class that explains it should only be visible to SiteInstance. By restoring this design, we also eliminate one Chrome->Content dependency. TBR=ben@chromium.org BUG=98716 Review URL: http://codereview.chromium.org/9221017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118090 0039d316-1c4b-4281-b951-d872f2087c98
* Fix plug-in selection logic when the default plug-in is disabled.bauerb@chromium.org2012-01-173-71/+274
| | | | | | | | | | BUG=none TEST=The default plug-in is not used when it's disabled. Review URL: http://codereview.chromium.org/9139058 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117902 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 117824 - Convert use of int ms to TimeDelta in files owned by brettw.hbono@chromium.org2012-01-161-3/+3
| | | | | | | | | | | | | | | | | | | | This change broke Linux and Mac bots. I would recommend to ask committers to run your next change on trybots. (*1) http://chromegw.corp.google.com/i/chromium/builders/Mac/builds/10788/steps/compile/logs/stdio (*2) http://chromegw.corp.google.com/i/chromium/builders/Linux/builds/19313/steps/compile/logs/stdio (*3) http://chromegw.corp.google.com/i/chromium/builders/Linux%20x64/builds/21385/steps/compile/logs/stdio R=brettw@chromium.org BUG=108171 TEST= Review URL: http://codereview.chromium.org/9185026 TBR=tedvessenes@gmail.com Review URL: http://codereview.chromium.org/9215005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117825 0039d316-1c4b-4281-b951-d872f2087c98
* Convert use of int ms to TimeDelta in files owned by brettw.tedvessenes@gmail.com2012-01-161-3/+3
| | | | | | | | | | | R=brettw@chromium.org BUG=108171 TEST= Review URL: http://codereview.chromium.org/9185026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117824 0039d316-1c4b-4281-b951-d872f2087c98
* Make OfflineLoadPage not refer directly to OfflineResourceHandler.darin@chromium.org2012-01-142-34/+37
| | | | | | | | | Use base::Callback to enable more flexibility in how the consumer of OfflineLoadPage manages memory. Review URL: http://codereview.chromium.org/9211006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117745 0039d316-1c4b-4281-b951-d872f2087c98
* Switch to using base::Callback for DisplayBlockingPage. It was already a bitdarin@chromium.org2012-01-132-11/+14
| | | | | | | | | | | | awkward that we were using the Client interface for two separate purposes. Also, using base::Callback will give more control over the lifetime of the callback subject. R=jam@chromium.org Review URL: http://codereview.chromium.org/9148075 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117700 0039d316-1c4b-4281-b951-d872f2087c98
* Substitute ResourceHandlers with dummy ResourceHandler while request is ↵battre@chromium.org2012-01-131-2/+1
| | | | | | | | | | | | | | | | | | | transferred This CL implements a new ResourceHandler that only allows cancelling its request. The idea is that in case a URLRequest is being transferred to a new renderer, we need to get rid of its old ResourceHandlers as these may have dependencies to the old renderer which is about to die. We replace the request's old ResourceHandler with a new TransferredResourceHandler until the request is resumed by the new renderer. BUG=107692 TEST=no Review URL: http://codereview.chromium.org/9113028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117658 0039d316-1c4b-4281-b951-d872f2087c98
* Move ResourceDispatcherHostLoginDelegate to content\public\browser where it ↵jam@chromium.org2012-01-112-18/+9
| | | | | | | | | | belongs. Make the Chrome delegate return NULL instead of an empty implementation, since that's equivalent. BUG=98716 TBR=joi Review URL: http://codereview.chromium.org/9158037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117179 0039d316-1c4b-4281-b951-d872f2087c98
* Don't use the default plug-in if it's disabled.bauerb@chromium.org2012-01-091-2/+4
| | | | | | | | | | | | This allows the missing plug-in placeholder to be used instead of the default plug-in when the latter is disabled. BUG=62079 TEST=Disable the default plug-in on Windows, go to http://www/~bauerb/no_crawl/test/missing_plugin.html. A missing plug-in placeholder should appear. Review URL: http://codereview.chromium.org/9149003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116861 0039d316-1c4b-4281-b951-d872f2087c98
* [Mac] Implement revised history navigation gesture UI for Lion.rsesek@chromium.org2012-01-041-9/+9
| | | | | | | | | | BUG=93185 TEST=On Lion, swipe with two fingers left and right. See new shield overlay. Review URL: http://codereview.chromium.org/9030015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116338 0039d316-1c4b-4281-b951-d872f2087c98
* Replace Browser::GetTabContentsAt with GetWebContentsAt and update all callers.jam@chromium.org2012-01-041-2/+4
| | | | | | | | BUG=98716 TBR=joi Review URL: http://codereview.chromium.org/9085006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116322 0039d316-1c4b-4281-b951-d872f2087c98
* Remove unused 'in_complete' parameter.darin@chromium.org2012-01-032-7/+5
| | | | | | | | R=jam@chromium.org Review URL: http://codereview.chromium.org/8947026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116124 0039d316-1c4b-4281-b951-d872f2087c98
* Replace the TabContents* accessors with WebContents* in InterstitialPage, ↵jam@chromium.org2012-01-021-4/+5
| | | | | | | | | | BackgroundContents and NativeTabContentsContainer and update the related code. BUG=98716 TBR=joi Review URL: http://codereview.chromium.org/9064002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116108 0039d316-1c4b-4281-b951-d872f2087c98
* Remove DeleteTask and convert remaining users.dcheng@chromium.org2012-01-021-1/+2
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/9015021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116107 0039d316-1c4b-4281-b951-d872f2087c98
* Move the PageNavigator interface and GlobalRequestID struct to ↵jam@chromium.org2011-12-282-1/+5
| | | | | | | | | | content\public and put them in the content namespace. Make PageNavigator use WebContents instead of TabContents. While I'm touching all the callers, I've removed the deprecated PageNavigator function and converted users to the new one. BUG=98716 TBR=joi Review URL: http://codereview.chromium.org/8991012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115858 0039d316-1c4b-4281-b951-d872f2087c98
* Simple change to simplify TransportSecurityState.palmer@chromium.org2011-12-271-2/+1
| | | | | | | | | | | | | | Remove two no-op (i.e. always true) boolean functions, each of which was only used once. Having a DomainState at all is equivalent to having a DomainState and ShouldCertificateErrorsBeFatal / ShouldMixedScriptingBeBlocked. The reason to simplify TransportSecurityState is that agl and I want to re-factor this class because it is getting too confusing. Doing some straightforward clean-up now will help accelerate the real re-factoring. Review URL: http://codereview.chromium.org/9019034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115839 0039d316-1c4b-4281-b951-d872f2087c98
* base::Bind: Convert NewRunnableMethod in chrome/browser.jhawkins@chromium.org2011-12-241-8/+6
| | | | | | | | | | BUG=none TEST=none R=groby Review URL: http://codereview.chromium.org/8960010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115749 0039d316-1c4b-4281-b951-d872f2087c98
* Lion: Make history swipes easier to cancel.thakis@chromium.org2011-12-231-2/+15
| | | | | | | | | | | | | Patch from jamesrtclarke@gmail.com! BUG=104013 TEST=start a right-left swipe, and then quickly swipe back to the left. No navigation should happen. Review URL: http://codereview.chromium.org/8960005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115742 0039d316-1c4b-4281-b951-d872f2087c98
* Always send a reply to nacl launch requests.brettw@chromium.org2011-12-211-1/+6
| | | | | | | | | | | Previously there were many return paths where the reply message would not get sent, which would indefinitely hang the renderer. I also found a leak where if the FILE thread is gone when we try to make the IRT available, the object will be leaked (the the reply message would not be sent either). I tried to find all of the failure cases and ensure the reply message is sent. BUG= TEST= Review URL: http://codereview.chromium.org/8994010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115413 0039d316-1c4b-4281-b951-d872f2087c98
* Create an API around PluginService and use it from Chrome.jam@chromium.org2011-12-211-2/+5
| | | | | | | BUG=98716 Review URL: http://codereview.chromium.org/9006036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115259 0039d316-1c4b-4281-b951-d872f2087c98
* Move BrowserMessageFilter to public, and into content namespace.joi@chromium.org2011-12-162-8/+8
| | | | | | | | | | TBR=abodenha@chromium.org for chrome/browser/printing/OWNERS BUG=98716 Review URL: http://codereview.chromium.org/8912009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@114758 0039d316-1c4b-4281-b951-d872f2087c98
* Move CrossesExtensionExtents logic into a shared location.mpcomplete@chromium.org2011-12-141-38/+4
| | | | | | | | | | BUG=79520 TEST=no Review URL: http://codereview.chromium.org/8923017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@114437 0039d316-1c4b-4281-b951-d872f2087c98
* Move/replace/rename URL-based extension getters from ExtensionService to/in ↵yoz@chromium.org2011-12-132-2/+3
| | | | | | | | | | | | | | | | ExtensionSet. ExtensionService::GetExtensionByURL -> GetByID with the host ExtensionService::GetExtensionByWebExtent -> GetHostedAppByURL GetByURL -> GetExtensionOrAppByURL BUG=104091 TEST=existing tests Review URL: http://codereview.chromium.org/8827013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@114148 0039d316-1c4b-4281-b951-d872f2087c98
* Remove Hunspell on OS X - step 2jeremy@chromium.org2011-12-121-5/+5
| | | | | | | | | | | | | | | * Remove empty Linux & Win implementations of the class. * Rename files and unit test to be Mac only. * Rename namespace SpellCheckerPlatform -> SpellCheckerMac * Surround usage in crossplatform files with #ifdef OS_MACOSX as a temporary measure (a future step will be to remove the calls entirely from these files). BUG=69944 TEST=Spelling correction feature should continue to work as expected on Mac/Win/Linux . Review URL: http://codereview.chromium.org/8890022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113974 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 113794 - Revert 113785 - Enable TransferNavigationResourceHandlerbattre@chromium.org2011-12-091-4/+0
| | | | | | | | | | | Revert the revert. It did not fix the tree. BUG=79520 TEST=no TBR=battre@chromium.org Review URL: http://codereview.chromium.org/8897001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113806 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 113785 - Enable TransferNavigationResourceHandlerbattre@chromium.org2011-12-091-0/+4
| | | | | | | | | | | | | | | | | Revert for potential cause of ExtensionApiTest.ProcessesVsTaskManager failure. This enables a fix for bug 79520 that was previously committed but not enabled http://src.chromium.org/viewvc/chrome?view=rev&revision=112847. BUG=79520 TEST=no TBR=jam@chromium.org Review URL: http://codereview.chromium.org/8889007 TBR=battre@chromium.org Review URL: http://codereview.chromium.org/8879051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113794 0039d316-1c4b-4281-b951-d872f2087c98
* Enable TransferNavigationResourceHandlerbattre@chromium.org2011-12-091-4/+0
| | | | | | | | | | | | This enables a fix for bug 79520 that was previously committed but not enabled http://src.chromium.org/viewvc/chrome?view=rev&revision=112847. BUG=79520 TEST=no TBR=jam@chromium.org Review URL: http://codereview.chromium.org/8889007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113785 0039d316-1c4b-4281-b951-d872f2087c98
* Add support for content::Referrer to prerenderjochen@chromium.org2011-12-062-3/+3
| | | | | | | | | | BUG=105028 TEST=none Review URL: http://codereview.chromium.org/8801012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113070 0039d316-1c4b-4281-b951-d872f2087c98
* Make the transfer request code path use full referrersjochen@chromium.org2011-12-051-5/+7
| | | | | | | | | | BUG=105028 TEST=none Review URL: http://codereview.chromium.org/8801006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113038 0039d316-1c4b-4281-b951-d872f2087c98
* Replace the GURL referrer field of OpenURLParams with a content::Referrerjochen@chromium.org2011-12-051-2/+4
| | | | | | | | | | BUG=105028 TEST=none (no functional change) TBR=zea@chromium.org Review URL: http://codereview.chromium.org/8784006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112978 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a bug where redirect chain gets lost on process swap.mpcomplete@chromium.org2011-12-036-2/+264
| | | | | | | | | BUG=79520 TEST= Review URL: http://codereview.chromium.org/8669014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112847 0039d316-1c4b-4281-b951-d872f2087c98
* Update includes to new header locations.abarth@chromium.org2011-12-031-1/+1
| | | | | | | TBR=darin Review URL: http://codereview.chromium.org/8784004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112826 0039d316-1c4b-4281-b951-d872f2087c98
* Collect profiler stats from all browser child processes.rtenneti@chromium.org2011-12-012-21/+0
| | | | | | | | | | | R=jar Bug=104770 TEST=about:profiler after lauching a plug-in or GPU should show tracking data for plugin-gpu processes Review URL: http://codereview.chromium.org/8588023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112571 0039d316-1c4b-4281-b951-d872f2087c98
* Restrict access to permissions based on extension types.jstritar@chromium.org2011-12-011-0/+1
| | | | | | | | | BUG=101992 TEST=existing Review URL: http://codereview.chromium.org/8598022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112548 0039d316-1c4b-4281-b951-d872f2087c98
* Move the ProcessType enum out to its own file. This is in preparation for ↵jam@chromium.org2011-12-011-2/+2
| | | | | | | | | getting rid of ChildProcessInfo. BUG=98716 Review URL: http://codereview.chromium.org/8760011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112353 0039d316-1c4b-4281-b951-d872f2087c98
* base::Bind: Implement a 1-arity CancelableCallback and use this to implementjhawkins@chromium.org2011-11-302-34/+35
| | | | | | | | | | | | | net::CancelableCompletionClosure. BUG=none TEST=none R=ajwong@chromium.org Review URL: http://codereview.chromium.org/8662047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112279 0039d316-1c4b-4281-b951-d872f2087c98
* Move some TOUCH_UI => USE_VIRTUAL_KEYBOARD.bryeung@chromium.org2011-11-291-4/+4
| | | | | | | | | | BUG=105046 TEST=ran test Review URL: http://codereview.chromium.org/8646001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112040 0039d316-1c4b-4281-b951-d872f2087c98
* net: make interstitials fatal for pinned sitesagl@chromium.org2011-11-291-4/+3
| | | | | | | | | | BUG=105582 TEST=net_unittests Review URL: http://codereview.chromium.org/8727003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112003 0039d316-1c4b-4281-b951-d872f2087c98
* Move RenderViewHostObserver to content/public/browser/ and put it into the ↵tfarina@chromium.org2011-11-253-8/+8
| | | | | | | | | | | content namespace. BUG=98716 R=jam@chromium.org Review URL: http://codereview.chromium.org/8676032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111604 0039d316-1c4b-4281-b951-d872f2087c98
* Move ResourceResponse struct into the Content API, since it's used in ↵jam@chromium.org2011-11-246-19/+21
| | | | | | | | | Chrome. While at it, I also made the ResourceResponse wrapper just derive from ResourceResponseHead, so that the parameters are accessed directly, instead of having to go through a member variable. BUG=98716 Review URL: http://codereview.chromium.org/8680036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111471 0039d316-1c4b-4281-b951-d872f2087c98
* Don't use the DOMStorageType for a chrome IPC, so that we can get rid of ↵jam@chromium.org2011-11-232-4/+3
| | | | | | | | | that content include from chrome. We change a bool to it, only to change it back to a bool, so no need for it. BUG=98716 Review URL: http://codereview.chromium.org/8667004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111363 0039d316-1c4b-4281-b951-d872f2087c98
* Make RenderViewHostObserver interface not use a struct from view_messages.hjam@chromium.org2011-11-222-5/+2
| | | | | | | BUG=98716 Review URL: http://codereview.chromium.org/8636023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111236 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: remove obsolete methods from DevToolsClientHostyurys@chromium.org2011-11-221-3/+3
| | | | | | | | | BUG=104625 TEST=Existing tests Review URL: http://codereview.chromium.org/8636011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111139 0039d316-1c4b-4281-b951-d872f2087c98
* Add OVERRIDE to chrome/browser/.avi@chromium.org2011-11-211-3/+4
| | | | | | | | | BUG=104314 TEST=no change Review URL: http://codereview.chromium.org/8614003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110940 0039d316-1c4b-4281-b951-d872f2087c98
* Packaged apps can be granted file:/// access too.mihaip@chromium.org2011-11-201-5/+4
| | | | | | | | | | BUG=104547 R=aa@chromium.org Review URL: http://codereview.chromium.org/8470004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110866 0039d316-1c4b-4281-b951-d872f2087c98
* Now that we are doing a hard-cut-over to Aura, remove a bunch of *Views ↵ben@chromium.org2011-11-194-1689/+0
| | | | | | | | | | | | | | | | | based classes that are obsoleted by Aura. Also remove a bunch of Wayland stuff, since any future Wayland integration is likely done as an implementation detail of Aura, not Views. Specifically: - views-desktop (classes and NativeWidgetView[s]) - NativeWidgetViews subclasses in Chrome (Constrained Windows, NTCVV, NTCCV, BrowserFrameViews et al). - RWHVV, NWKEV - NativeViewHostViews BUG=none TEST=none Review URL: http://codereview.chromium.org/8598024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110832 0039d316-1c4b-4281-b951-d872f2087c98
* views: Delete bubble, events, focus, layout directories and its stubbed files.tfarina@chromium.org2011-11-182-2/+2
| | | | | | | | | BUG=104039 R=ben@chromium.org Review URL: http://codereview.chromium.org/8566052 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110787 0039d316-1c4b-4281-b951-d872f2087c98
* Don't use process isolation for bookmark apps.creis@chromium.org2011-11-181-3/+3
| | | | | | | | | | BUG=104636 TEST=No process swap on a link to/from a bookmark app. Review URL: http://codereview.chromium.org/8585016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110772 0039d316-1c4b-4281-b951-d872f2087c98
* Get rid of gpu_messages.h include in chrome by having the ↵jam@chromium.org2011-11-181-15/+5
| | | | | | | | RenderWidgetHostView implementation ask the RenderWidgetHost to ack for the swap buffers GPU message. Review URL: http://codereview.chromium.org/8595002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110752 0039d316-1c4b-4281-b951-d872f2087c98