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/basictypes.h" | 8 #include "base/macros.h" |
9 #include "base/compiler_specific.h" | |
10 #include "base/memory/scoped_ptr.h" | |
11 #include "chrome/browser/chrome_browser_main_extra_parts.h" | |
12 | 9 |
| 10 #if defined(USE_AURA) |
13 namespace wm { | 11 namespace wm { |
14 class WMState; | 12 class WMState; |
15 } | 13 } |
| 14 #endif |
16 | 15 |
17 class ChromeBrowserMainExtraPartsViews : public ChromeBrowserMainExtraParts { | 16 class ChromeBrowserMainExtraPartsViews : public ChromeBrowserMainExtraParts { |
18 public: | 17 public: |
19 ChromeBrowserMainExtraPartsViews(); | 18 ChromeBrowserMainExtraPartsViews(); |
20 virtual ~ChromeBrowserMainExtraPartsViews(); | 19 virtual ~ChromeBrowserMainExtraPartsViews(); |
21 | 20 |
22 // Overridden from ChromeBrowserMainExtraParts: | 21 // Overridden from ChromeBrowserMainExtraParts: |
23 virtual void ToolkitInitialized() OVERRIDE; | 22 virtual void ToolkitInitialized() OVERRIDE; |
24 | 23 |
25 private: | 24 private: |
| 25 #if defined(USE_AURA) |
26 scoped_ptr<wm::WMState> wm_state_; | 26 scoped_ptr<wm::WMState> wm_state_; |
| 27 #endif |
27 | 28 |
28 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainExtraPartsViews); | 29 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainExtraPartsViews); |
29 }; | 30 }; |
30 | 31 |
31 #endif // CHROME_BROWSER_UI_VIEWS_CHROME_BROWSER_MAIN_EXTRA_PARTS_VIEWS_H_ | 32 #endif // CHROME_BROWSER_UI_VIEWS_CHROME_BROWSER_MAIN_EXTRA_PARTS_VIEWS_H_ |
OLD | NEW |