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

Unified Diff: cc/trees/layer_tree_host_common.h

Issue 2641023002: cc: Remove ReflectedMainFrameState. (Closed)
Patch Set: Created 3 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/trees/layer_tree.cc ('k') | cc/trees/layer_tree_host_common.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 0b7034c2434c93c26e96d8b2a4d9b28b4cbaf261..cdf556969c0fa2b29e21f03540f0c356e679976f 100644
--- a/cc/trees/layer_tree_host_common.h
+++ b/cc/trees/layer_tree_host_common.h
@@ -161,21 +161,6 @@ class CC_EXPORT LayerTreeHostCommon {
};
};
-// A container for the state that was reported to the main thread during
-// BeginMainFrame, but could not be applied/resolved on the main thread.
-struct CC_EXPORT ReflectedMainFrameState {
- struct ScrollUpdate {
- int layer_id = Layer::LayerIdLabels::INVALID_ID;
- gfx::Vector2dF scroll_delta;
- };
-
- ReflectedMainFrameState();
- ~ReflectedMainFrameState();
-
- std::vector<ScrollUpdate> scrolls;
- float page_scale_delta;
-};
-
struct CC_EXPORT ScrollAndScaleSet {
ScrollAndScaleSet();
~ScrollAndScaleSet();
« no previous file with comments | « cc/trees/layer_tree.cc ('k') | cc/trees/layer_tree_host_common.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698