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

Side by Side Diff: athena/env/public/athena_env.h

Issue 480353006: Separate athena's startup process from AppShell's (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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
(Empty)
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 ATHENA_ENV_PUBLIC_ATHENA_ENV_H_
6 #define ATHENA_ENV_PUBLIC_ATHENA_ENV_H_
7
8 #include "athena/athena_export.h"
9
10 namespace gfx {
11 class Insets;
12 }
13
14 namespace aura {
15 class WindowTreeHost;
16 }
17
18 namespace athena {
19
20 // AthenaEnv creates/shuts down the environment necessary to
21 // start Athena shell.
22 class ATHENA_EXPORT AthenaEnv {
23 public:
24 static void Create();
25 static AthenaEnv* Get();
26 static void Shutdown();
27
28 virtual ~AthenaEnv() {}
29
30 // Returns the single WindowTreeHost for the primary display.
31 virtual aura::WindowTreeHost* GetHost() = 0;
32
33 // Sets the insets for the primary displays's work area.
34 virtual void SetDisplayWorkAreaInsets(const gfx::Insets& insets) = 0;
35 };
36
37 } // namespace athena
38
39 #endif // ATHENA_ENV_PUBLIC_ATHENA_ENV_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698