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

Unified Diff: sky/shell/shell.h

Issue 880443003: Plumb resize notifications around sky/shell (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: git cl format Created 5 years, 10 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: sky/shell/shell.h
diff --git a/sky/shell/shell.h b/sky/shell/shell.h
index bcb812e269b4e45787a3bc3f39dea2a020d9c2ca..6f77c2aa6589dbc3b8db56ae9b4a85630bbb9412 100644
--- a/sky/shell/shell.h
+++ b/sky/shell/shell.h
@@ -8,9 +8,6 @@
#include "base/macros.h"
#include "base/memory/ref_counted.h"
#include "base/memory/scoped_ptr.h"
-#include "sky/shell/gpu/rasterizer.h"
-#include "sky/shell/sky_view.h"
-#include "sky/shell/ui/engine.h"
namespace base {
class Thread;
@@ -19,9 +16,11 @@ class SingleThreadTaskRunner;
namespace sky {
namespace shell {
+class Engine;
+class Rasterizer;
class SkyView;
-class Shell : public SkyView::Delegate {
+class Shell {
public:
explicit Shell(scoped_refptr<base::SingleThreadTaskRunner> java_task_runner);
~Shell();
@@ -29,9 +28,6 @@ class Shell : public SkyView::Delegate {
void Init();
private:
- void OnAcceleratedWidgetAvailable(gfx::AcceleratedWidget widget) override;
- void OnDestroyed() override;
-
scoped_refptr<base::SingleThreadTaskRunner> java_task_runner_;
scoped_ptr<base::Thread> gpu_thread_;
scoped_ptr<base::Thread> ui_thread_;

Powered by Google App Engine
This is Rietveld 408576698