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

Unified Diff: content/renderer/render_widget.h

Issue 1412663005: Introduce painted-device-scale-factor and use it when --enable-use-zoom-for-dsf is specified. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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/renderer/render_widget.h
diff --git a/content/renderer/render_widget.h b/content/renderer/render_widget.h
index de967c460f0b6e703ee7d6941f9cd5d5137b6d67..dd688a0210a587b7ee6c6d5760423164bfb8cfe1 100644
--- a/content/renderer/render_widget.h
+++ b/content/renderer/render_widget.h
@@ -571,6 +571,11 @@ class CONTENT_EXPORT RenderWidget
scoped_ptr<WebGraphicsContext3DCommandBufferImpl> CreateGraphicsContext3D(
bool compositor);
+ // Sets the size of the compositor's viewport to the latest size.
+ //
danakj 2015/10/22 23:15:29 extra lines?
oshima 2015/10/23 18:05:37 Done.
+ //
+ void UpdateCompositorViewportSize();
+
// Routing ID that allows us to communicate to the parent browser process
// RenderWidgetHost. When MSG_ROUTING_NONE, no messages may be sent.
int32 routing_id_;

Powered by Google App Engine
This is Rietveld 408576698