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_VIEWS_CHROME_BROWSER_MAIN_EXTRA_PARTS_VIEWS_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_CHROME_BROWSER_MAIN_EXTRA_PARTS_VIEWS_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_CHROME_BROWSER_MAIN_EXTRA_PARTS_VIEWS_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_CHROME_BROWSER_MAIN_EXTRA_PARTS_VIEWS_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "chrome/browser/chrome_browser_main_extra_parts.h" | 10 #include "chrome/browser/chrome_browser_main_extra_parts.h" |
11 | 11 |
| 12 namespace views { |
| 13 class ViewsDelegate; |
| 14 } |
| 15 |
12 #if defined(USE_AURA) | 16 #if defined(USE_AURA) |
13 namespace wm { | 17 namespace wm { |
14 class WMState; | 18 class WMState; |
15 } | 19 } |
16 #endif | 20 #endif |
17 | 21 |
18 class ChromeBrowserMainExtraPartsViews : public ChromeBrowserMainExtraParts { | 22 class ChromeBrowserMainExtraPartsViews : public ChromeBrowserMainExtraParts { |
19 public: | 23 public: |
20 ChromeBrowserMainExtraPartsViews(); | 24 ChromeBrowserMainExtraPartsViews(); |
21 ~ChromeBrowserMainExtraPartsViews() override; | 25 ~ChromeBrowserMainExtraPartsViews() override; |
22 | 26 |
23 // Overridden from ChromeBrowserMainExtraParts: | 27 // Overridden from ChromeBrowserMainExtraParts: |
24 void ToolkitInitialized() override; | 28 void ToolkitInitialized() override; |
25 | 29 |
26 private: | 30 private: |
| 31 scoped_ptr<views::ViewsDelegate> views_delegate_; |
| 32 |
27 #if defined(USE_AURA) | 33 #if defined(USE_AURA) |
28 scoped_ptr<wm::WMState> wm_state_; | 34 scoped_ptr<wm::WMState> wm_state_; |
29 #endif | 35 #endif |
30 | 36 |
31 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainExtraPartsViews); | 37 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainExtraPartsViews); |
32 }; | 38 }; |
33 | 39 |
34 #endif // CHROME_BROWSER_UI_VIEWS_CHROME_BROWSER_MAIN_EXTRA_PARTS_VIEWS_H_ | 40 #endif // CHROME_BROWSER_UI_VIEWS_CHROME_BROWSER_MAIN_EXTRA_PARTS_VIEWS_H_ |
OLD | NEW |