summaryrefslogtreecommitdiffstats
path: root/content/renderer/render_frame_impl.h
Commit message (Collapse)AuthorAgeFilesLines
* Start transitioning Pepper plugin code to using RenderFrame instead of ↵jam@chromium.org2013-12-021-0/+134
| | | | | | | | | | | | | | | RenderView. This is part of the work in getting rid of RenderView. Since a lot of the code is tightly coupled, I'm added temporary getters on RenderFrame and RenderView to each other. This allows the work to be done in smaller steps. This is also the proper fix for htt://crbug.com/275447. BUG=275447, 245126 R=nasko@chromium.org Review URL: https://codereview.chromium.org/93333002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238191 0039d316-1c4b-4281-b951-d872f2087c98
* Rename WebKit namespace to blink (part 3)abarth@chromium.org2013-11-071-113/+113
| | | | | | | | | | | This CL updates all references to the WebKit namespace in content. TBR=darin@chromium.org BUG=295096 Review URL: https://codereview.chromium.org/63253002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@233513 0039d316-1c4b-4281-b951-d872f2087c98
* Send Allow{Database,FileSystem,IndexedDB} sync IPCs directly from worker threadkinuko@chromium.org2013-11-011-0/+2
| | | | | | | | | | | | | - To deprecate the notorious WorkerAllowMainThreadBridge & runInMode code in Blink - To simplify the worker class inheritance chain Blink-side change: https://codereview.chromium.org/50773002/ BUG=none Review URL: https://codereview.chromium.org/46583005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232302 0039d316-1c4b-4281-b951-d872f2087c98
* Flush out initial [un]registerServiceWorker roundtripalecflett@chromium.org2013-10-301-0/+3
| | | | | | | | | | | | This is a first cut at getting registerServiceWorker() to make a full round trip from and back into blink. At the moment the browser process just sends a dummy value back to the renderer over IPC. BUG=285976 Review URL: https://codereview.chromium.org/25008006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231688 0039d316-1c4b-4281-b951-d872f2087c98
* Simplify SharedWorkerRepository code (Chromium side)kinuko@chromium.org2013-10-271-5/+0
| | | | | | | | | | | | | | | | | - Move scattered worker repository code into one class (content::SharedWorkerRepository) - Use per-page client which implements RenderViewObserver - Implement RuntimeFeatures for shared workers - No more WebKit:: static method to initialize repository - Remove dead/unused code Blink side patch (landed): https://codereview.chromium.org/40143003/ BUG=none Review URL: https://codereview.chromium.org/40303002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231268 0039d316-1c4b-4281-b951-d872f2087c98
* Use Blink support to watch CSS selectors directly instead of using a ↵jyasskin@chromium.org2013-10-041-0/+4
| | | | | | | | | | | | | | MutationObserver. WebKit::WebDocument::watchCSSSelectors was added in https://src.chromium.org/viewvc/blink?view=rev&revision=158582. This CL also threads the WebFrameClient::didMatchCSS call back through the Content API. BUG=172011 Review URL: https://codereview.chromium.org/19045002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@226938 0039d316-1c4b-4281-b951-d872f2087c98
* Create a new RenderFrameHost per child frame when --site-per-process is enabled.nasko@chromium.org2013-10-031-2/+2
| | | | | | | | | | | | | | | | | | | | | | This CL is continuation of https://codereview.chromium.org/23841002/: - Adds a new sync IPC for child frame creation. - Added frame_messages.h for frame related messages. - RenderView now creates and closes the main frame WebFrame rather than relying on the WebView to do it. - Extracted FrameTree out of WebContents. FYI, UMA stats for tracking for site instances has been disabled in another CL since they won't make sense until this code is enabled w/o the flag. Also, FrameHostMsg_Detach is ViewHostMsg_FrameDeatch renamed and FrameHostMsg_CreateChildFrame is ViewHostMsg_FrameAttached renamed plus a little more functionality to get a routing ID assigned by the browser. (https://codereview.chromium.org/23506013/ is the Blink-side of the CL) BUG=245126 Review URL: https://codereview.chromium.org/25503004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@226779 0039d316-1c4b-4281-b951-d872f2087c98
* Cancel resources in the plugin process when a user presses the stop button ↵jam@chromium.org2013-10-011-0/+1
| | | | | | | | | | | | | or window.stop() is called. BUG=286074 R=ananta@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=225099 Review URL: https://codereview.chromium.org/24302012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@226243 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 225099 "Cancel resources in the plugin process when a use..."pasko@chromium.org2013-09-251-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | Reason: androidwebview_instrumentation_tests failing starting from this build: http://build.chromium.org/p/chromium.linux/builders/Android%20Tests%20%28dbg%29/builds/14741 Locally verified that at least this test starts passing after revert: org.chromium.android_webview.test.AndroidScrollIntegrationTest#testNoSpuriousOverScrolls Unsolved mystery remains around the passing trybot with the Rietveld issue: http://build.chromium.org/p/tryserver.chromium/builders/android_dbg_triggered_tests/builds/89522 > Cancel resources in the plugin process when a user presses the stop button or window.stop() is called. > > BUG=286074 > R=ananta@chromium.org > > Review URL: https://codereview.chromium.org/24302012 TBR=jam@chromium.org Review URL: https://codereview.chromium.org/24570003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225179 0039d316-1c4b-4281-b951-d872f2087c98
* Cancel resources in the plugin process when a user presses the stop button ↵jam@chromium.org2013-09-241-0/+1
| | | | | | | | | | | or window.stop() is called. BUG=286074 R=ananta@chromium.org Review URL: https://codereview.chromium.org/24302012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@225099 0039d316-1c4b-4281-b951-d872f2087c98
* Make RenderFrame{Host} objects routable.ajwong@chromium.org2013-08-281-3/+4
| | | | | | | | | | | | | | This CL just sets up the IPC routing infrastructure. All functionality inside RenderFrameImpl still effectively dispatches through the containing RenderViewImpl. Later CLs will migrate individual chunks over. Based off original CL by nasko here: https://codereview.chromium.org/21388003 BUG=245126 Review URL: https://chromiumcodereview.appspot.com/22876014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@219965 0039d316-1c4b-4281-b951-d872f2087c98
* Remove storage-related unused methods/fileskinuko@chromium.org2013-08-221-10/+0
| | | | | | | | | | | | Cleaning up methods/files that are no longer used as we've finished migrating some storage-related methods from WebFrameClient to Platform. BUG=257349 Review URL: https://chromiumcodereview.appspot.com/22946006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@218936 0039d316-1c4b-4281-b951-d872f2087c98
* Add a new version of decidePolicyForNavigation() to RenderFrameImpl.japhet@chromium.org2013-08-191-0/+8
| | | | | | | | | | | This mirrors the "new" version on RenderViewImpl that includes a WebDataSource::ExtraData* parameter. BUG=none Review URL: https://chromiumcodereview.appspot.com/22870014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@218356 0039d316-1c4b-4281-b951-d872f2087c98
* Deprecate RenderViewImpl::queryStorageUsageAndQuotakinuko@chromium.org2013-08-011-4/+0
| | | | | | | | | | | As the method's moved into WebKitPlatformSupport. BUG=259660 TEST=none Review URL: https://chromiumcodereview.appspot.com/21530002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@215081 0039d316-1c4b-4281-b951-d872f2087c98
* Use WebDataSource::isClientRedirect() instead of a local variable on ↵japhet@chromium.org2013-07-311-8/+0
| | | | | | | | | | | | RenderViewImpl Remove now unused client redirect WebFrameClient overrides. BUG=257316 Review URL: https://chromiumcodereview.appspot.com/20348002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@214569 0039d316-1c4b-4281-b951-d872f2087c98
* Add the UMA PLT.BeginToFinish{,Doc}_AfterPreconnectRequest to measure PLT ↵kouhei@chromium.org2013-07-301-0/+2
| | | | | | | | | | | | | | just after mouseevent preconnect triggers. [Note to sheriff] This patch requires blink patch http://crrev.com/18598003 to be landed first. This UMA aims to measure PLT on link navigations with {mouse,gesture}-event preconnects. The PLT is to be compared between experiment/control groups using Finch. BUG=235361 Review URL: https://chromiumcodereview.appspot.com/18601004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@214313 0039d316-1c4b-4281-b951-d872f2087c98
* Reland r212498 "Remove unused WebFrameClient overrides"japhet@chromium.org2013-07-241-12/+0
| | | | | | | | | | This reverts commit cd92296c47a8b1ac024a0646dd3d01c032ff5690. BUG= Review URL: https://chromiumcodereview.appspot.com/19668007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@213479 0039d316-1c4b-4281-b951-d872f2087c98
* Add partial WebFrameClient implementation to RenderFrame.nasko@chromium.org2013-07-241-1/+1
| | | | | | | | | | This is an attempt to reland https://chromiumcodereview.appspot.com/16418003/. The initial upload is verbatim copy of that CL. BUG=245126 Review URL: https://chromiumcodereview.appspot.com/19633005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@213430 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Add partial WebFrameClient implementation to RenderFrame."cbiesinger@chromium.org2013-07-221-1/+1
| | | | | | | | | | | | | | | This reverts commit 928413313366792564237aac159abd2c05cb35af. Seems to break lots of plugin tests: http://build.chromium.org/p/chromium.webkit/builders/WebKit%20Linux/builds/14561 http://test-results.appspot.com/dashboards/flakiness_dashboard.html#tests=compositing%2Fplugins%2Fwebplugin-alpha.html TBR=nasko@chromium.org BUG=245126 Review URL: https://codereview.chromium.org/19929003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212995 0039d316-1c4b-4281-b951-d872f2087c98
* Add partial WebFrameClient implementation to RenderFrame.nasko@chromium.org2013-07-221-1/+1
| | | | | | | | | | This is the first step of moving frame specific code away from RenderView into RenderFrame. The CL moves all methods that don't change any state and leaves the state in the RenderView object. BUG=245126 Review URL: https://chromiumcodereview.appspot.com/16418003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212956 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 212498 "Remove unused WebFrameClient overrides"yutak@chromium.org2013-07-191-0/+12
| | | | | | | | | | | | | | | | | | | This change broke Blink layout tests. > Remove unused WebFrameClient overrides > > Most of these were obsoleted in http://src.chromium.org/viewvc/blink?view=revision&revision=154432, > but a couple have been dead longer. > > BUG=none > > Review URL: https://chromiumcodereview.appspot.com/19564010 TBR=japhet@chromium.org Review URL: https://codereview.chromium.org/19785002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212531 0039d316-1c4b-4281-b951-d872f2087c98
* Remove unused WebFrameClient overridesjaphet@chromium.org2013-07-191-12/+0
| | | | | | | | | | | Most of these were obsoleted in http://src.chromium.org/viewvc/blink?view=revision&revision=154432, but a couple have been dead longer. BUG=none Review URL: https://chromiumcodereview.appspot.com/19564010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212498 0039d316-1c4b-4281-b951-d872f2087c98
* Remove didReceiveDocumentData() and set its only state in ↵japhet@chromium.org2013-07-181-4/+0
| | | | | | | | | | | | didCommitProvisionalLoad The only use for this callback is to set state that we could just as well set in didCommitProvisionalLoad, which is called almost immediately after. BUG=none Review URL: https://chromiumcodereview.appspot.com/19059004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212390 0039d316-1c4b-4281-b951-d872f2087c98
* Implement WebFrameClient in RenderFrame and proxy all calls to RenderView ↵nasko@chromium.org2013-07-021-10/+12
| | | | | | | | | | | | (for now). This is reland of https://codereview.chromium.org/17114006/, which was reverted due to bug in WebFrameTestProxy. I've fixed the issue in https://codereview.chromium.org/18031013/. BUG=245126 Review URL: https://chromiumcodereview.appspot.com/18178006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209733 0039d316-1c4b-4281-b951-d872f2087c98
* Remove a bunch of OVERRIDEs from WebFrameClient implementors.japhet@chromium.org2013-06-281-65/+65
| | | | | | | | | | | | | RenderViewImpl and RenderFrameImpl both live in the chromium repro and implement WebFrameClient, which is defined in blink. OVERRIDEs make life more complicated BUG=none R=jamesr@chromium.org Review URL: https://codereview.chromium.org/18083013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209168 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Implement WebFrameClient in RenderFrame and proxy all calls to ↵senorblanco@chromium.org2013-06-211-12/+1
| | | | | | | | | | | | | RenderView (for now)." (r207825). Many failures on layout tests, e.g., fast/animation/request-animation-frame-during-modal.html BUG=245126 TBR=nasko Review URL: https://codereview.chromium.org/17068011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207857 0039d316-1c4b-4281-b951-d872f2087c98
* Implement WebFrameClient in RenderFrame and proxy all calls to RenderView ↵nasko@chromium.org2013-06-211-1/+12
| | | | | | | | | | | | (for now). This is continuation of the original CL (https://codereview.chromium.org/16223006/), which didn't account for Blink tests using WebTestProxy. BUG=245126 Review URL: https://chromiumcodereview.appspot.com/17114006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207825 0039d316-1c4b-4281-b951-d872f2087c98
* Add WebFrameClient to RenderFrame.nasko@chromium.org2013-06-191-2/+184
| | | | | | | | | | This is the same code as the one in https://codereview.chromium.org/16223006/, except it doesn't register the RenderFrameImpl instance as the main frame, since that breaks Blink layout tests. Once those tests are fixed, I'll switch the main frame to be RenderFrame. BUG=245126 Review URL: https://chromiumcodereview.appspot.com/17426002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207133 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Implement WebFrameClient in RenderFrameImpl and proxy all calls to ↵senorblanco@chromium.org2013-06-141-184/+2
| | | | | | | | | | | | RenderView." Speculative revert to fix laoder tests (fast/loader/resource-request-callbacks.html, http/tests/loading/promote-img-preload-priority.html, http/tests/security/xssAuditor/script-tag-with-callbacks.html). TBR=nasko Review URL: https://codereview.chromium.org/17078002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206400 0039d316-1c4b-4281-b951-d872f2087c98
* Implement WebFrameClient in RenderFrameImpl and proxy all calls to RenderView.nasko@chromium.org2013-06-141-2/+184
| | | | | | | | | | This is the first step in moving all WebFrameClient functionality into RenderViewImpl. Once this change is in, I will start moving methods few at a time, until all the code has migrated over. BUG=245126 Review URL: https://chromiumcodereview.appspot.com/16223006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206346 0039d316-1c4b-4281-b951-d872f2087c98
* Create RenderFrame/RenderFrameHost for the main frame of a page.nasko@chromium.org2013-05-311-0/+38
This CL is the first in a series that will move frame specific functionality from RenderView/RenderViewHost to RenderFrame/RenderFrameHost. In this change, I'm only creating the objects for the top level frame and keeping them as members of RenderView/RenderViewHost for now. BUG=245126 Review URL: https://chromiumcodereview.appspot.com/16032007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203500 0039d316-1c4b-4281-b951-d872f2087c98