Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(686)

Unified Diff: content/browser/debugger/devtools_manager_unittest.cc

Issue 10065017: TabContents -> WebContentsImpl, part 8. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/debugger/devtools_manager_unittest.cc
diff --git a/content/browser/debugger/devtools_manager_unittest.cc b/content/browser/debugger/devtools_manager_unittest.cc
index 1d8b4992f912dcb1ad2f031c991daa6887f026a2..5f28d3a162c07c2a9e480859fffe2028c526707f 100644
--- a/content/browser/debugger/devtools_manager_unittest.cc
+++ b/content/browser/debugger/devtools_manager_unittest.cc
@@ -44,18 +44,15 @@ class TestDevToolsClientHost : public DevToolsClientHost {
manager->ClientHostClosing(this);
closed_ = true;
}
- virtual void InspectedTabClosing() {
+ virtual void InspectedContentsClosing() {
FAIL();
}
- virtual void SetInspectedTabUrl(const std::string& url) {
- }
-
virtual void DispatchOnInspectorFrontend(const std::string& message) {
last_sent_message = &message;
}
- virtual void TabReplaced(WebContents* new_tab) {
+ virtual void ContentsReplaced(WebContents* new_contents) {
}
static void ResetCounters() {
@@ -81,7 +78,7 @@ class TestWebContentsDelegate : public content::WebContentsDelegate {
public:
TestWebContentsDelegate() : renderer_unresponsive_received_(false) {}
- // Notification that the tab is hung.
+ // Notification that the contents is hung.
virtual void RendererUnresponsive(WebContents* source) {
renderer_unresponsive_received_ = true;
}
@@ -180,7 +177,7 @@ TEST_F(DevToolsManagerTest, ForwardMessageToClient) {
EXPECT_EQ(1, TestDevToolsClientHost::close_counter);
}
-TEST_F(DevToolsManagerTest, NoUnresponsiveDialogInInspectedTab) {
+TEST_F(DevToolsManagerTest, NoUnresponsiveDialogInInspectedContents) {
content::TestRenderViewHost* inspected_rvh = test_rvh();
inspected_rvh->set_render_view_created(true);
EXPECT_FALSE(contents()->GetDelegate());
« no previous file with comments | « content/browser/debugger/devtools_manager_impl.cc ('k') | content/browser/debugger/render_view_devtools_agent_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698