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

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

Issue 2753933005: cc: Move Layer Id to Node Map to Individual Property Tree Private (Closed)
Patch Set: renaming clean up 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.cc ('k') | cc/layers/layer_impl.cc » ('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 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 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_IMPL_H_ 5 #ifndef CC_LAYERS_LAYER_IMPL_H_
6 #define CC_LAYERS_LAYER_IMPL_H_ 6 #define CC_LAYERS_LAYER_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 521 matching lines...) Expand 10 before | Expand all | Expand 10 after
532 int clip_tree_index_; 532 int clip_tree_index_;
533 int scroll_tree_index_; 533 int scroll_tree_index_;
534 534
535 protected: 535 protected:
536 friend class TreeSynchronizer; 536 friend class TreeSynchronizer;
537 537
538 DrawMode current_draw_mode_; 538 DrawMode current_draw_mode_;
539 539
540 private: 540 private:
541 PropertyTrees* GetPropertyTrees() const; 541 PropertyTrees* GetPropertyTrees() const;
542 ClipTree& GetClipTree() const;
542 EffectTree& GetEffectTree() const; 543 EffectTree& GetEffectTree() const;
543 ScrollTree& GetScrollTree() const; 544 ScrollTree& GetScrollTree() const;
544 TransformTree& GetTransformTree() const; 545 TransformTree& GetTransformTree() const;
545 546
546 ElementId element_id_; 547 ElementId element_id_;
547 uint32_t mutable_properties_; 548 uint32_t mutable_properties_;
548 // Rect indicating what was repainted/updated during update. 549 // Rect indicating what was repainted/updated during update.
549 // Note that plugin layers bypass this and leave it empty. 550 // Note that plugin layers bypass this and leave it empty.
550 // This is in the layer's space. 551 // This is in the layer's space.
551 gfx::Rect update_rect_; 552 gfx::Rect update_rect_;
(...skipping 16 matching lines...) Expand all
568 bool has_will_change_transform_hint_ : 1; 569 bool has_will_change_transform_hint_ : 1;
569 bool needs_push_properties_ : 1; 570 bool needs_push_properties_ : 1;
570 bool scrollbars_hidden_ : 1; 571 bool scrollbars_hidden_ : 1;
571 572
572 DISALLOW_COPY_AND_ASSIGN(LayerImpl); 573 DISALLOW_COPY_AND_ASSIGN(LayerImpl);
573 }; 574 };
574 575
575 } // namespace cc 576 } // namespace cc
576 577
577 #endif // CC_LAYERS_LAYER_IMPL_H_ 578 #endif // CC_LAYERS_LAYER_IMPL_H_
OLDNEW
« no previous file with comments | « cc/layers/layer.cc ('k') | cc/layers/layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698