• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #ifndef MOJO_AURA_AURA_INIT_MOJO_H_
6 #define MOJO_AURA_AURA_INIT_MOJO_H_
7 
8 #include "base/memory/scoped_ptr.h"
9 
10 namespace ui {
11 class ContextFactory;
12 }
13 
14 namespace mojo {
15 
16 class ScreenMojo;
17 
18 // Sets up necessary state for aura when run with the viewmanager.
19 class AuraInit {
20  public:
21   AuraInit();
22   ~AuraInit();
23 
24  private:
25   scoped_ptr<ui::ContextFactory> context_factory_;
26   scoped_ptr<ScreenMojo> screen_;
27 
28   DISALLOW_COPY_AND_ASSIGN(AuraInit);
29 };
30 
31 }  // namespace mojo
32 
33 #endif  // MOJO_AURA_AURA_INIT_MOJO_H_
34