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

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

Issue 951673002: Revert "Pull chromium at 2c3ffb2355a27c32f45e508ef861416b820c823b" (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 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 <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 649 matching lines...) Expand 10 before | Expand all | Expand 10 after
660 // Properties synchronized from the associated Layer. 660 // Properties synchronized from the associated Layer.
661 gfx::Point3F transform_origin_; 661 gfx::Point3F transform_origin_;
662 gfx::Size bounds_; 662 gfx::Size bounds_;
663 ScrollOffsetDelegate* scroll_offset_delegate_; 663 ScrollOffsetDelegate* scroll_offset_delegate_;
664 LayerImpl* scroll_clip_layer_; 664 LayerImpl* scroll_clip_layer_;
665 bool scrollable_ : 1; 665 bool scrollable_ : 1;
666 bool should_scroll_on_main_thread_ : 1; 666 bool should_scroll_on_main_thread_ : 1;
667 bool have_wheel_event_handlers_ : 1; 667 bool have_wheel_event_handlers_ : 1;
668 bool have_scroll_event_handlers_ : 1; 668 bool have_scroll_event_handlers_ : 1;
669 669
670 static_assert(SCROLL_BLOCKS_ON_MAX < (1 << 3), "ScrollBlocksOn too big"); 670 static_assert(ScrollBlocksOnMax < (1 << 3), "ScrollBlocksOn too big");
671 ScrollBlocksOn scroll_blocks_on_ : 3; 671 ScrollBlocksOn scroll_blocks_on_ : 3;
672 672
673 bool user_scrollable_horizontal_ : 1; 673 bool user_scrollable_horizontal_ : 1;
674 bool user_scrollable_vertical_ : 1; 674 bool user_scrollable_vertical_ : 1;
675 bool stacking_order_changed_ : 1; 675 bool stacking_order_changed_ : 1;
676 // Whether the "back" of this layer should draw. 676 // Whether the "back" of this layer should draw.
677 bool double_sided_ : 1; 677 bool double_sided_ : 1;
678 bool should_flatten_transform_ : 1; 678 bool should_flatten_transform_ : 1;
679 679
680 // Tracks if drawing-related properties have changed since last redraw. 680 // Tracks if drawing-related properties have changed since last redraw.
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
762 762
763 std::vector<FrameTimingRequest> frame_timing_requests_; 763 std::vector<FrameTimingRequest> frame_timing_requests_;
764 bool frame_timing_requests_dirty_; 764 bool frame_timing_requests_dirty_;
765 765
766 DISALLOW_COPY_AND_ASSIGN(LayerImpl); 766 DISALLOW_COPY_AND_ASSIGN(LayerImpl);
767 }; 767 };
768 768
769 } // namespace cc 769 } // namespace cc
770 770
771 #endif // CC_LAYERS_LAYER_IMPL_H_ 771 #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