| 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 | |
| 20 class ChromeBrowserMainExtraPartsAura : public ChromeBrowserMainExtraParts { | 12 class ChromeBrowserMainExtraPartsAura : public ChromeBrowserMainExtraParts { |
| 21 public: | 13 public: |
| 22 ChromeBrowserMainExtraPartsAura(); | 14 ChromeBrowserMainExtraPartsAura(); |
| 23 | 15 |
| 24 virtual void PreProfileInit() OVERRIDE; | |
| 25 virtual void PostMainMessageLoopRun() OVERRIDE; | 16 virtual void PostMainMessageLoopRun() OVERRIDE; |
| 26 | 17 |
| 27 private: | 18 private: |
| 28 #if !defined(USE_ASH) | |
| 29 scoped_ptr<aura::DesktopStackingClient> stacking_client_; | |
| 30 #endif | |
| 31 | |
| 32 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainExtraPartsAura); | 19 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainExtraPartsAura); |
| 33 }; | 20 }; |
| 34 | 21 |
| 35 #endif // CHROME_BROWSER_CHROME_BROWSER_MAIN_EXTRA_PARTS_AURA_H_ | 22 #endif // CHROME_BROWSER_CHROME_BROWSER_MAIN_EXTRA_PARTS_AURA_H_ |
| OLD | NEW |