OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CONTENT_BROWSER_DEBUGGER_DEVTOOLS_SANITY_UNITTEST_H_ |
| 6 #define CONTENT_BROWSER_DEBUGGER_DEVTOOLS_SANITY_UNITTEST_H_ |
| 7 #pragma once |
| 8 |
| 9 #include <string> |
| 10 |
| 11 #include "base/task.h" |
| 12 #include "chrome/test/in_process_browser_test.h" |
| 13 |
| 14 class DevToolsWindow; |
| 15 class RenderViewHost; |
| 16 class TabContents; |
| 17 |
| 18 class DevToolsSanityTest : public InProcessBrowserTest { |
| 19 public: |
| 20 DevToolsSanityTest(); |
| 21 |
| 22 protected: |
| 23 void RunTest(const std::string& test_name, const std::string& test_page); |
| 24 void OpenDevToolsWindow(const std::string& test_page); |
| 25 TabContents* GetInspectedTab(); |
| 26 void CloseDevToolsWindow(); |
| 27 |
| 28 TabContents* client_contents_; |
| 29 DevToolsWindow* window_; |
| 30 RenderViewHost* inspected_rvh_; |
| 31 }; |
| 32 |
| 33 #endif // CONTENT_BROWSER_DEBUGGER_DEVTOOLS_SANITY_UNITTEST_H_ |
OLD | NEW |