Adding support for recording the visible rect and auto-scrolling.
diff --git a/samples/BrowserPlugin/jni/animation/AnimationPlugin.h b/samples/BrowserPlugin/jni/animation/AnimationPlugin.h
index 1771d79..fa60a8a 100644
--- a/samples/BrowserPlugin/jni/animation/AnimationPlugin.h
+++ b/samples/BrowserPlugin/jni/animation/AnimationPlugin.h
@@ -47,6 +47,12 @@
     ANPPaint*   m_paint;
 
     static const float SCALE = 0.1;
+
+    void centerPluginOnScreen();
+    int m_scrollX;
+    int m_scrollY;
+    int m_screenH;
+    int m_screenW;
 };
 
 uint32_t getMSecs();