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

Unified Diff: android_webview/browser/browser_view_renderer.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
« no previous file with comments | « no previous file | android_webview/browser/browser_view_renderer_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/browser/browser_view_renderer.h
diff --git a/android_webview/browser/browser_view_renderer.h b/android_webview/browser/browser_view_renderer.h
index 6c246bf60cfaea4ba23d2b7dc9cd761c702481e6..5c485f09ee250ec0484c0853392fa61d982142dd 100644
--- a/android_webview/browser/browser_view_renderer.h
+++ b/android_webview/browser/browser_view_renderer.h
@@ -39,6 +39,9 @@ class BrowserViewRenderer {
// Called to get view's absolute location on the screen.
virtual gfx::Point GetLocationOnScreen() = 0;
+ // Called when the RenderView page scale changes.
+ virtual void OnPageScaleFactorChanged(float page_scale_factor) = 0;
+
protected:
virtual ~Client() {}
};
« no previous file with comments | « no previous file | android_webview/browser/browser_view_renderer_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698