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

Side by Side Diff: athena/screen/public/screen_manager.h

Issue 287163009: [Athena] minimum impl to add screen/background and test windows (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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_SCREEN_PUBLIC_SCREEN_MANAGER_H_
6 #define ATHENA_SCREEN_PUBLIC_SCREEN_MANAGER_H_
7
8 #include "athena/athena_export.h"
9
10 namespace aura {
11 class Window;
12 }
13
14 namespace gfx {
15 class ImageSkia;
16 }
17
18 namespace athena {
19
20 class ATHENA_EXPORT ScreenManager {
21 public:
22 static ScreenManager* Get();
23 static ScreenManager* Create(aura::Window* root);
24 static void Shutdown();
25
26 virtual ~ScreenManager() {}
27
28 virtual aura::Window* GetContainerWindow() = 0;
29 virtual aura::Window* GetContext() = 0;
30 virtual void SetBackgroundImage(const gfx::ImageSkia& image) = 0;
31 };
32
33 } // namespace
34
35 #endif // ATHENA_SCREEN_PUBLIC_SCREEN_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698