summaryrefslogtreecommitdiffstats
path: root/aura/desktop.h
diff options
context:
space:
mode:
Diffstat (limited to 'aura/desktop.h')
-rw-r--r--aura/desktop.h12
1 files changed, 1 insertions, 11 deletions
diff --git a/aura/desktop.h b/aura/desktop.h
index a894e24..1eb89ca 100644
--- a/aura/desktop.h
+++ b/aura/desktop.h
@@ -21,19 +21,15 @@ class Compositor;
namespace aura {
-class DesktopHost;
class MouseEvent;
class Window;
// Desktop is responsible for hosting a set of windows.
class Desktop {
public:
- Desktop();
+ Desktop(gfx::AcceleratedWidget widget, const gfx::Size& size);
~Desktop();
- // Shows the desktop host and runs an event loop for it.
- void Run();
-
// Draws the necessary set of windows.
void Draw();
@@ -45,17 +41,11 @@ class Desktop {
Window* window() { return window_.get(); }
- static Desktop* GetInstance();
-
private:
scoped_refptr<ui::Compositor> compositor_;
scoped_ptr<Window> window_;
- DesktopHost* host_;
-
- static Desktop* instance_;
-
DISALLOW_COPY_AND_ASSIGN(Desktop);
};