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_list.h" | 6 #include "chrome/browser/browser_list.h" |
7 #include "chrome/browser/browser_window.h" | 7 #include "chrome/browser/browser_window.h" |
8 #include "chrome/browser/chromeos/wm_ipc.h" | 8 #include "chrome/browser/chromeos/wm_ipc.h" |
9 #include "chrome/browser/renderer_host/render_view_host.h" | 9 #include "chrome/browser/renderer_host/render_view_host.h" |
10 #include "chrome/browser/ui/browser.h" | 10 #include "chrome/browser/ui/browser.h" |
11 #include "chrome/common/chrome_switches.h" | 11 #include "chrome/common/chrome_switches.h" |
12 #include "chrome/test/in_process_browser_test.h" | 12 #include "chrome/test/in_process_browser_test.h" |
13 #include "chrome/test/ui_test_utils.h" | 13 #include "chrome/test/ui_test_utils.h" |
14 #include "cros/chromeos_wm_ipc_enums.h" | 14 #include "third_party/cros/chromeos_wm_ipc_enums.h" |
15 | 15 |
16 namespace chromeos { | 16 namespace chromeos { |
17 | 17 |
18 class PanelTest : public InProcessBrowserTest { | 18 class PanelTest : public InProcessBrowserTest { |
19 public: | 19 public: |
20 PanelTest() { | 20 PanelTest() { |
21 EnableDOMAutomation(); | 21 EnableDOMAutomation(); |
22 } | 22 } |
23 | 23 |
24 protected: | 24 protected: |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 if (*i != browser()) | 92 if (*i != browser()) |
93 new_browser = *i; | 93 new_browser = *i; |
94 } | 94 } |
95 EXPECT_FALSE(new_browser); | 95 EXPECT_FALSE(new_browser); |
96 | 96 |
97 // Should find a new tab. | 97 // Should find a new tab. |
98 EXPECT_EQ(old_tab_count + 1, browser()->tab_count()); | 98 EXPECT_EQ(old_tab_count + 1, browser()->tab_count()); |
99 } | 99 } |
100 | 100 |
101 } // namespace chromeos | 101 } // namespace chromeos |
OLD | NEW |