Index: android_webview/native/aw_contents.h |
diff --git a/android_webview/native/aw_contents.h b/android_webview/native/aw_contents.h |
index 905240feb79ca2642d1baafb05530d7c3e21cc15..7d21f27e54dc24d0ed8a913d800840dc07e14ef2 100644 |
--- a/android_webview/native/aw_contents.h |
+++ b/android_webview/native/aw_contents.h |
@@ -52,7 +52,8 @@ class AwContents : public FindHelper::Listener, |
virtual ~AwContents(); |
void DrawGL(AwDrawGLInfo* draw_info); |
- bool DrawSW(JNIEnv* env, jobject obj, jobject canvas); |
+ bool DrawSW(JNIEnv* env, jobject obj, jobject canvas, jint scroll_x, |
+ jint scroll_y); |
void RunJavaScriptDialog( |
content::JavaScriptMessageType message_type, |
@@ -146,11 +147,11 @@ class AwContents : public FindHelper::Listener, |
scoped_refptr<cc::Layer> scissor_clip_layer_; |
scoped_refptr<cc::Layer> transform_layer_; |
scoped_refptr<cc::Layer> view_clip_layer_; |
+ gfx::Point hw_rendering_scroll_; |
gfx::Size view_size_; |
bool view_visible_; |
bool compositor_visible_; |
bool is_composite_pending_; |
- int last_scroll_x_, last_scroll_y_; |
// Used only for detecting Android View System context changes. |
// Not to be used between draw calls. |