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

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

Issue 2417783005: [Master/Overview CL] Make PageScaleFactor work for oopif subframe.
Patch Set: Rebase to master@{#429656}. Created 4 years, 1 month 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_delegate.h
diff --git a/content/browser/renderer_host/render_widget_host_delegate.h b/content/browser/renderer_host/render_widget_host_delegate.h
index 6948db4991a46e1b9a1f312a5bdc7f1f9a3e2079..db1b555635f2164693e15aea6670d48cff35920d 100644
--- a/content/browser/renderer_host/render_widget_host_delegate.h
+++ b/content/browser/renderer_host/render_widget_host_delegate.h
@@ -66,6 +66,10 @@ class CONTENT_EXPORT RenderWidgetHostDelegate {
// Sets the device scale factor for frames associated with this WebContents.
virtual void UpdateDeviceScaleFactor(double device_scale_factor) {}
+ // Sets the device scale factor for cross-process subframes associated with
+ // this WebContents.
+ virtual void SetPageScaleFactorForSubframes(double page_scale_factor) {}
+
// Retrieve screen information.
virtual void GetScreenInfo(ScreenInfo* web_screen_info);
« no previous file with comments | « cc/trees/layer_tree_impl_unittest.cc ('k') | content/browser/renderer_host/render_widget_host_input_event_router.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698