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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: athena/screen/public/screen_manager.h
diff --git a/athena/screen/public/screen_manager.h b/athena/screen/public/screen_manager.h
new file mode 100644
index 0000000000000000000000000000000000000000..d6bd03fe40c09ccfe045439a659f8b8b3168e26e
--- /dev/null
+++ b/athena/screen/public/screen_manager.h
@@ -0,0 +1,35 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef ATHENA_SCREEN_PUBLIC_SCREEN_MANAGER_H_
+#define ATHENA_SCREEN_PUBLIC_SCREEN_MANAGER_H_
+
+#include "athena/athena_export.h"
+
+namespace aura {
+class Window;
+}
+
+namespace gfx {
+class ImageSkia;
+}
+
+namespace athena {
+
+class ATHENA_EXPORT ScreenManager {
+ public:
+ static ScreenManager* Get();
+ static ScreenManager* Create(aura::Window* root);
+ static void Shutdown();
+
+ virtual ~ScreenManager() {}
+
+ virtual aura::Window* GetContainerWindow() = 0;
+ virtual aura::Window* GetContext() = 0;
+ virtual void SetBackgroundImage(const gfx::ImageSkia& image) = 0;
+};
+
+} // namespace
+
+#endif // ATHENA_SCREEN_PUBLIC_SCREEN_MANAGER_H_

Powered by Google App Engine
This is Rietveld 408576698