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

Unified Diff: cc/layers/layer_position_constraint.h

Issue 1057283003: Remove parts of //cc we aren't using (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 9 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_perftest.cc ('k') | cc/layers/layer_position_constraint.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/layer_position_constraint.h
diff --git a/cc/layers/layer_position_constraint.h b/cc/layers/layer_position_constraint.h
deleted file mode 100644
index 9a5751377369e67ba229ccbddd02fa2224182782..0000000000000000000000000000000000000000
--- a/cc/layers/layer_position_constraint.h
+++ /dev/null
@@ -1,38 +0,0 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CC_LAYERS_LAYER_POSITION_CONSTRAINT_H_
-#define CC_LAYERS_LAYER_POSITION_CONSTRAINT_H_
-
-#include "cc/base/cc_export.h"
-
-namespace cc {
-
-class CC_EXPORT LayerPositionConstraint {
- public:
- LayerPositionConstraint();
-
- void set_is_fixed_position(bool fixed) { is_fixed_position_ = fixed; }
- bool is_fixed_position() const { return is_fixed_position_; }
- void set_is_fixed_to_right_edge(bool fixed) {
- is_fixed_to_right_edge_ = fixed;
- }
- bool is_fixed_to_right_edge() const { return is_fixed_to_right_edge_; }
- void set_is_fixed_to_bottom_edge(bool fixed) {
- is_fixed_to_bottom_edge_ = fixed;
- }
- bool is_fixed_to_bottom_edge() const { return is_fixed_to_bottom_edge_; }
-
- bool operator==(const LayerPositionConstraint&) const;
- bool operator!=(const LayerPositionConstraint&) const;
-
- private:
- bool is_fixed_position_ : 1;
- bool is_fixed_to_right_edge_ : 1;
- bool is_fixed_to_bottom_edge_ : 1;
-};
-
-} // namespace cc
-
-#endif // CC_LAYERS_LAYER_POSITION_CONSTRAINT_H_
« no previous file with comments | « cc/layers/layer_perftest.cc ('k') | cc/layers/layer_position_constraint.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698