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

Side by Side Diff: cc/layers/layer_position_constraint.h

Issue 2748263002: Move cc::DisplayItemList and related classes into cc/paint/ (Closed)
Patch Set: Merge branch 'master' into ccpaint Created 3 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 unified diff | Download patch
« no previous file with comments | « cc/layers/layer_list_iterator.h ('k') | cc/layers/layer_sticky_position_constraint.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CC_LAYERS_LAYER_POSITION_CONSTRAINT_H_ 5 #ifndef CC_LAYERS_LAYER_POSITION_CONSTRAINT_H_
6 #define CC_LAYERS_LAYER_POSITION_CONSTRAINT_H_ 6 #define CC_LAYERS_LAYER_POSITION_CONSTRAINT_H_
7 7
8 #include "cc/base/cc_export.h" 8 #include "cc/cc_export.h"
9 9
10 namespace cc { 10 namespace cc {
11 11
12 class CC_EXPORT LayerPositionConstraint { 12 class CC_EXPORT LayerPositionConstraint {
13 public: 13 public:
14 LayerPositionConstraint(); 14 LayerPositionConstraint();
15 15
16 void set_is_fixed_position(bool fixed) { is_fixed_position_ = fixed; } 16 void set_is_fixed_position(bool fixed) { is_fixed_position_ = fixed; }
17 bool is_fixed_position() const { return is_fixed_position_; } 17 bool is_fixed_position() const { return is_fixed_position_; }
18 void set_is_fixed_to_right_edge(bool fixed) { 18 void set_is_fixed_to_right_edge(bool fixed) {
(...skipping 10 matching lines...) Expand all
29 29
30 private: 30 private:
31 bool is_fixed_position_ : 1; 31 bool is_fixed_position_ : 1;
32 bool is_fixed_to_right_edge_ : 1; 32 bool is_fixed_to_right_edge_ : 1;
33 bool is_fixed_to_bottom_edge_ : 1; 33 bool is_fixed_to_bottom_edge_ : 1;
34 }; 34 };
35 35
36 } // namespace cc 36 } // namespace cc
37 37
38 #endif // CC_LAYERS_LAYER_POSITION_CONSTRAINT_H_ 38 #endif // CC_LAYERS_LAYER_POSITION_CONSTRAINT_H_
OLDNEW
« no previous file with comments | « cc/layers/layer_list_iterator.h ('k') | cc/layers/layer_sticky_position_constraint.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698