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

Unified Diff: mojo/services/native_viewport/native_viewport_android.h

Issue 59383011: Factor common code into native_viewport_controller.cc (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix X11 Created 7 years, 1 month 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: mojo/services/native_viewport/native_viewport_android.h
diff --git a/mojo/services/native_viewport/native_viewport_android.h b/mojo/services/native_viewport/native_viewport_android.h
index f1600cb653ff607e018217b9477d86a053ef5185..d2b1f1f3226a24eb7a633d6faad14ce47e6c06be 100644
--- a/mojo/services/native_viewport/native_viewport_android.h
+++ b/mojo/services/native_viewport/native_viewport_android.h
@@ -7,11 +7,6 @@
#include "base/memory/weak_ptr.h"
#include "mojo/services/native_viewport/native_viewport.h"
-#include "ui/gfx/size.h"
-
-namespace gpu {
-class GLInProcessContext;
-}
struct ANativeWindow;
@@ -35,14 +30,8 @@ class NativeViewportAndroid : public NativeViewport {
// Overridden from NativeViewport:
virtual void Close() OVERRIDE;
- void OnGLContextLost();
void ReleaseWindow();
- NativeViewportDelegate* delegate_;
- ANativeWindow* window_;
- gfx::Size size_;
- scoped_ptr<gpu::GLInProcessContext> gl_context_;
-
base::WeakPtrFactory<NativeViewportAndroid> weak_factory_;
DISALLOW_COPY_AND_ASSIGN(NativeViewportAndroid);

Powered by Google App Engine
This is Rietveld 408576698