summaryrefslogtreecommitdiffstats
path: root/content/browser/debugger/devtools_manager_unittest.cc
Commit message (Collapse)AuthorAgeFilesLines
* Get rid of a bunch of tab_contents.h includes from chrome. These are all ↵jam@chromium.org2012-01-041-1/+1
| | | | | | | | | trivial changes to use WebContents instead of TabContents. BUG=98716 Review URL: http://codereview.chromium.org/9030032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116392 0039d316-1c4b-4281-b951-d872f2087c98
* Convert all of the WebContentsDelegate to use WebContents instead of ↵jam@chromium.org2011-12-281-1/+2
| | | | | | | | | | TabContents, and update all the dependent code. BUG=98716 TBR=joi Review URL: http://codereview.chromium.org/9008047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115932 0039d316-1c4b-4281-b951-d872f2087c98
* Move TabContentsDelegate to content/public/browser and put it in the content ↵tfarina@chromium.org2011-12-201-4/+4
| | | | | | | | | | | | | | namespace. - Rename TabContentsDelegate to WebContentsDelegate and move it to web_contents_delegate.* BUG=98716,105875 R=jam@chromium.org TBR=avi@chromium.org Review URL: http://codereview.chromium.org/9008013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115213 0039d316-1c4b-4281-b951-d872f2087c98
* Start creating the content::WebPage interface around TabContents. This is ↵jam@chromium.org2011-12-201-3/+3
| | | | | | | | | | | just the start of moving 4 very commonly used unix_hacker functions into CamelCase. I've added the interface with just these methods, it's not actually used yet. The long term plan is that TabContentsWrapper would become TabContents, while TabContents will become WebPageImpl BUG=98716 Review URL: http://codereview.chromium.org/8997020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115043 0039d316-1c4b-4281-b951-d872f2087c98
* Removing MessageLoop::QuitTask() from content/dcheng@chromium.org2011-12-101-2/+2
| | | | | | | | | | | | base/task.h is going away and being replaced by base/bind.h and base/callback.h. This CL was automatically generated by sed. BUG=none TEST=none Review URL: http://codereview.chromium.org/8872030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113894 0039d316-1c4b-4281-b951-d872f2087c98
* Make TestTabContents::TestDidNavigate not take a ↵jam@chromium.org2011-12-051-5/+2
| | | | | | | | | | ViewHostMsg_FrameNavigate_Params, since that's an internal content IPC struct. BUG=98716 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=113006 Review URL: http://codereview.chromium.org/8801003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113050 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 113006 - Make TestTabContents::TestDidNavigate not take a ↵avi@chromium.org2011-12-051-2/+5
| | | | | | | | | | | | ViewHostMsg_FrameNavigate_Params, since that's an internal content IPC struct. BUG=98716 Review URL: http://codereview.chromium.org/8801003 TBR=jam@chromium.org Review URL: http://codereview.chromium.org/8799015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113025 0039d316-1c4b-4281-b951-d872f2087c98
* Make TestTabContents::TestDidNavigate not take a ↵jam@chromium.org2011-12-051-5/+2
| | | | | | | | | ViewHostMsg_FrameNavigate_Params, since that's an internal content IPC struct. BUG=98716 Review URL: http://codereview.chromium.org/8801003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113006 0039d316-1c4b-4281-b951-d872f2087c98
* Change NavigationController::LoadURL to take a Referrer class instead of a ↵jochen@chromium.org2011-12-051-3/+3
| | | | | | | | | | | GURL as referrer BUG=105028 TEST=no functional change Review URL: http://codereview.chromium.org/8785004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112968 0039d316-1c4b-4281-b951-d872f2087c98
* Define DevTools content APIyurys@chromium.org2011-12-011-27/+42
| | | | | | | | | | | | | | | The API consists of the following parts: * DevToolsManager routes messages between devtools agents and clients * DevToolsAgentHost provides an abstract interface to the debuggee, currently it is either RenderViewHost or Shared Worker. Client can obtain DevToolsAgentHost from DevToolsAgentHostRegistry. * DevToolsClientHost is an API that should be implemented by DevTools front-end. There is a default Chromium implementation living in chrome/ and a remote debugging server which also implements this interface. Clients can extend it in order to provide custom front-end. There is a default DevTools front-end implementation and content/ provides a way for creating corresponding DevToolsClientHost by means of DevToolsClientHost::CreateDevToolsFrontendHost. The embedder just needs to provide a concrete delegate. * This patch also removes DevToolsHost_ForwardToAgent and DevToolsHost_ForwardToClient IPC messages which were used to forward only one message. DevTools IPC messages are now hidden behind the devtools content API. BUG=104625 TEST=Existing tests Review URL: http://codereview.chromium.org/8549022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112473 0039d316-1c4b-4281-b951-d872f2087c98
* Make DevToolsManager a singleton, remove it from ContentBrowserClient.yurys@chromium.org2011-11-221-7/+1
| | | | | | | | | | | DevToolsManager should be created and destroyed inside content implementation, not by the embedder. BUG=104625 TEST=Exising tests Review URL: http://codereview.chromium.org/8609010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111106 0039d316-1c4b-4281-b951-d872f2087c98
* Fix DevToolsManagerTest.ReattachOnCancelPendingNavigation assert failure in ↵yurys@chromium.org2011-11-161-1/+1
| | | | | | | | | | | | debug mode BUG=None TEST=DevToolsManagerTest.ReattachOnCancelPendingNavigation TBR=jam Review URL: http://codereview.chromium.org/8468033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110269 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: reattach to previous RVH when pending navigation is being canceled.yurys@chromium.org2011-11-161-0/+40
| | | | | | | | | BUG=DevTools window may close when navigating to different bookmarked pages TEST=DevToolsManagerTest.ReattachOnCancelPendingNavigation Review URL: http://codereview.chromium.org/8572010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110267 0039d316-1c4b-4281-b951-d872f2087c98
* Move content_browser_client.h to public, and while at it, movejoi@chromium.org2011-10-191-1/+1
| | | | | | | | | | | | window_container_type.h as well since it is included by content_browser_client.h BUG=98716 TEST=it builds + existing tests Review URL: http://codereview.chromium.org/8346017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106323 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools handler now handles messages from both client and agent and is ↵yurys@chromium.org2011-08-311-1/+3
| | | | | | | | | | | created for all new render_view_hosts. This patch moves handling of IPC messages from agent to RenderViewDevToolsAgentHost and handling of client IPC messages to DevToolsWindow. BUG=None TEST=Existing DevTools tests Review URL: http://codereview.chromium.org/7778010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98964 0039d316-1c4b-4281-b951-d872f2087c98
* Move more files to content_unittests.phajdan.jr@chromium.org2011-08-301-9/+33
| | | | | | | | | | Reduce dependencies on chrome/ BUG=90443 Review URL: http://codereview.chromium.org/7800004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98823 0039d316-1c4b-4281-b951-d872f2087c98
* Switch ChromeTestSuite to the same convention as ContentTestSuite:phajdan.jr@chromium.org2011-08-271-1/+4
| | | | | | | | | | | | | | | | | the test suite implicitly provides global resources for each test, but they're re-initialized between each test. The performance overhead is negligible. We need that to continue moving tests from unit_tests to content_unittests. Because of shared test fixtures the test suites need to be compatible. BUG=90443 Review URL: http://codereview.chromium.org/7744039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98526 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: don't show the unresponsive dialog for inspected tabsyurys@chromium.org2011-08-081-0/+58
| | | | | | | | | BUG=66458 TEST=DevToolsManagerTest.NoUnresponsiveDialogInInspectedTab Review URL: http://codereview.chromium.org/7565008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95798 0039d316-1c4b-4281-b951-d872f2087c98
* No need to have DevToolsManager reference countedyurys@chromium.org2011-08-041-9/+9
| | | | | | | | | | | Now that ForceReopenWindow method is gone(in r91695), the browser process should own the DevToolsManager. BUG=None TEST=existing DevTools tests Review URL: http://codereview.chromium.org/7461125 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95396 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: get rid of TabContentsWrapper dependencies.pfeldman@chromium.org2011-07-201-2/+0
| | | | | | | | | BUG= TEST= Review URL: http://codereview.chromium.org/7458016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93188 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: move devtools_window to chrome/, remove most chrome/ dependencies ↵pfeldman@chromium.org2011-07-201-2/+2
| | | | | | | | | | | from devtools_manager. BUG= TEST= Review URL: http://codereview.chromium.org/7429006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93173 0039d316-1c4b-4281-b951-d872f2087c98
* Wholesale move of debugger sources to content.joi@chromium.org2011-06-291-0/+115
Other references are modified only to point to the new location. Follow-up changes will move build rules for the debugger into content. This adds a somewhat permissive DEPS file to content/browser/debugger. Follow-up work will whittle that down to zero dependencies on chrome/. BUG=84078 TEST=existing Review URL: http://codereview.chromium.org/7274031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@90912 0039d316-1c4b-4281-b951-d872f2087c98