OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "chrome/browser/ui/panels/base_panel_browser_test.h" | 5 #include "chrome/browser/ui/panels/base_panel_browser_test.h" |
6 | 6 |
7 #include <string.h> | 7 #include <string.h> |
8 | 8 |
9 #include "base/bind.h" | 9 #include "base/bind.h" |
10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
(...skipping 11 matching lines...) Expand all Loading... |
22 #include "chrome/browser/ui/panels/native_panel.h" | 22 #include "chrome/browser/ui/panels/native_panel.h" |
23 #include "chrome/browser/ui/panels/panel_collection.h" | 23 #include "chrome/browser/ui/panels/panel_collection.h" |
24 #include "chrome/browser/ui/panels/panel_mouse_watcher.h" | 24 #include "chrome/browser/ui/panels/panel_mouse_watcher.h" |
25 #include "chrome/browser/ui/panels/stacked_panel_collection.h" | 25 #include "chrome/browser/ui/panels/stacked_panel_collection.h" |
26 #include "chrome/browser/ui/panels/test_panel_active_state_observer.h" | 26 #include "chrome/browser/ui/panels/test_panel_active_state_observer.h" |
27 #include "chrome/browser/ui/panels/test_panel_mouse_watcher.h" | 27 #include "chrome/browser/ui/panels/test_panel_mouse_watcher.h" |
28 #include "chrome/common/chrome_paths.h" | 28 #include "chrome/common/chrome_paths.h" |
29 #include "chrome/common/chrome_switches.h" | 29 #include "chrome/common/chrome_switches.h" |
30 #include "chrome/test/base/interactive_test_utils.h" | 30 #include "chrome/test/base/interactive_test_utils.h" |
31 #include "chrome/test/base/ui_test_utils.h" | 31 #include "chrome/test/base/ui_test_utils.h" |
| 32 #include "components/sync/api/string_ordinal.h" |
32 #include "content/public/browser/notification_service.h" | 33 #include "content/public/browser/notification_service.h" |
33 #include "content/public/common/url_constants.h" | 34 #include "content/public/common/url_constants.h" |
34 #include "content/public/test/web_contents_tester.h" | 35 #include "content/public/test/web_contents_tester.h" |
35 #include "extensions/browser/extension_prefs.h" | 36 #include "extensions/browser/extension_prefs.h" |
36 #include "extensions/browser/extension_system.h" | 37 #include "extensions/browser/extension_system.h" |
37 #include "extensions/browser/install_flag.h" | 38 #include "extensions/browser/install_flag.h" |
38 #include "extensions/common/manifest_constants.h" | 39 #include "extensions/common/manifest_constants.h" |
39 #include "sync/api/string_ordinal.h" | |
40 | 40 |
41 #if defined(OS_LINUX) | 41 #if defined(OS_LINUX) |
42 #include "ui/base/x/x11_util.h" | 42 #include "ui/base/x/x11_util.h" |
43 #endif | 43 #endif |
44 | 44 |
45 #if defined(OS_MACOSX) | 45 #if defined(OS_MACOSX) |
46 #include "base/mac/scoped_nsautorelease_pool.h" | 46 #include "base/mac/scoped_nsautorelease_pool.h" |
47 #include "chrome/browser/ui/cocoa/run_loop_testing.h" | 47 #include "chrome/browser/ui/cocoa/run_loop_testing.h" |
48 #endif | 48 #endif |
49 | 49 |
(...skipping 531 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
581 } | 581 } |
582 | 582 |
583 std::string BasePanelBrowserTest::MakePanelName(int index) { | 583 std::string BasePanelBrowserTest::MakePanelName(int index) { |
584 std::string panel_name("Panel"); | 584 std::string panel_name("Panel"); |
585 return panel_name + base::IntToString(index); | 585 return panel_name + base::IntToString(index); |
586 } | 586 } |
587 | 587 |
588 bool BasePanelBrowserTest::WmSupportWindowActivation() { | 588 bool BasePanelBrowserTest::WmSupportWindowActivation() { |
589 return true; | 589 return true; |
590 } | 590 } |
OLD | NEW |