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 #ifndef CHROME_BROWSER_UI_PANELS_BASE_PANEL_BROWSER_TEST_H_ | 5 #ifndef CHROME_BROWSER_UI_PANELS_BASE_PANEL_BROWSER_TEST_H_ |
6 #define CHROME_BROWSER_UI_PANELS_BASE_PANEL_BROWSER_TEST_H_ | 6 #define CHROME_BROWSER_UI_PANELS_BASE_PANEL_BROWSER_TEST_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/values.h" | 9 #include "base/values.h" |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/ref_counted.h" |
11 #include "chrome/browser/ui/panels/display_settings_provider.h" | 11 #include "chrome/browser/ui/panels/display_settings_provider.h" |
12 #include "chrome/browser/ui/panels/panel.h" | 12 #include "chrome/browser/ui/panels/panel.h" |
13 #include "chrome/browser/ui/panels/panel_strip.h" | 13 #include "chrome/browser/ui/panels/panel_strip.h" |
14 #include "chrome/common/extensions/extension.h" | 14 #include "chrome/common/extensions/extension.h" |
15 #include "chrome/test/base/in_process_browser_test.h" | 15 #include "chrome/test/base/in_process_browser_test.h" |
16 #include "ui/gfx/rect.h" | 16 #include "ui/gfx/rect.h" |
17 | 17 |
18 class BasePanelBrowserTest : public InProcessBrowserTest { | 18 class BasePanelBrowserTest : public InProcessBrowserTest { |
19 public: | 19 public: |
20 class MockDisplaySettingsProvider : public DisplaySettingsProvider { | 20 class MockDisplaySettingsProvider : public DisplaySettingsProvider { |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 static const FilePath::CharType* kTestDir; | 120 static const FilePath::CharType* kTestDir; |
121 | 121 |
122 private: | 122 private: |
123 // Passed to and owned by PanelManager. | 123 // Passed to and owned by PanelManager. |
124 MockDisplaySettingsProvider* mock_display_settings_provider_; | 124 MockDisplaySettingsProvider* mock_display_settings_provider_; |
125 | 125 |
126 bool mock_display_settings_enabled_; | 126 bool mock_display_settings_enabled_; |
127 }; | 127 }; |
128 | 128 |
129 #endif // CHROME_BROWSER_UI_PANELS_BASE_PANEL_BROWSER_TEST_H_ | 129 #endif // CHROME_BROWSER_UI_PANELS_BASE_PANEL_BROWSER_TEST_H_ |
OLD | NEW |