summaryrefslogtreecommitdiffstats
path: root/content
Commit message (Collapse)AuthorAgeFilesLines
* We don't need to buffer network responses anymore now that we have an HTML5abarth@chromium.org2011-05-172-44/+1
| | | | | | | | parser that can parse doctypes across packet boundaries. Review URL: http://codereview.chromium.org/7038001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85602 0039d316-1c4b-4281-b951-d872f2087c98
* Move view_types.h from chrome to content. Although some of the enum types ↵jam@chromium.org2011-05-1613-54/+67
| | | | | | | | are Chrome specific, I don't see how we can keep this in chrome given that it's a return type in RenderViewHostDelegate. Also make the two IPCs that are sent with the view type and browser ID be extension messages, since that's the only receiver of the messages (and makes it clear why they're being sent). Review URL: http://codereview.chromium.org/7034013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85564 0039d316-1c4b-4281-b951-d872f2087c98
* Fix ResourceDispatcherHost so that cancelling a paused request works.rdsmith@chromium.org2011-05-162-12/+192
| | | | | | | | | | BUG=77944 R=rvargas Review URL: http://codereview.chromium.org/6893133 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85552 0039d316-1c4b-4281-b951-d872f2087c98
* Description:annacc@chromium.org2011-05-164-5/+7
| | | | | | | | | | | | | | | | | This patch gets the channel layout for surround sound channel order from ffmpeg and stores it so that chromium will be able to re-order the channels for various sound cards and OSes later. - AudioParameters gets a new field (channel_layout). - channel_layout.h stores an enum that we will use in chromium for channel values. - ffmpeg_common.h gets a new method for mapping the channel layout received from ffmpeg to an internal chromium enum value. BUG=None (though storing the channel order should help us solve some other bugs soon) TEST=media_unittests Review URL: http://codereview.chromium.org/6930039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85541 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 85504 - Move download stuff to download tab helper.avi@chromium.org2011-05-166-9/+51
| | | | | | | | | | | | | | BUG=71097 TEST=zero visible change in how the download system works Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=85486 Review URL: http://codereview.chromium.org/6973035 TBR=avi@chromium.org Review URL: http://codereview.chromium.org/7035015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85515 0039d316-1c4b-4281-b951-d872f2087c98
* Enough appcache + quota integration to call ↵michaeln@google.com2011-05-163-5/+8
| | | | | | | | | | NotifyOriginInUse/NotifyOriginNoLongerInUse when frames are loaded/unloaded. BUG=61676 TEST=appcache_host_unittest.cc Review URL: http://codereview.chromium.org/6999008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85507 0039d316-1c4b-4281-b951-d872f2087c98
* Move download stuff to download tab helper.avi@chromium.org2011-05-166-51/+9
| | | | | | | | | | | BUG=71097 TEST=zero visible change in how the download system works Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=85486 Review URL: http://codereview.chromium.org/6973035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85504 0039d316-1c4b-4281-b951-d872f2087c98
* Mark test as flakey while I sort out what is going on.mbelshe@chromium.org2011-05-161-1/+1
| | | | | | Review URL: http://codereview.chromium.org/7031011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85497 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 85486 - Move download stuff to download tab helper.avi@chromium.org2011-05-166-9/+51
| | | | | | | | | | | | BUG=71097 TEST=zero visible change in how the download system works Review URL: http://codereview.chromium.org/6973035 TBR=avi@chromium.org Review URL: http://codereview.chromium.org/7030015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85491 0039d316-1c4b-4281-b951-d872f2087c98
* Add bug for downloads includes in contentjam@chromium.org2011-05-161-0/+1
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85490 0039d316-1c4b-4281-b951-d872f2087c98
* Move download stuff to download tab helper.avi@chromium.org2011-05-166-51/+9
| | | | | | | | | BUG=71097 TEST=zero visible change in how the download system works Review URL: http://codereview.chromium.org/6973035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85486 0039d316-1c4b-4281-b951-d872f2087c98
* Reland old fix that was reverted incorrectly.mbelshe@chromium.org2011-05-154-4/+59
| | | | | | | | | | | | | | | Fix regression where high resolution timers could be activated even under battery power. Add unit test to protect chromium from developers like me in the future. The fix is a one-liner in hi_res_timer_manager_win.cc. The rest of the code change is the mechanics to enable the unit test. BUG=59528 TEST=HiResTimerManagerTest.ToggleOnOff Review URL: http://codereview.chromium.org/6904117 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85413 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 85394 - This change broke ↵nsylvain@chromium.org2011-05-156-21/+8
| | | | | | | | | | | | | | | | | | | "PrerenderBrowserTest.PrerenderWindowOpenerJsOpenInNewPageTest" on all platforms. Original description: Changes to not use the prerendered contents when window.opener needs to be set. BUG=79922 TEST=browser_tests Review URL: http://codereview.chromium.org/6915019 TBR=shishir@chromium.org Review URL: http://codereview.chromium.org/7022005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85401 0039d316-1c4b-4281-b951-d872f2087c98
* Changes to not use the prerendered contents when window.opener needs to be set.shishir@chromium.org2011-05-146-8/+21
| | | | | | | | | | BUG=79922 TEST=browser_tests Review URL: http://codereview.chromium.org/6915019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85394 0039d316-1c4b-4281-b951-d872f2087c98
* Create a URLRequestJobFactory to replace the URLRequest globals.willchan@chromium.org2011-05-146-21/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | URLRequest::Interceptor and URLRequest::ProtocolFactory are globally registered. This causes a variety of problems. This provides a method for replacing them. It used to be the case that we used net::URLRequest::IsHandledProtocol()/net::URLRequest::IsHandledURL() to see if the request would be handled by Chrome, or deferred to an external protocol handler. This required that URLRequest be aware of all protocol handlers. We instead provide ProfileIOData::IsHandledProtocol(), which checks to see if there are any Chrome registered protocol handlers, and if not, checks the default ones in net::URLRequest. Note this doesn't work for custom handlers (registerProtocolHandler) because they are dynamic and profile-specific. We would have to add a member function to ProfileIOData and not use a global. This is problematic since we check ProfileIOData::IsHandledProtocol in the RenderViewContextMenu, which runs on the UI thread, whereas ProfileIOData lives on the IO thread. RenderViewContextMenu is using also using it synchronously, which makes it a pain to support. So, we don't support custom handlers in ProfileIOData::IsHandledProtocol(). This means that "save as" won't work for custom handlers. Seems ok for now. This also fixes the multiprofile/incognito bugs where if a profile registers a custom handler, and then a different profile / an incognito profile registers the same custom handler and then unregisters it, which globally unregisters it, so the original profile is now broken. By removing the use of the globals, we fix this. Also fixes a bunch of style guide violations in the ProtocolHandler/ProtocolHandlerRegistry code. This changelist replaces two existing URLRequest::ProtocolFactory uses: chrome-extension/user-script and custom handlers. Also improve the tests in ResourceDispatcherHost so we don't have to do as many NULL checks. Change the MockResourceContext to create a TestURLRequestContext. BUG=81979 TEST=none Review URL: http://codereview.chromium.org/6960006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85376 0039d316-1c4b-4281-b951-d872f2087c98
* Re-enable DNS prefetch. This feature got disable accidentially in WebKitabarth@chromium.org2011-05-141-0/+1
| | | | | | | | | because it is off by default. In this patch, we explicitly turn the feature on. Review URL: http://codereview.chromium.org/7021008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85356 0039d316-1c4b-4281-b951-d872f2087c98
* Content: Define the content api for building content libs as dlls/ananta@chromium.org2011-05-142-0/+26
| | | | | | | | | | | CONTENT_API is the public interface for the module. CONTENT_TEST is intended to be used for symbols that have to be exported only in order to test them. BUG=82454 Review URL: http://codereview.chromium.org/7012043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85354 0039d316-1c4b-4281-b951-d872f2087c98
* Move CertificateManagerModel and CertificateViewer back to chrome. Nothing ↵jam@chromium.org2011-05-136-302/+0
| | | | | | | | uses them in content. Review URL: http://codereview.chromium.org/7021011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85335 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the last content settings include from content.jam@chromium.org2011-05-134-21/+4
| | | | | | | BUG=76793 Review URL: http://codereview.chromium.org/7011045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85333 0039d316-1c4b-4281-b951-d872f2087c98
* ObfuscatedFileSystemFileUtil classericu@google.com2011-05-131-0/+2
| | | | | | | | | | This is functional and reasonably well-tested, but we'll still have to adapt the system a bit in order to use it. BUG=none TEST=included unit tests Review URL: http://codereview.chromium.org/6955013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85332 0039d316-1c4b-4281-b951-d872f2087c98
* content: Get rid of "using namespace WebKit;"tfarina@chromium.org2011-05-131-2/+6
| | | | | | | | | | | BUG=82078 TEST=None R=jamesr@chromium.org Review URL: http://codereview.chromium.org/7021006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85328 0039d316-1c4b-4281-b951-d872f2087c98
* Populating the Gles2TextureToEglImageTranslator class.vhiremath@nvidia.com2011-05-132-0/+114
| | | | | | | | | | | | | | | | App will create /Display/Context/Surface required for this method. App will create the new method for Gles2TextureToEglImageTranslator and pass it with some mechanism to OmxVideoDecodeAccelerator. OmxVideoDecodeAccelerator will use this method to create eglImage handles. Review URL: http://codereview.chromium.org/6900048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85311 0039d316-1c4b-4281-b951-d872f2087c98
* Block the creation of a new window when prerendering.dominich@chromium.org2011-05-132-0/+11
| | | | | | | | | | | | BUG=none TEST=PrerenderBrowserTest.PrerenderPopup Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=84922 Review URL: http://codereview.chromium.org/6955003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85308 0039d316-1c4b-4281-b951-d872f2087c98
* Convert audio-related messages to the new thunk/API system for Pepper.brettw@chromium.org2011-05-134-5/+5
| | | | | | | | | | | | | | | | | | | This has a bit of a change from the previous couple of resources that were converted in that the ResourceCreationProxy now calls a static proxy function for actually doing the work. It became too complicated and required that the ResourceCreationProxy know a lot about the internals of the objects. Did a little namespace cleanup. This renames "pp::shared_impl" to just use the "ppapi" namespace. The "shared_impl" was ugly and didn't help anything. Some files in that directory used "ppapi::shared_impl" instead which was even more confusing. Do a little build cleanup. The old ppapi_shared_proxy.gypi is now split into two sub-files, one for ppapi_shared, and one for ppapi_proxy. It's hopefully easier to find stuff now. Review URL: http://codereview.chromium.org/7014024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85303 0039d316-1c4b-4281-b951-d872f2087c98
* Create cleanup bug for deprecated method.avi@chromium.org2011-05-131-1/+1
| | | | | | | | | BUG=none TEST=adding comment; no code change Review URL: http://codereview.chromium.org/7011046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85301 0039d316-1c4b-4281-b951-d872f2087c98
* Re-land:ben@chromium.org2011-05-131-1/+1
| | | | | | | | | | | | Split the hierarchy. Now with AutocompletePopup implementing SupportsWeakPtr as before. This fixes the Windows XP crashes in browser_tests. BUG=72040 TEST=none Review URL: http://codereview.chromium.org/7015051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85298 0039d316-1c4b-4281-b951-d872f2087c98
* Implement VideoDecoder IPC hooks from plugin to GPU processvrk@google.com2011-05-1322-828/+719
| | | | | | | | | | | | | This implements the communciation layers from the Renderer process to the GPU process and back for the AcceleratedVideoDecoder PPAPI interfaces. BUG=NONE TEST=NONE Review URL: http://codereview.chromium.org/6876004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85296 0039d316-1c4b-4281-b951-d872f2087c98
* Move TabSpecificContentSettings to TabContentWrapper.jam@chromium.org2011-05-133-36/+0
| | | | | | | This is a reland of 85278 with the Mac test failures fixed. Review URL: http://codereview.chromium.org/7015048 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85294 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 85278 - Move TabSpecificContentSettings to TabContentWrapper.jam@chromium.org2011-05-133-0/+36
| | | | | | | | | Review URL: http://codereview.chromium.org/7012033 TBR=jam@chromium.org Review URL: http://codereview.chromium.org/7015047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85285 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 85269 - Split the hierarchy. ben@chromium.org2011-05-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Widget ---- Now recognizes a supplied NativeWidget via InitParams. If this is specified then a default one is not created. Is now created directly rather than using a factory. NativeWidget creation is not performed until Init() is called. This means some functions that rely on a NativeWidget must not be called until _AFTER_ Init() (explains some of the function call reordering in this CL, e.g. moving SetOpacity() until after Init()). ResetLastMouseMovedFlag() moved to this API so that BaseTabStrip can call it in a cross-platform way. Made last remaining unimplemented methods on Widget pass-thru to NativeWidget implementations. * WidgetWin/WidgetGtk ---- The NativeWidget implementations now both require a NativeWidgetDelegate implementation upon construction. This is passed through the constructor by the static factory method NativeWidget::CreateNativeWidget and by subclasses such as WindowWin, BubbleWidgetWin, etc. Some classes that are constructed directly (e.g. LockWindow, in ChromeOS) never have a Widget created for them, so they create the Widget themselves in their base class initializer. Code in these classes (and their WindowWin/WindowGtk, BrowserFrameWin, BrowserFrameGtk subclasses) must now call GetWidget() etc to call Widget API methods since they are no longer subclasses. static_casting to this (and derived) types must now be done on the Widget's native_widget(). GetWindow() is renamed to GetContainingWindow() to avoid naming conflicts. * Window ---- Window is now a subclass of Widget. Now recognizes a supplied NativeWindow via InitParams. If this is specified then a default one is not created. Window::CloseWindow becomes an override of Widget::Close. CloseAllSecondaryWindows() becomes CloseAllSecondaryWidgets() and moves to widget.h IsAppWindow() is removed and replaced by set_is_secondary_widget on Widget. * MenuHost ---- Subclasses Widget now. * TabContentsViewViews ---- It looks like the Gtk-views code here was still using the old implementation of the Native version of this class - i.e. a class that subclassed TabContentsView AND WidgetGtk. A no-no. I had to write NativeTabContentsViewGtk, which is almost identical to NativeTabContentsViewWin with the Gtk bits of TabContentsViewGtk thrown in. * BrowserFrame ---- Platform-specific functionality is now restricted to BrowserFrameWin/BrowserFrameGtk behind a NativeBrowserFrame interface. Construction is exposed via a static factory method on NativeBrowserFrame. BrowserFrame becomes a concrete class that now subclasses Window. As a result, it no longer needs a GetWindow() accessor method, so people with a BrowserFrame* can just call Window methods directly on it. It is constructed directly, replacing the BrowserFrame::Create() method. NativeBrowserFrameDelegate is no longer needed. BrowserFrameChromeos is simpler as a couple of #ifdefs in BrowserFrame, so I got rid of that too. * AutocompletePopupWin/Gtk ---- No longer required. AutocompletePopupContentsView now just uses a Widget directly. * There is some lingering ugliness: - If you set a native_window field on Window::InitParams you must also manually set widget_init_params.native_widget. I will make InitParams do more of this automatically later. - It'd be nice for the ContentsView to be specified via InitParams. I'll get to this later. - NativeBrowserFrame could probably disappear as an interface. It only exists to provide a couple of methods that may be implemented in other ways. - delete_on_destroy should now be an ownership directionality enum. I will do this later. - Secondary-widgetness should somehow be inferred from transience. Later. - set_focus_on_creation for both the NativeWidgets should probably move to Widget if it is really needed. - WidgetWin/Gtk::SetInitialFocus seems like it could move to Widget. - I need to clean up function order in some cases. BUG=72040 TEST=none Review URL: http://codereview.chromium.org/7012006 TBR=ben@chromium.org Review URL: http://codereview.chromium.org/7011038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85283 0039d316-1c4b-4281-b951-d872f2087c98
* Block HTTP basic auth from cross-orgin third-party content.tsepez@chromium.org2011-05-131-0/+44
| | | | | | | | BUG=81251 TEST=browser_tests Review URL: http://codereview.chromium.org/6918001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85281 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes race condition in displaying error pages. In particular it wassky@chromium.org2011-05-131-2/+19
| | | | | | | | | | | | | | | | | | | possible for an error page to be shown after another load, resulting in cancelling the other load. Here's the sequence that can trigger it: . load page that results in error page (eg http://cnn.co), in RVH1. . trigger loading of error page . load correct page (eg http://cnn.com) in RVH2. This triggers a stop in RVH1. . error page finishes loading. Navigation completes, notifies browser and browser swaps back to RVH1. BUG=79515 TEST=none R=jamesr@chromium.org Review URL: http://codereview.chromium.org/7004024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85280 0039d316-1c4b-4281-b951-d872f2087c98
* Convert Filter::Seek() to use new callback system.acolwell@chromium.org2011-05-134-9/+8
| | | | | | | | | BUG=82167 TEST=none. Existing tests still pass. Review URL: http://codereview.chromium.org/6969026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85279 0039d316-1c4b-4281-b951-d872f2087c98
* Move TabSpecificContentSettings to TabContentWrapper.jam@chromium.org2011-05-133-36/+0
| | | | | | Review URL: http://codereview.chromium.org/7012033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85278 0039d316-1c4b-4281-b951-d872f2087c98
* Followup to r85247 to address review comments about adding a way to get to ↵jam@chromium.org2011-05-131-0/+3
| | | | | | | | ProfileIOData from content::ResourceClient. Review URL: http://codereview.chromium.org/6973054 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85273 0039d316-1c4b-4281-b951-d872f2087c98
* Split the hierarchy. ben@chromium.org2011-05-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Widget ---- Now recognizes a supplied NativeWidget via InitParams. If this is specified then a default one is not created. Is now created directly rather than using a factory. NativeWidget creation is not performed until Init() is called. This means some functions that rely on a NativeWidget must not be called until _AFTER_ Init() (explains some of the function call reordering in this CL, e.g. moving SetOpacity() until after Init()). ResetLastMouseMovedFlag() moved to this API so that BaseTabStrip can call it in a cross-platform way. Made last remaining unimplemented methods on Widget pass-thru to NativeWidget implementations. * WidgetWin/WidgetGtk ---- The NativeWidget implementations now both require a NativeWidgetDelegate implementation upon construction. This is passed through the constructor by the static factory method NativeWidget::CreateNativeWidget and by subclasses such as WindowWin, BubbleWidgetWin, etc. Some classes that are constructed directly (e.g. LockWindow, in ChromeOS) never have a Widget created for them, so they create the Widget themselves in their base class initializer. Code in these classes (and their WindowWin/WindowGtk, BrowserFrameWin, BrowserFrameGtk subclasses) must now call GetWidget() etc to call Widget API methods since they are no longer subclasses. static_casting to this (and derived) types must now be done on the Widget's native_widget(). GetWindow() is renamed to GetContainingWindow() to avoid naming conflicts. * Window ---- Window is now a subclass of Widget. Now recognizes a supplied NativeWindow via InitParams. If this is specified then a default one is not created. Window::CloseWindow becomes an override of Widget::Close. CloseAllSecondaryWindows() becomes CloseAllSecondaryWidgets() and moves to widget.h IsAppWindow() is removed and replaced by set_is_secondary_widget on Widget. * MenuHost ---- Subclasses Widget now. * TabContentsViewViews ---- It looks like the Gtk-views code here was still using the old implementation of the Native version of this class - i.e. a class that subclassed TabContentsView AND WidgetGtk. A no-no. I had to write NativeTabContentsViewGtk, which is almost identical to NativeTabContentsViewWin with the Gtk bits of TabContentsViewGtk thrown in. * BrowserFrame ---- Platform-specific functionality is now restricted to BrowserFrameWin/BrowserFrameGtk behind a NativeBrowserFrame interface. Construction is exposed via a static factory method on NativeBrowserFrame. BrowserFrame becomes a concrete class that now subclasses Window. As a result, it no longer needs a GetWindow() accessor method, so people with a BrowserFrame* can just call Window methods directly on it. It is constructed directly, replacing the BrowserFrame::Create() method. NativeBrowserFrameDelegate is no longer needed. BrowserFrameChromeos is simpler as a couple of #ifdefs in BrowserFrame, so I got rid of that too. * AutocompletePopupWin/Gtk ---- No longer required. AutocompletePopupContentsView now just uses a Widget directly. * There is some lingering ugliness: - If you set a native_window field on Window::InitParams you must also manually set widget_init_params.native_widget. I will make InitParams do more of this automatically later. - It'd be nice for the ContentsView to be specified via InitParams. I'll get to this later. - NativeBrowserFrame could probably disappear as an interface. It only exists to provide a couple of methods that may be implemented in other ways. - delete_on_destroy should now be an ownership directionality enum. I will do this later. - Secondary-widgetness should somehow be inferred from transience. Later. - set_focus_on_creation for both the NativeWidgets should probably move to Widget if it is really needed. - WidgetWin/Gtk::SetInitialFocus seems like it could move to Widget. - I need to clean up function order in some cases. BUG=72040 TEST=none Review URL: http://codereview.chromium.org/7012006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85269 0039d316-1c4b-4281-b951-d872f2087c98
* Get rid of the remaining content settings code in the content module.jam@chromium.org2011-05-1323-324/+44
| | | | | | | | | Add user data to content::ResourceContext that points to chrome's ProfileIOData. That way when the embedder code is called by content, it can get back to its profile specific data structures like HostContentSettingsMap. BUG=76793 Review URL: http://codereview.chromium.org/7014025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85247 0039d316-1c4b-4281-b951-d872f2087c98
* Re-land r84928: Move EFD to ExtensionTabHelper.aa@chromium.org2011-05-1312-66/+40
| | | | | | | BUG=80308 TBR=mpcomplete@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85242 0039d316-1c4b-4281-b951-d872f2087c98
* Implement GL_CHROMIUM_rate_limit_offscreen_contextnduca@chromium.org2011-05-132-0/+7
| | | | | | | | | | +jamesr for OWNERS on content/renderer because nobody else on GPU has owners there. :s BUG=81481 Review URL: http://codereview.chromium.org/6976012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85233 0039d316-1c4b-4281-b951-d872f2087c98
* Reland 85013 - Split GLContext::Create*GLContext into ↵apatrick@chromium.org2011-05-123-24/+23
| | | | | | | | | | | | GLSurface::Create*GLSurface plus a surface type independent GLContext::CreateGLContext TEST=try, including layout tests BUG=none Review URL: http://codereview.chromium.org/7013037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85207 0039d316-1c4b-4281-b951-d872f2087c98
* Part 1 of changes to to build chrome\common as a dll. Moving some of the ↵ananta@chromium.org2011-05-122-37/+0
| | | | | | | | | | | | functionality provided by plugin_thread.cc to the default_plugin which is the only caller. Removed the unused AppendToLog function from the webkit_glue namespace. BUG=82326 Review URL: http://codereview.chromium.org/7012004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85202 0039d316-1c4b-4281-b951-d872f2087c98
* Drive compositor scheduling with the swapbuffers callback.nduca@chromium.org2011-05-1213-31/+208
| | | | | | | | | | | | | | This modifies the compositor to hold DoDeferredUpdate until the previous frames are ack'd by the GPU. This vastly improves rendering smoothness. There is some complexity in the way we intercept the SwapBuffers callback due to the different types of GraphicsContexts that get scheduled by render_widget. BUG=80480,53051 Review URL: http://codereview.chromium.org/6902106 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85186 0039d316-1c4b-4281-b951-d872f2087c98
* Chrome side of having the WebKit FileSystem API use WebPermissionClient for ↵jam@chromium.org2011-05-129-46/+55
| | | | | | | | | checking if using file system is fine. Depends on https://bugs.webkit.org/show_bug.cgi?id=60683 BUG=76793 Review URL: http://codereview.chromium.org/7012007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85153 0039d316-1c4b-4281-b951-d872f2087c98
* Fix Clang compile errors in content_client.creis@chromium.org2011-05-122-4/+10
| | | | | | | | | | BUG=65953 TEST=Compiles on Clang. TBR=thakis Review URL: http://codereview.chromium.org/7014016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85137 0039d316-1c4b-4281-b951-d872f2087c98
* Get rid of net::CookiePolicy, now that all code that uses it (except ↵jam@chromium.org2011-05-124-6/+36
| | | | | | | | | WebSocketJob, which appears to be unused and which I updated in this cl) is switched over to use ContentBrowserClient. BUG=76793 Review URL: http://codereview.chromium.org/6973011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85136 0039d316-1c4b-4281-b951-d872f2087c98
* Support window.opener after a process swap.creis@chromium.org2011-05-1233-182/+665
| | | | | | | | | | | | | | | | Changes: 1. Swap out RVHs instead of closing them, so we can return to the same Frame object if we later come back. 2. Filter out messages from swapped out RVHs, in case any are in-flight. 3. Remove the workaround for navigating away from an app. 4. Update tests to reflect the new sequence of events. BUG=65953 TEST=AppApiTest.AppProcess TEST=ResourceDispatcherTest.CrossSiteImmediateLoadOnunloadCookie Review URL: http://codereview.chromium.org/6319001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85134 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Reland 85013 - Split GLContext::Create*GLContext into ↵antonm@chromium.org2011-05-123-23/+24
| | | | | | | | | GLSurface::Create*GLSurface plus a surface type independent GLContext::CreateGLContext". git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85124 0039d316-1c4b-4281-b951-d872f2087c98
* Miscelaneous cleanups to AddressList to make it harder to mis-use.eroman@chromium.org2011-05-122-3/+4
| | | | | | | | | | | | | | - Removed all destructive non-const member functions -- these were dangerous since if you called them without first making a copy of the AddressList, it could mutate earlier copies. - Made AddressList::Data::head const, so new code added to AddressList cannot inadvertently introduce such dangerous mutations (won't compile). - Moved the non-trivial constructors and assign methods into factory methods (for added readability) - Removed the bool parameter from Copy (for added readability). Review URL: http://codereview.chromium.org/6880302 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85090 0039d316-1c4b-4281-b951-d872f2087c98
* iwyu: Include stringprintf.h where appropriate, part 3.jhawkins@chromium.org2011-05-121-2/+4
| | | | | | | | | | | BUG=82098 TEST=none R=csilv@chromium.org Review URL: http://codereview.chromium.org/7016011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85088 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Re-land r84928: Move ExtensionFunctionDispatcher to"aa@chromium.org2011-05-1212-42/+68
| | | | | | | | | | Breaks installation on webstore. This reverts commit 73ad030f2c57a444b81351b2a1cd8546a6dbddc8. TBR=mpcomplete@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85084 0039d316-1c4b-4281-b951-d872f2087c98