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_CHROME_BROWSER_MAIN_EXTRA_PARTS_AURA_H_ | 5 #ifndef CHROME_BROWSER_CHROME_BROWSER_MAIN_EXTRA_PARTS_AURA_H_ |
6 #define CHROME_BROWSER_CHROME_BROWSER_MAIN_EXTRA_PARTS_AURA_H_ | 6 #define CHROME_BROWSER_CHROME_BROWSER_MAIN_EXTRA_PARTS_AURA_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 "chrome/browser/chrome_browser_main_extra_parts.h" | 10 #include "chrome/browser/chrome_browser_main_extra_parts.h" |
11 | 11 |
| 12 #if !defined(USE_ASH) |
| 13 #include "base/memory/scoped_ptr.h" |
| 14 #endif |
| 15 |
| 16 namespace aura { |
| 17 class DesktopStackingClient; |
| 18 } |
| 19 |
12 class ChromeBrowserMainExtraPartsAura : public ChromeBrowserMainExtraParts { | 20 class ChromeBrowserMainExtraPartsAura : public ChromeBrowserMainExtraParts { |
13 public: | 21 public: |
14 ChromeBrowserMainExtraPartsAura(); | 22 ChromeBrowserMainExtraPartsAura(); |
15 | 23 |
| 24 virtual void PreProfileInit() OVERRIDE; |
16 virtual void PostMainMessageLoopRun() OVERRIDE; | 25 virtual void PostMainMessageLoopRun() OVERRIDE; |
17 | 26 |
18 private: | 27 private: |
| 28 #if !defined(USE_ASH) |
| 29 scoped_ptr<aura::DesktopStackingClient> stacking_client_; |
| 30 #endif |
| 31 |
19 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainExtraPartsAura); | 32 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainExtraPartsAura); |
20 }; | 33 }; |
21 | 34 |
22 #endif // CHROME_BROWSER_CHROME_BROWSER_MAIN_EXTRA_PARTS_AURA_H_ | 35 #endif // CHROME_BROWSER_CHROME_BROWSER_MAIN_EXTRA_PARTS_AURA_H_ |
OLD | NEW |