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

Unified Diff: cc/trees/layer_tree_host_common.h

Issue 2493853002: cc/blimp: Proto Cleanup. (Closed)
Patch Set: Rebase Created 4 years, 1 month 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/effect_node.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 a11fed78d62f2dc4a8e398db46e8548ea56c2666..0b7034c2434c93c26e96d8b2a4d9b28b4cbaf261 100644
--- a/cc/trees/layer_tree_host_common.h
+++ b/cc/trees/layer_tree_host_common.h
@@ -26,12 +26,6 @@
namespace cc {
-namespace proto {
-class ScrollUpdateInfo;
-class ScrollbarsUpdateInfo;
-class ScrollAndScaleSet;
-}
-
class LayerImpl;
class Layer;
class SwapPromise;
@@ -149,9 +143,6 @@ class CC_EXPORT LayerTreeHostCommon {
ScrollUpdateInfo();
bool operator==(const ScrollUpdateInfo& other) const;
-
- void ToProtobuf(proto::ScrollUpdateInfo* proto) const;
- void FromProtobuf(const proto::ScrollUpdateInfo& proto);
};
// Used to communicate scrollbar visibility from Impl thread to Blink.
@@ -167,9 +158,6 @@ class CC_EXPORT LayerTreeHostCommon {
ScrollbarsUpdateInfo(int layer_id, bool hidden);
bool operator==(const ScrollbarsUpdateInfo& other) const;
-
- void ToProtobuf(proto::ScrollbarsUpdateInfo* proto) const;
- void FromProtobuf(const proto::ScrollbarsUpdateInfo& proto);
};
};
@@ -205,10 +193,6 @@ struct CC_EXPORT ScrollAndScaleSet {
std::vector<LayerTreeHostCommon::ScrollbarsUpdateInfo> scrollbars;
std::vector<std::unique_ptr<SwapPromise>> swap_promises;
- bool EqualsForTesting(const ScrollAndScaleSet& other) const;
- void ToProtobuf(proto::ScrollAndScaleSet* proto) const;
- void FromProtobuf(const proto::ScrollAndScaleSet& proto);
-
private:
DISALLOW_COPY_AND_ASSIGN(ScrollAndScaleSet);
};
« no previous file with comments | « cc/trees/effect_node.cc ('k') | cc/trees/layer_tree_host_common.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698