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

Unified Diff: android_webview/browser/renderer_host/view_renderer_host.h

Issue 12567020: [android] Resize the android_webview if it's 0x0 initially. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 8 months 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: android_webview/browser/renderer_host/view_renderer_host.h
diff --git a/android_webview/browser/renderer_host/view_renderer_host.h b/android_webview/browser/renderer_host/view_renderer_host.h
index 4cb2501e9ad3eff7b3b8366f5c714ff71bf90d1d..42b96079e973626bd26bff1f45c85f1aa7c5100f 100644
--- a/android_webview/browser/renderer_host/view_renderer_host.h
+++ b/android_webview/browser/renderer_host/view_renderer_host.h
@@ -18,6 +18,9 @@ class ViewRendererHost : public content::WebContentsObserver,
class Client {
public:
virtual void OnPictureUpdated(int process_id, int render_view_id) = 0;
+ virtual void OnPageScaleFactorChanged(int process_id,
+ int render_view_id,
+ float page_scale_factor) = 0;
protected:
virtual ~Client() {}
@@ -43,6 +46,7 @@ class ViewRendererHost : public content::WebContentsObserver,
void OnPictureUpdated();
void OnDidActivateAcceleratedCompositing(int input_handler_id);
+ void OnPageScaleFactorChanged(float page_scale_factor);
bool IsRenderViewReady() const;
« no previous file with comments | « android_webview/browser/browser_view_renderer_impl.cc ('k') | android_webview/browser/renderer_host/view_renderer_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698