summaryrefslogtreecommitdiffstats
path: root/content/browser
Commit message (Collapse)AuthorAgeFilesLines
* Use new getFontFamilyForCharacters() API.bashi@chromium.org2011-11-211-5/+9
| | | | | | | | | | | | | | | | | | Uses new getFontFamilyForCharacters() WebKit Chromium API so that Chromium can pass bold and italic property. This will fix issue 32109. No behavior change at this time. The CL will work after the fix of WebKit side is completed. The WebKit bug entry is https://bugs.webkit.org/show_bug.cgi?id=38701. BUG=32109 TEST=compiled. Review URL: http://codereview.chromium.org/8590028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110871 0039d316-1c4b-4281-b951-d872f2087c98
* Enforce that most content messages files can't be included by chrome.jam@chromium.org2011-11-191-0/+370
| | | | | | | BUG=98716 Review URL: http://codereview.chromium.org/8470006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110846 0039d316-1c4b-4281-b951-d872f2087c98
* Mark two tests as fails, to unblock the commit queue.thakis@chromium.org2011-11-191-2/+16
| | | | | | | | | | BUG=104872 TEST=none TBR=shess Review URL: http://codereview.chromium.org/8500011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110843 0039d316-1c4b-4281-b951-d872f2087c98
* Add OVERRIDE to content/.avi@chromium.org2011-11-191-5/+5
| | | | | | | | | BUG=104314 TEST=no change Review URL: http://codereview.chromium.org/8548020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110807 0039d316-1c4b-4281-b951-d872f2087c98
* Get rid of last gpu_messages.h dependency in chrome by having chrome ask the ↵jam@chromium.org2011-11-192-2/+18
| | | | | | | | | GPUProcessHostUIShim to hang/crash/clean the gpu process. BUG=98716 Review URL: http://codereview.chromium.org/8548014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110802 0039d316-1c4b-4281-b951-d872f2087c98
* Remove --enable-video-logging and WebVideoRenderer.scherkus@chromium.org2011-11-181-1/+0
| | | | | | | | | | | | WebVideoRenderer was added in r40137 as part of my IPC-based video rendering experiment. I later added --enable-video-logging in r43038 which was intended to log timestamps and do logs analysis to determine playback smoothness. This again was experimental and never used. Also removed WebMediaPlayerProxy::SetRect() and VideoRendererImpl::SetRect() as they were not implemented. Review URL: http://codereview.chromium.org/8601004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110786 0039d316-1c4b-4281-b951-d872f2087c98
* Close video capture devices on the device thread.mflodman@chromium.org2011-11-182-8/+24
| | | | | | Review URL: http://codereview.chromium.org/8589018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110780 0039d316-1c4b-4281-b951-d872f2087c98
* Enable |ValidateAndConvertPepperFilePath()| for domain-absolute paths ↵viettrungluu@chromium.org2011-11-181-6/+0
| | | | | | | | | | without ENABLE_FLAPPER_HACKS. TBR=darin@chromium.org Review URL: http://codereview.chromium.org/8566047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110773 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 110710 - Add ChromeBrowserMainExtraParts for non main parts.stevenjb@google.com2011-11-184-28/+42
| | | | | | | | | | | | | | | | | | | | | Revert 110741 - Fix ProcessSingletonTest.StartupRaceCondition for win. This was originally submitted as http://codereview.chromium.org/8539038/ which was reverted because of a failing test on win. This reverts the code back to a single instance of BrowserMainParts, with auxillary parts (Gtk, Views, Aura, Touch) implemented from a new base class, ChromeBrowserParts, which has a Chrome specific interface, allowing initialization to be better subdivided. This should fix the notifications auto tests. This CL also addresses the test failure on win (and a test failure on linux_chromeos triggered by the windows fix). BUG=103821 TEST=Make sure all tests and autotests run TBR=stevenjb@chromium.org Review URL: http://codereview.chromium.org/8596015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110753 0039d316-1c4b-4281-b951-d872f2087c98
* Get rid of gpu_messages.h include in chrome by having the ↵jam@chromium.org2011-11-186-55/+21
| | | | | | | | 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
* Re-enable RenderWidgetHostTest.PreHandleRawKeyDownEventmukai@chromium.org2011-11-181-7/+1
| | | | | | | | | | | | This test is working as expected, at least on my local machine. BUG=chromium:100345 TEST=manually Review URL: http://codereview.chromium.org/8510043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110751 0039d316-1c4b-4281-b951-d872f2087c98
* Update the windows UI to support displaying a warning after thenoelutz@google.com2011-11-181-6/+8
| | | | | | | download has started. Review URL: http://codereview.chromium.org/8587042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110750 0039d316-1c4b-4281-b951-d872f2087c98
* Move enabling IPC logging for all child processes to the Content API.jam@chromium.org2011-11-181-0/+51
| | | | | | | BUG=98716 Review URL: http://codereview.chromium.org/8574070 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110747 0039d316-1c4b-4281-b951-d872f2087c98
* Fix ProcessSingletonTest.StartupRaceCondition for win.stevenjb@google.com2011-11-182-7/+6
| | | | | | | | | | BUG=103821 TEST=ProcessSingletonTest.StartupRaceCondition passes on win (and no other tests fail) TBR=jam@chromium.org Review URL: http://codereview.chromium.org/8549027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110741 0039d316-1c4b-4281-b951-d872f2087c98
* Changed argument to GetAcceptLangs() to a BrowserContext.rdsmith@chromium.org2011-11-185-9/+18
| | | | | | Review URL: http://codereview.chromium.org/8475024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110719 0039d316-1c4b-4281-b951-d872f2087c98
* Add FAIL to IndexedDBBrowserTestWithLowQuota.QuotaTeststeveblock@chromium.org2011-11-181-1/+1
| | | | | | | | | | This fails after roll to WebKit r100780 BUG=104748 Review URL: http://codereview.chromium.org/8600003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110715 0039d316-1c4b-4281-b951-d872f2087c98
* Add ChromeBrowserMainExtraParts for non main parts.stevenjb@google.com2011-11-184-44/+31
| | | | | | | | | | | | | | | | | | | This was originally submitted as http://codereview.chromium.org/8539038/ which was reverted because of a failing test on win. This reverts the code back to a single instance of BrowserMainParts, with auxillary parts (Gtk, Views, Aura, Touch) implemented from a new base class, ChromeBrowserParts, which has a Chrome specific interface, allowing initialization to be better subdivided. This should fix the notifications auto tests. This CL also addresses the test failure on win (and a test failure on linux_chromeos triggered by the windows fix). BUG=103821 TEST=Make sure all tests and autotests run TBR=jam@chromium.org Review URL: http://codereview.chromium.org/8598005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110710 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 110626 - Reland 110355 - Use shared D3D9 texture to transport the ↵apatrick@chromium.org2011-11-1815-149/+105
| | | | | | | | | | | | | | | | | | | compositor's backing buffer to the browser process for presentation. Implemented ImageTransportSurface for Linux (without texture sharing), XP, Vista and 7. XP. The non-texture sharing Linux and XP paths just present directly to the compositing child window owned by the browser process as before. PassThroughImageTransportSurface still needs a proper name. I will move it into its own file once that is decided. I moved AcceleratedSurfaceBuffersSwapped outside of the platform specific ifdefs and made the signature the same on all platforms for greater consistency. I removed the code related to sharing surfaces between processes and synchronizing resize and swapping out of GpuCommandBufferStub. It is all now in ImageTransportSurface implementations. Review URL: http://codereview.chromium.org/8060045 Review URL: http://codereview.chromium.org/8588045 TBR=apatrick@chromium.org Review URL: http://codereview.chromium.org/8558008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110638 0039d316-1c4b-4281-b951-d872f2087c98
* Provide a way for RenderProcessHosts to register themselves in the global ↵ananta@chromium.org2011-11-183-18/+26
| | | | | | | | | | | | host map. This is in the form of static RegisterHost/UnregisterHost functions in the RenderProcessHostImpl class. BUG=98716 TEST=No change in functionality. Hopefully it all compiles and works. Review URL: http://codereview.chromium.org/8597005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110635 0039d316-1c4b-4281-b951-d872f2087c98
* Pointer lock added to about:flags and passed to WebKit runtime flagsscheib@chromium.org2011-11-181-0/+1
| | | | | | | | | BUG=72754 Review URL: http://codereview.chromium.org/8536003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110632 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup: Remove forward declarations in various directories.thestig@chromium.org2011-11-182-4/+0
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/8567022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110631 0039d316-1c4b-4281-b951-d872f2087c98
* Reland 110355 - Use shared D3D9 texture to transport the compositor's ↵apatrick@chromium.org2011-11-1815-105/+149
| | | | | | | | | | | | | | | | backing buffer to the browser process for presentation. Implemented ImageTransportSurface for Linux (without texture sharing), XP, Vista and 7. XP. The non-texture sharing Linux and XP paths just present directly to the compositing child window owned by the browser process as before. PassThroughImageTransportSurface still needs a proper name. I will move it into its own file once that is decided. I moved AcceleratedSurfaceBuffersSwapped outside of the platform specific ifdefs and made the signature the same on all platforms for greater consistency. I removed the code related to sharing surfaces between processes and synchronizing resize and swapping out of GpuCommandBufferStub. It is all now in ImageTransportSurface implementations. Review URL: http://codereview.chromium.org/8060045 Review URL: http://codereview.chromium.org/8588045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110626 0039d316-1c4b-4281-b951-d872f2087c98
* Define the public interface for content browser RenderProcessHost. This ↵ananta@chromium.org2011-11-1860-876/+828
| | | | | | | | | | | | | | | interface is implemented by the RenderProcessHostImpl class which lives in content\browser\renderer_host\render_process_host_impl.cc/.h. The RenderProcessHostImpl class is a consolidation of the RenderProcessHost and BrowserRenderProcessHost classes. The RenderProcessHost public interface was created from the now deleted RenderProcessHost class defined in content\browser\renderer_host\render_process_host.h. Additional methods have been added to the interface to ensure that it works correctly with the MockRenderProcessHost class used by unit tests. I had to implement a number of overrides in the MockRenderProcessHost class to ensure that tests work correctly. This was because of assumptions in the tests that the MockRPH class was a real RPH which it was till now. Added a TODO for the methods which could potentially be removed from this interface. Will revisit that in a subsequent CL. BUG=98716 TEST=No change in functionality. Hopefully it all compiles and works. Review URL: http://codereview.chromium.org/8515027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110615 0039d316-1c4b-4281-b951-d872f2087c98
* [Aura] Fix HtmlDialogBrowserTest.SizeWindow.xiyuan@chromium.org2011-11-182-1/+5
| | | | | | | | | | | | | | | - Fix HtmlDialogBrowserTest.SizeWindow for Linux + Aura + Chromeos==0. - Remove minimum_size_ from auralWindow and add an OnBoundsChanging to aura::WindowDelegate so that a delegate can apply bounds constriant; - NativeWidgetAura uses OnBoundsChanging to apply Widget's minimum size; - Remove minimum_size_ member from Widget because it is only used for widget with no frame (i.e. no non_client_view_) and such widget should have no minimum size; BUG=104412 TEST=Verify the HtmlDialogBrowserTest.SizeWindow should pass for Linux + Aura + Chromeos==0. Review URL: http://codereview.chromium.org/8574049 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110608 0039d316-1c4b-4281-b951-d872f2087c98
* Fix resize issues when using threaded compositingenne@chromium.org2011-11-171-1/+1
| | | | | | | | | | | | | | | | Threaded compositing doesn't ever call DoDeferredUpdate, so never has a chance to send the resize ack via an update message back to the browser. Fix by piping through didBeginFrame (called at the beginning of a main thread frame) and didFinishFrame (called during the client side OnSwapBuffers when a main thread frame has been committed). This patch queues up update messages during didBeginFrame and then sends them out during the corresponding didFinishFrame. BUG=103776 TEST=run with threaded compositing, resize page multiple times Review URL: http://codereview.chromium.org/8528006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110599 0039d316-1c4b-4281-b951-d872f2087c98
* Propagate the SafeBrowsing download protection verdict to the DownloadItem.noelutz@google.com2011-11-174-69/+60
| | | | | | | | | | | | | | This is where the UI will be notified when a malicious binary is being downloaded. The UI currently does not support displaying a warning after the download started. We'll fix that in a separate CL. BUG=102540 TEST=No visible changes. Review URL: http://codereview.chromium.org/8468020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110583 0039d316-1c4b-4281-b951-d872f2087c98
* Get content to build again with aura & component build.ben@chromium.org2011-11-173-5/+6
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/8574047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110565 0039d316-1c4b-4281-b951-d872f2087c98
* Fix next_page_id_ in a NTP forced to share an existing WebUI process.creis@chromium.org2011-11-176-2/+18
| | | | | | | | | BUG=104258 TEST=See bug for repro steps. Review URL: http://codereview.chromium.org/8468032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110556 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 110542 - Fix link issue when component=shared_libraryajwong@chromium.org2011-11-172-4/+3
| | | | | | | | | | | | | BUG=104622 TEST=GYP_DEFINES="component=shared_library" and build Review URL: http://codereview.chromium.org/8587036 TBR=penghuang@chromium.org Review URL: http://codereview.chromium.org/8587049 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110552 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 110548 - Reland 110355 - Use shared D3D9 texture to transport the ↵apatrick@chromium.org2011-11-1716-546/+105
| | | | | | | | | | | | | | | | | | | | | compositor's backing buffer to the browser process for presentation. Implemented ImageTransportSurface for Linux (without texture sharing), XP, Vista and 7. XP. The non-texture sharing Linux and XP paths just present directly to the compositing child window owned by the browser process as before. PassThroughImageTransportSurface still needs a proper name. I will move it into its own file once that is decided. I moved AcceleratedSurfaceBuffersSwapped outside of the platform specific ifdefs and made the signature the same on all platforms for greater consistency. I removed the code related to sharing surfaces between processes and synchronizing resize and swapping out of GpuCommandBufferStub. It is all now in ImageTransportSurface implementations. Review URL: http://codereview.chromium.org/8060045 TBR=cpu@chromium.org Review URL: http://codereview.chromium.org/8591006 TBR=apatrick@chromium.org Review URL: http://codereview.chromium.org/8574071 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110551 0039d316-1c4b-4281-b951-d872f2087c98
* Reland 110355 - Use shared D3D9 texture to transport the compositor's ↵apatrick@chromium.org2011-11-1716-105/+546
| | | | | | | | | | | | | | | | | | backing buffer to the browser process for presentation. Implemented ImageTransportSurface for Linux (without texture sharing), XP, Vista and 7. XP. The non-texture sharing Linux and XP paths just present directly to the compositing child window owned by the browser process as before. PassThroughImageTransportSurface still needs a proper name. I will move it into its own file once that is decided. I moved AcceleratedSurfaceBuffersSwapped outside of the platform specific ifdefs and made the signature the same on all platforms for greater consistency. I removed the code related to sharing surfaces between processes and synchronizing resize and swapping out of GpuCommandBufferStub. It is all now in ImageTransportSurface implementations. Review URL: http://codereview.chromium.org/8060045 TBR=cpu@chromium.org Review URL: http://codereview.chromium.org/8591006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110548 0039d316-1c4b-4281-b951-d872f2087c98
* Add a method to the controller to close the picker/service tab when a return ↵gbillock@chromium.org2011-11-172-5/+10
| | | | | | | | | | | | | value is passed. R=jhawkins@chromium.org BUG=103294,104140 TEST=WebIntentPickerControllerBrowserTest Review URL: http://codereview.chromium.org/8508019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110547 0039d316-1c4b-4281-b951-d872f2087c98
* Add OVERRIDE to content/.avi@chromium.org2011-11-17102-429/+541
| | | | | | | | | BUG=104314 TEST=no change Review URL: http://codereview.chromium.org/8587009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110544 0039d316-1c4b-4281-b951-d872f2087c98
* Fix link issue when component=shared_librarypenghuang@chromium.org2011-11-172-3/+4
| | | | | | | | | | BUG=104622 TEST=GYP_DEFINES="component=shared_library" and build Review URL: http://codereview.chromium.org/8587036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110542 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the flags to RenderViewHost::EnablePreferredSizeMode since it's not ↵jam@chromium.org2011-11-172-3/+3
| | | | | | | | | used after http://crbug.com/44850 was fixed. BUG=98716 Review URL: http://codereview.chromium.org/8586032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110539 0039d316-1c4b-4281-b951-d872f2087c98
* Fix shared compile on windowsjam@chromium.org2011-11-171-3/+5
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110535 0039d316-1c4b-4281-b951-d872f2087c98
* Fix shared compilejam@chromium.org2011-11-171-3/+3
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110533 0039d316-1c4b-4281-b951-d872f2087c98
* Move the PluginDataRemover class to content, and remove the chrome pieces ↵jam@chromium.org2011-11-173-0/+312
| | | | | | | | | from it. This class really belongs in content because it's part of the web platform. I've also wrapped it with an interface that is used by chrome. BUG=98716 Review URL: http://codereview.chromium.org/8590016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110530 0039d316-1c4b-4281-b951-d872f2087c98
* Fix properties on new download files.gavinp@chromium.org2011-11-172-0/+0
| | | | | | | | | | | These were checked in executable, which is probably not what Andy wanted. He blames visual studio, self. No review URL, since its just a props change and our git cl fu is weak. TBR=ahendrickson git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110511 0039d316-1c4b-4281-b951-d872f2087c98
* Disable failing WebKitBrowserTest.XsltBadImport on Mac after WebKit rollsteveblock@chromium.org2011-11-171-1/+2
| | | | | | | | BUG=104582 Review URL: http://codereview.chromium.org/8591020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110509 0039d316-1c4b-4281-b951-d872f2087c98
* Report ERR_CONTENT_LENGTH_MISMATCH when the count of bytes received doesn't ↵cbentzel@chromium.org2011-11-171-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | match Content-Length. This used to be reported as ERR_CONNECTION_CLOSED. Unfortunately, there are a number of misconfigured servers on the web which report a Content-Length completely divorced from reality. Other browsers display whatever data was received without reporting errors in this case, and Chrome now does the same. An earlier CL simply removed error reporting for this case. However, some uses may want to still treat this like an error (such as URLFetcher), or could eventually treat the case as an error and recover (such as downloads). Data received will be populated in the disk cache as a truncated entry, if the server advertises byte range support. WebURLLoaderImpl ignores this for all async and sync resource loads. At some point it may want to selectively do this based on content type. Downloads ignore the error, but no longer ignore ERR_CONNECTION_CLOSED. Other uses will treat this like an error. BUG=52847 TEST=Manually, go to a site that advertises a large content-length and closes the connection before writing so many bytes, and notice that the page now displays. Automatic: HttpNetworkTransactionTest.LargeContentLengthThenClose, URLRequestTestHttp.GetZippedTest Review URL: http://codereview.chromium.org/8496016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110505 0039d316-1c4b-4281-b951-d872f2087c98
* Created a DownloadManager interface, for use in unit tests..ahendrickson@chromium.org2011-11-175-303/+748
| | | | | | | | | | Bug=None Test=None Review URL: http://codereview.chromium.org/8351052 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110499 0039d316-1c4b-4281-b951-d872f2087c98
* Disable failing WebKitBrowserTest.XsltBadImport on Linux after WebKit rollsteveblock@chromium.org2011-11-171-1/+1
| | | | | | | | BUG=104582 Review URL: http://codereview.chromium.org/8588031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110488 0039d316-1c4b-4281-b951-d872f2087c98
* Disable failing test after the recent WebKit roll.thestig@chromium.org2011-11-171-2/+8
| | | | | | | | | BUG=104582 TEST=bots go green TBR=japhet Review URL: http://codereview.chromium.org/8588022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110431 0039d316-1c4b-4281-b951-d872f2087c98
* Have ExtensionHost use TabContents instead of RenderViewHost. Try #3.mpcomplete@chromium.org2011-11-176-107/+98
| | | | | | | | | | | | | | The last try broke at least 2 things which I've fixed in this CL: - Attempts to access geolocation from an extension would hang. - We'd sometimes crash when shutting down the browser with an ExtensionPopup open. BUG=84146 TEST=extensions still work Review URL: http://codereview.chromium.org/8587001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110394 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 110355 - Use shared D3D9 texture to transport the compositor's ↵cpu@chromium.org2011-11-1715-149/+105
| | | | | | | | | | | | | | | | | | backing buffer to the browser process for presentation. Implemented ImageTransportSurface for Linux (without texture sharing), XP, Vista and 7. XP. The non-texture sharing Linux and XP paths just present directly to the compositing child window owned by the browser process as before. PassThroughImageTransportSurface still needs a proper name. I will move it into its own file once that is decided. I moved AcceleratedSurfaceBuffersSwapped outside of the platform specific ifdefs and made the signature the same on all platforms for greater consistency. I removed the code related to sharing surfaces between processes and synchronizing resize and swapping out of GpuCommandBufferStub. It is all now in ImageTransportSurface implementations. Review URL: http://codereview.chromium.org/8060045 TBR=apatrick@chromium.org Review URL: http://codereview.chromium.org/8587012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110387 0039d316-1c4b-4281-b951-d872f2087c98
* Fix check_perms failure from r110377.thestig@chromium.org2011-11-162-0/+0
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110380 0039d316-1c4b-4281-b951-d872f2087c98
* Created an interface for DownloadFile, for use in unit tests.ahendrickson@chromium.org2011-11-1616-131/+595
| | | | | | | | | | Bug=None Test=None Review URL: http://codereview.chromium.org/8372034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110377 0039d316-1c4b-4281-b951-d872f2087c98
* Enable content component (again!).dpranke@chromium.org2011-11-162-3/+3
| | | | | | | | | | | This version fixes a problem with the windows incremental linking build. We can't incrementally link chrome when content is being built as a DLL because chrome links in webkit_glue and webkit_glue depends on symbols defined in content. We can remove this when we fix glue. R=jam@chromium.org BUG=90442, 98755. Review URL: http://codereview.chromium.org/8570024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110360 0039d316-1c4b-4281-b951-d872f2087c98
* Use shared D3D9 texture to transport the compositor's backing buffer to the ↵apatrick@chromium.org2011-11-1615-105/+149
| | | | | | | | | | | | | | | browser process for presentation. Implemented ImageTransportSurface for Linux (without texture sharing), XP, Vista and 7. XP. The non-texture sharing Linux and XP paths just present directly to the compositing child window owned by the browser process as before. PassThroughImageTransportSurface still needs a proper name. I will move it into its own file once that is decided. I moved AcceleratedSurfaceBuffersSwapped outside of the platform specific ifdefs and made the signature the same on all platforms for greater consistency. I removed the code related to sharing surfaces between processes and synchronizing resize and swapping out of GpuCommandBufferStub. It is all now in ImageTransportSurface implementations. Review URL: http://codereview.chromium.org/8060045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110355 0039d316-1c4b-4281-b951-d872f2087c98