Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(170)

Side by Side Diff: chrome/browser/chrome_browser_main_extra_parts_aura.h

Issue 10081022: Aura/ash split: Remove hacks and get chrome linking without ash. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Move the check to ash/. Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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_
OLDNEW
« no previous file with comments | « ash/shell/content_client/shell_browser_main_parts.cc ('k') | chrome/browser/chrome_browser_main_extra_parts_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698