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