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 de96d955c5a06644c7efa1ad7e676fb0b0b56fb5..8bd1b97a0a3bf8ee05c64c9aa96a92ef2cfe46a0 100644 |
--- a/cc/trees/layer_tree_host_common.h |
+++ b/cc/trees/layer_tree_host_common.h |
@@ -177,6 +177,7 @@ struct CC_EXPORT ScrollAndScaleSet { |
float top_controls_delta; |
std::vector<LayerTreeHostCommon::ScrollbarsUpdateInfo> scrollbars; |
std::vector<std::unique_ptr<SwapPromise>> swap_promises; |
+ uint32_t scroll_source_info; |
danakj
2017/03/10 20:52:48
Why did you go with a bitmask here instead of 2 bo
sahel
2017/03/13 20:13:43
If other types of scrolling (e.g. keyboard) are ha
danakj
2017/03/13 20:16:23
I don't see how a bitflag is any more extendable t
sahel
2017/03/13 21:03:52
what I meant is: if I want to add other sources of
danakj
2017/03/13 22:29:15
Optimize for the reader, not the writer. A uint32_
sahel
2017/03/16 12:58:26
Done.
|
private: |
DISALLOW_COPY_AND_ASSIGN(ScrollAndScaleSet); |