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

Side by Side Diff: chrome/browser/debugger/devtools_sanity_unittest.cc

Issue 159850: DevTools: Fix devtools after WebKit @r46732 roll. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 4 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | webkit/glue/devtools/js/devtools.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "base/command_line.h" 5 #include "base/command_line.h"
6 #include "chrome/browser/browser.h" 6 #include "chrome/browser/browser.h"
7 #include "chrome/browser/debugger/devtools_client_host.h" 7 #include "chrome/browser/debugger/devtools_client_host.h"
8 #include "chrome/browser/debugger/devtools_manager.h" 8 #include "chrome/browser/debugger/devtools_manager.h"
9 #include "chrome/browser/debugger/devtools_window.h" 9 #include "chrome/browser/debugger/devtools_window.h"
10 #include "chrome/browser/renderer_host/render_view_host.h" 10 #include "chrome/browser/renderer_host/render_view_host.h"
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 Browser* browser = window_->browser(); 109 Browser* browser = window_->browser();
110 devtools_manager->UnregisterDevToolsClientHostFor(inspected_rvh_); 110 devtools_manager->UnregisterDevToolsClientHostFor(inspected_rvh_);
111 BrowserClosedObserver close_observer(browser); 111 BrowserClosedObserver close_observer(browser);
112 } 112 }
113 113
114 TabContents* client_contents_; 114 TabContents* client_contents_;
115 DevToolsWindow* window_; 115 DevToolsWindow* window_;
116 RenderViewHost* inspected_rvh_; 116 RenderViewHost* inspected_rvh_;
117 }; 117 };
118 118
119 /*
120 // WebInspector opens. 119 // WebInspector opens.
121 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestHostIsPresent) { 120 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestHostIsPresent) {
122 RunTest("testHostIsPresent", kSimplePage); 121 RunTest("testHostIsPresent", kSimplePage);
123 } 122 }
124 123
125 // Tests elements panel basics. 124 // Tests elements panel basics.
126 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestElementsTreeRoot) { 125 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestElementsTreeRoot) {
127 RunTest("testElementsTreeRoot", kSimplePage); 126 RunTest("testElementsTreeRoot", kSimplePage);
128 } 127 }
129 128
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 178
180 // Tests eval global values. 179 // Tests eval global values.
181 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestEvalGlobal) { 180 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestEvalGlobal) {
182 RunTest("testEvalGlobal", kEvalTestPage); 181 RunTest("testEvalGlobal", kEvalTestPage);
183 } 182 }
184 183
185 // Tests eval on call frame. 184 // Tests eval on call frame.
186 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestEvalCallFrame) { 185 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestEvalCallFrame) {
187 RunTest("testEvalCallFrame", kEvalTestPage); 186 RunTest("testEvalCallFrame", kEvalTestPage);
188 } 187 }
189 */ 188
190 } // namespace 189 } // namespace
OLDNEW
« no previous file with comments | « no previous file | webkit/glue/devtools/js/devtools.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698