summaryrefslogtreecommitdiffstats
path: root/content/test/test_renderer_host.h
Commit message (Collapse)AuthorAgeFilesLines
* Create swapped-out opener RVHs after a process swap.creis@chromium.org2012-05-021-0/+1
| | | | | | | | | | | This is required to support cross-process JavaScript calls, like postMessage. BUG=99202 TEST=window.opener present after a cross-process navigation. Review URL: https://chromiumcodereview.appspot.com/10171018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134981 0039d316-1c4b-4281-b951-d872f2087c98
* TabContents -> WebContentsImpl, part 16avi@chromium.org2012-04-171-2/+2
| | | | | | | | | | | Remove "tab contents". BUG=105875 TEST=no change Review URL: https://chromiumcodereview.appspot.com/9956154 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@132571 0039d316-1c4b-4281-b951-d872f2087c98
* TabContents -> WebContentsImpl, part 14.avi@chromium.org2012-04-161-1/+1
| | | | | | | | | | | | Updated comments. BUG=105875 TEST=no change Review URL: http://codereview.chromium.org/10073023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@132406 0039d316-1c4b-4281-b951-d872f2087c98
* Clean up a few TODO items.joi@chromium.org2012-03-221-7/+5
| | | | | | | | | | | | | | | | | | | | Push UnhandledWheelEvent and GetBrowserAccessibilityManager down to RenderWidgetHostViewPort. Get rid of OnMessageReceivedForTesting, in favor of RenderViewHostTester::TestOnMessageReceived (which already existed but needed to be converted to a static method so it could be used with regular RenderViewHost instances). Rename WebContentsTester::pending_rvh() to GetPendingRvh() since it's a virtual method. Remove top-level alias for content::RenderViewHostTestHarness and switch clients to use the fully-qualified name. Clean up a couple of other minor TODO items, some had already been done and the comment just needed to be removed; in one case the TODO was just wrong (in dump_accessibility_tree_browsertest.cc) since it's OK for content to depend on content implementations. Remove test_tab_contents.h from DEPS (seems to have been a merge failure in my last change that left this in). BUG=98716 Review URL: http://codereview.chromium.org/9838009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128263 0039d316-1c4b-4281-b951-d872f2087c98
* Add abstractions that let embedders drive tests of WebContents, without ↵joi@chromium.org2012-03-221-9/+12
| | | | | | | | | | | | | | | exposing the internals of content/. A separate WebContentsTester interface is used. For reasons this approach was chosen, see comments on the interface. As part of this work, removed a bunch of references to TabContents from Chrome, some of which were true usages (leaked to Chrome via the test_tab_contents.h header), others of which were just forward declarations and never used. Also removed a chunk of code from autofill_manager.cc that isn't called from anywhere that referenced TabContents. TBR=ben@chromium.org BUG=98716 Review URL: https://chromiumcodereview.appspot.com/9706012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128198 0039d316-1c4b-4281-b951-d872f2087c98
* Move MockRenderProcessHost to content/test and put it into the content ↵tfarina@chromium.org2012-03-161-2/+2
| | | | | | | | | | | | namespace. BUG=98716 R=jam@chromium.org TBR=sky@chromium.org Review URL: https://chromiumcodereview.appspot.com/9699082 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127163 0039d316-1c4b-4281-b951-d872f2087c98
* Second try fordavemoore@chromium.org2012-03-151-0/+4
| | | | | | | | | | | | | https://chromiumcodereview.appspot.com/9689047/ with fix to allow for special conditions under test BUG=115650 TEST=LauncherUpdaterTest.* TBR=sky Review URL: https://chromiumcodereview.appspot.com/9702072 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@126917 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 126764 - Added notion of currently active app / browserdavemoore@chromium.org2012-03-151-4/+0
| | | | | | | | | | | | BUG=115650 TEST=LauncherUpdaterTest.*, including new tests Review URL: https://chromiumcodereview.appspot.com/9689047 TBR=davemoore@chromium.org Review URL: https://chromiumcodereview.appspot.com/9702054 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@126792 0039d316-1c4b-4281-b951-d872f2087c98
* Added notion of currently active app / browserdavemoore@chromium.org2012-03-141-0/+4
| | | | | | | | | BUG=115650 TEST=LauncherUpdaterTest.*, including new tests Review URL: https://chromiumcodereview.appspot.com/9689047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@126764 0039d316-1c4b-4281-b951-d872f2087c98
* Introduce abstractions to allow embedders to test RenderViewHostjoi@chromium.org2012-03-121-0/+179
without knowing about content's internals. From the embedders' point of view, this is done by splitting the "tester" interface away from the RenderViewHost interface, rather than extending the parallel interface/implementation hierarchy; see comments on TestRenderViewHost for the rationale. TBR=ben@chromium.org BUG=98716 Review URL: https://chromiumcodereview.appspot.com/9645003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@126200 0039d316-1c4b-4281-b951-d872f2087c98