commit | 5b011e35fb0ced750323681e5a864bb9962d06a1 | [log] [tgz] |
---|---|---|
author | Derek Sollenberger <djsollen@google.com> | Mon Jun 22 11:39:40 2009 -0400 |
committer | Derek Sollenberger <djsollen@google.com> | Mon Jun 22 11:39:40 2009 -0400 |
tree | df8479da65db2ee64ef765297af885ba512ff4e3 | |
parent | 6cd7c86a8e6fa3b4a349cf188d632c5092524732 [diff] [blame] |
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();