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

Unified Diff: cc/pinch_zoom_viewport.h

Issue 12082012: Implement desktop compatibility viewport (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@aelias
Patch Set: Created 7 years, 11 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 | « cc/layer_tree_impl.cc ('k') | content/browser/renderer_host/compositor_impl_android.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/pinch_zoom_viewport.h
diff --git a/cc/pinch_zoom_viewport.h b/cc/pinch_zoom_viewport.h
index 1c8af8a0346632f704005cf9d1e9852e19a13f6b..563f7789e9ece9a3f4cbb5587d8bf55883511ee3 100644
--- a/cc/pinch_zoom_viewport.h
+++ b/cc/pinch_zoom_viewport.h
@@ -43,6 +43,7 @@ class CC_EXPORT PinchZoomViewport {
float min_page_scale_factor,
float max_page_scale_factor);
+ const gfx::SizeF& layout_viewport_size() const { return layout_viewport_size_; }
void set_layout_viewport_size(const gfx::SizeF& size) {
layout_viewport_size_ = size;
}
« no previous file with comments | « cc/layer_tree_impl.cc ('k') | content/browser/renderer_host/compositor_impl_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698