| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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" | |
| 7 #include "chrome/browser/browser_list.h" | 6 #include "chrome/browser/browser_list.h" |
| 8 #include "chrome/browser/browser_process.h" | 7 #include "chrome/browser/browser_process.h" |
| 9 #include "chrome/browser/browser_window.h" | 8 #include "chrome/browser/browser_window.h" |
| 10 #include "chrome/browser/chromeos/wm_ipc.h" | 9 #include "chrome/browser/chromeos/wm_ipc.h" |
| 11 #include "chrome/browser/renderer_host/render_view_host.h" | 10 #include "chrome/browser/renderer_host/render_view_host.h" |
| 12 #include "chrome/browser/tab_contents/tab_contents.h" | 11 #include "chrome/browser/tab_contents/tab_contents.h" |
| 12 #include "chrome/browser/ui/browser.h" |
| 13 #include "chrome/common/chrome_switches.h" | 13 #include "chrome/common/chrome_switches.h" |
| 14 #include "chrome/test/in_process_browser_test.h" | 14 #include "chrome/test/in_process_browser_test.h" |
| 15 #include "chrome/test/ui_test_utils.h" | 15 #include "chrome/test/ui_test_utils.h" |
| 16 #include "cros/chromeos_wm_ipc_enums.h" | 16 #include "cros/chromeos_wm_ipc_enums.h" |
| 17 | 17 |
| 18 namespace chromeos { | 18 namespace chromeos { |
| 19 | 19 |
| 20 class PanelTest : public InProcessBrowserTest { | 20 class PanelTest : public InProcessBrowserTest { |
| 21 public: | 21 public: |
| 22 PanelTest() { | 22 PanelTest() { |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 95 if (*i != browser()) | 95 if (*i != browser()) |
| 96 new_browser = *i; | 96 new_browser = *i; |
| 97 } | 97 } |
| 98 EXPECT_FALSE(new_browser); | 98 EXPECT_FALSE(new_browser); |
| 99 | 99 |
| 100 // Should find a new tab. | 100 // Should find a new tab. |
| 101 EXPECT_EQ(old_tab_count + 1, browser()->tab_count()); | 101 EXPECT_EQ(old_tab_count + 1, browser()->tab_count()); |
| 102 } | 102 } |
| 103 | 103 |
| 104 } // namespace chromeos | 104 } // namespace chromeos |
| OLD | NEW |