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

Unified Diff: cc/layers/layer_position_constraint.cc

Issue 2646623002: cc: Remove all blimp code from cc. (Closed)
Patch Set: test build 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/layers/layer_position_constraint.h ('k') | cc/layers/layer_position_constraint_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/layer_position_constraint.cc
diff --git a/cc/layers/layer_position_constraint.cc b/cc/layers/layer_position_constraint.cc
index 5d8824e24213b68658a66d176fadfb8246c32c5e..183b6b5b53e90aa2b3562e6d96bea0b56b387e98 100644
--- a/cc/layers/layer_position_constraint.cc
+++ b/cc/layers/layer_position_constraint.cc
@@ -3,7 +3,6 @@
// found in the LICENSE file.
#include "cc/layers/layer_position_constraint.h"
-#include "cc/proto/layer_position_constraint.pb.h"
namespace cc {
@@ -13,20 +12,6 @@ LayerPositionConstraint::LayerPositionConstraint()
is_fixed_to_bottom_edge_(false) {
}
-void LayerPositionConstraint::ToProtobuf(
- proto::LayerPositionConstraint* proto) const {
- proto->set_is_fixed_position(is_fixed_position_);
- proto->set_is_fixed_to_right_edge(is_fixed_to_right_edge_);
- proto->set_is_fixed_to_bottom_edge(is_fixed_to_bottom_edge_);
-}
-
-void LayerPositionConstraint::FromProtobuf(
- const proto::LayerPositionConstraint& proto) {
- is_fixed_position_ = proto.is_fixed_position();
- is_fixed_to_right_edge_ = proto.is_fixed_to_right_edge();
- is_fixed_to_bottom_edge_ = proto.is_fixed_to_bottom_edge();
-}
-
bool LayerPositionConstraint::operator==(
const LayerPositionConstraint& other) const {
if (!is_fixed_position_ && !other.is_fixed_position_)
« no previous file with comments | « cc/layers/layer_position_constraint.h ('k') | cc/layers/layer_position_constraint_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698