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

Unified Diff: content/browser/renderer_host/render_widget_host_view_android.h

Issue 331453004: android: Fix inconsistent sizes in GetScaledContentBitmap (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: last change i hope Created 6 years, 6 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: content/browser/renderer_host/render_widget_host_view_android.h
diff --git a/content/browser/renderer_host/render_widget_host_view_android.h b/content/browser/renderer_host/render_widget_host_view_android.h
index ecab46d345a3a5de8d4746c888517ef2acc378a9..6485fdeeca51a3822e83df6ad3eb867e02c045ba 100644
--- a/content/browser/renderer_host/render_widget_host_view_android.h
+++ b/content/browser/renderer_host/render_widget_host_view_android.h
@@ -208,6 +208,8 @@ class CONTENT_EXPORT RenderWidgetHostViewAndroid
void WasResized();
+ // Asynchronously retrieves a bitmap of the content. |src_subrect| is in
+ // phyiscal pixel space before applying |scale|.
void GetScaledContentBitmap(
float scale,
SkBitmap::Config bitmap_config,

Powered by Google App Engine
This is Rietveld 408576698