| 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 <stddef.h> | 5 #include <stddef.h> |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/strings/utf_string_conversions.h" | 8 #include "base/strings/utf_string_conversions.h" |
| 9 #include "build/build_config.h" | 9 #include "build/build_config.h" |
| 10 #include "chrome/app/chrome_command_ids.h" | 10 #include "chrome/app/chrome_command_ids.h" |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 #include "content/public/test/browser_test_utils.h" | 42 #include "content/public/test/browser_test_utils.h" |
| 43 #include "extensions/browser/extension_registry.h" | 43 #include "extensions/browser/extension_registry.h" |
| 44 #include "extensions/common/constants.h" | 44 #include "extensions/common/constants.h" |
| 45 #include "net/test/url_request/url_request_mock_http_job.h" | 45 #include "net/test/url_request/url_request_mock_http_job.h" |
| 46 #include "testing/gtest/include/gtest/gtest.h" | 46 #include "testing/gtest/include/gtest/gtest.h" |
| 47 #include "ui/base/hit_test.h" | 47 #include "ui/base/hit_test.h" |
| 48 #include "ui/base/l10n/l10n_util.h" | 48 #include "ui/base/l10n/l10n_util.h" |
| 49 #include "ui/events/event.h" | 49 #include "ui/events/event.h" |
| 50 #include "ui/events/event_utils.h" | 50 #include "ui/events/event_utils.h" |
| 51 #include "ui/events/keycodes/dom/dom_code.h" | 51 #include "ui/events/keycodes/dom/dom_code.h" |
| 52 #include "ui/gfx/screen.h" | |
| 53 | 52 |
| 54 using content::WebContents; | 53 using content::WebContents; |
| 55 | 54 |
| 56 class PanelBrowserTest : public BasePanelBrowserTest { | 55 class PanelBrowserTest : public BasePanelBrowserTest { |
| 57 public: | 56 public: |
| 58 PanelBrowserTest() : BasePanelBrowserTest() { | 57 PanelBrowserTest() : BasePanelBrowserTest() { |
| 59 } | 58 } |
| 60 | 59 |
| 61 protected: | 60 protected: |
| 62 // Helper function for debugging. | 61 // Helper function for debugging. |
| (...skipping 1787 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1850 expected_prefix, | 1849 expected_prefix, |
| 1851 base::CompareCase::INSENSITIVE_ASCII)); | 1850 base::CompareCase::INSENSITIVE_ASCII)); |
| 1852 | 1851 |
| 1853 PanelManager::GetInstance()->CloseAll(); | 1852 PanelManager::GetInstance()->CloseAll(); |
| 1854 EXPECT_EQ(1U, task_manager.tasks().size()); | 1853 EXPECT_EQ(1U, task_manager.tasks().size()); |
| 1855 } | 1854 } |
| 1856 | 1855 |
| 1857 } // namespace | 1856 } // namespace |
| 1858 | 1857 |
| 1859 #endif // defined(ENABLE_TASK_MANAGER) | 1858 #endif // defined(ENABLE_TASK_MANAGER) |
| OLD | NEW |