OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/task.h" | |
10 #include "base/values.h" | 9 #include "base/values.h" |
11 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
12 #include "chrome/browser/ui/panels/auto_hiding_desktop_bar.h" | 11 #include "chrome/browser/ui/panels/auto_hiding_desktop_bar.h" |
13 #include "chrome/browser/ui/panels/panel.h" | 12 #include "chrome/browser/ui/panels/panel.h" |
14 #include "chrome/common/extensions/extension.h" | 13 #include "chrome/common/extensions/extension.h" |
15 #include "chrome/test/base/in_process_browser_test.h" | 14 #include "chrome/test/base/in_process_browser_test.h" |
16 #include "ui/gfx/rect.h" | 15 #include "ui/gfx/rect.h" |
17 | 16 |
18 class BasePanelBrowserTest : public InProcessBrowserTest { | 17 class BasePanelBrowserTest : public InProcessBrowserTest { |
19 public: | 18 public: |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 return mock_auto_hiding_desktop_bar_.get(); | 85 return mock_auto_hiding_desktop_bar_.get(); |
87 } | 86 } |
88 | 87 |
89 static const FilePath::CharType* kTestDir; | 88 static const FilePath::CharType* kTestDir; |
90 private: | 89 private: |
91 gfx::Rect testing_work_area_; | 90 gfx::Rect testing_work_area_; |
92 scoped_refptr<MockAutoHidingDesktopBar> mock_auto_hiding_desktop_bar_; | 91 scoped_refptr<MockAutoHidingDesktopBar> mock_auto_hiding_desktop_bar_; |
93 }; | 92 }; |
94 | 93 |
95 #endif // CHROME_BROWSER_UI_PANELS_BASE_PANEL_BROWSER_TEST_H_ | 94 #endif // CHROME_BROWSER_UI_PANELS_BASE_PANEL_BROWSER_TEST_H_ |
OLD | NEW |