| OLD | NEW |
| 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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 120 devtools_manager->UnregisterDevToolsClientHostFor(inspected_rvh_); | 120 devtools_manager->UnregisterDevToolsClientHostFor(inspected_rvh_); |
| 121 BrowserClosedObserver close_observer(browser); | 121 BrowserClosedObserver close_observer(browser); |
| 122 } | 122 } |
| 123 | 123 |
| 124 TabContents* client_contents_; | 124 TabContents* client_contents_; |
| 125 DevToolsWindow* window_; | 125 DevToolsWindow* window_; |
| 126 RenderViewHost* inspected_rvh_; | 126 RenderViewHost* inspected_rvh_; |
| 127 }; | 127 }; |
| 128 | 128 |
| 129 // WebInspector opens. | 129 // WebInspector opens. |
| 130 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestHostIsPresent) { | 130 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, DISABLED_TestHostIsPresent) { |
| 131 RunTest("testHostIsPresent", kSimplePage); | 131 RunTest("testHostIsPresent", kSimplePage); |
| 132 } | 132 } |
| 133 | 133 |
| 134 // Tests elements panel basics. | 134 // Tests elements panel basics. |
| 135 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, DISABLED_TestElementsTreeRoot) { | 135 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, DISABLED_TestElementsTreeRoot) { |
| 136 RunTest("testElementsTreeRoot", kSimplePage); | 136 RunTest("testElementsTreeRoot", kSimplePage); |
| 137 } | 137 } |
| 138 | 138 |
| 139 // Tests main resource load. | 139 // Tests main resource load. |
| 140 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, DISABLED_TestMainResource) { | 140 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, DISABLED_TestMainResource) { |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 217 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, DISABLED_TestConsoleLog) { | 217 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, DISABLED_TestConsoleLog) { |
| 218 RunTest("testConsoleLog", kConsoleTestPage); | 218 RunTest("testConsoleLog", kConsoleTestPage); |
| 219 } | 219 } |
| 220 | 220 |
| 221 // Tests eval global values. | 221 // Tests eval global values. |
| 222 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, DISABLED_TestEvalGlobal) { | 222 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, DISABLED_TestEvalGlobal) { |
| 223 RunTest("testEvalGlobal", kEvalTestPage); | 223 RunTest("testEvalGlobal", kEvalTestPage); |
| 224 } | 224 } |
| 225 | 225 |
| 226 } // namespace | 226 } // namespace |
| OLD | NEW |