Index: android_webview/renderer/aw_render_view_ext.h |
diff --git a/android_webview/renderer/aw_render_view_ext.h b/android_webview/renderer/aw_render_view_ext.h |
index e94bee6c4d98fac7327a5701d0009b069d6f998c..1379913459e7b4c54d8e81c9d650acef3376afdc 100644 |
--- a/android_webview/renderer/aw_render_view_ext.h |
+++ b/android_webview/renderer/aw_render_view_ext.h |
@@ -36,6 +36,7 @@ class AwRenderViewExt : public content::RenderViewObserver, |
virtual void DidCommitProvisionalLoad(WebKit::WebFrame* frame, |
bool is_new_navigation) OVERRIDE; |
virtual void FocusedNodeChanged(const WebKit::WebNode& node) OVERRIDE; |
+ virtual void DidCommitCompositorFrame() OVERRIDE; |
void OnDocumentHasImagesRequest(int id); |
@@ -47,6 +48,8 @@ class AwRenderViewExt : public content::RenderViewObserver, |
void OnSetInitialPageScale(double page_scale_factor); |
+ void UpdatePageScaleFactor(); |
+ |
// WebKit::WebPermissionClient implementation. |
virtual bool allowImage(WebKit::WebFrame* frame, |
bool enabledPerSettings, |
@@ -54,6 +57,8 @@ class AwRenderViewExt : public content::RenderViewObserver, |
bool capture_picture_enabled_; |
+ float page_scale_factor_; |
+ |
DISALLOW_COPY_AND_ASSIGN(AwRenderViewExt); |
}; |