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

Unified Diff: content/browser/renderer_host/render_widget_host_view_aura.cc

Issue 10391165: Notification for device scale factor change (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: demo_main fix Created 8 years, 7 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_aura.cc
diff --git a/content/browser/renderer_host/render_widget_host_view_aura.cc b/content/browser/renderer_host/render_widget_host_view_aura.cc
index 6b2c7ea98844a79c4888bcd86545a8fdec877a26..277dce675cf85fa84a2d76fd1ab0226cc9affed4 100644
--- a/content/browser/renderer_host/render_widget_host_view_aura.cc
+++ b/content/browser/renderer_host/render_widget_host_view_aura.cc
@@ -1103,6 +1103,12 @@ void RenderWidgetHostViewAura::OnPaint(gfx::Canvas* canvas) {
}
}
+void RenderWidgetHostViewAura::OnDeviceScaleFactorChanged(
+ float device_scale_factor) {
+ // TODO(fsamuel|rbyers): Notify renderer that the device scale factor has
+ // changed. crbug.com/128267.
+}
+
void RenderWidgetHostViewAura::OnWindowDestroying() {
}
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_aura.h ('k') | content/browser/web_contents/web_contents_view_aura.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698