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

Unified Diff: cc/trees/layer_tree_host_common.h

Issue 511253003: Made Blink aware of top controls offset (Chromium-side) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 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: cc/trees/layer_tree_host_common.h
diff --git a/cc/trees/layer_tree_host_common.h b/cc/trees/layer_tree_host_common.h
index c86c4aa2c788a58820e1464923a07bcc706af6a2..39467277b2b24c8bea5e73c2e3f3943371c738c8 100644
--- a/cc/trees/layer_tree_host_common.h
+++ b/cc/trees/layer_tree_host_common.h
@@ -140,6 +140,7 @@ struct CC_EXPORT ScrollAndScaleSet {
std::vector<LayerTreeHostCommon::ScrollUpdateInfo> scrolls;
float page_scale_delta;
+ int top_controls_content_offset;
aelias_OOO_until_Jul13 2014/08/29 04:37:01 scrolls and page scale updates in this struct are
bokan 2014/08/29 18:02:14 Yup, though I think the value that gets sent to Bl
bokan 2014/09/02 18:57:16 Just realized doing this has the same problem with
ScopedPtrVector<SwapPromise> swap_promises;
};

Powered by Google App Engine
This is Rietveld 408576698