OLD | NEW |
1 // Copyright 2010 The Chromium Authors. All rights reserved. | 1 // Copyright 2010 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_H_ | 5 #ifndef CC_LAYERS_LAYER_H_ |
6 #define CC_LAYERS_LAYER_H_ | 6 #define CC_LAYERS_LAYER_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 524 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
535 gfx::Vector2d scroll_offset_; | 535 gfx::Vector2d scroll_offset_; |
536 gfx::Vector2d max_scroll_offset_; | 536 gfx::Vector2d max_scroll_offset_; |
537 bool scrollable_; | 537 bool scrollable_; |
538 bool should_scroll_on_main_thread_; | 538 bool should_scroll_on_main_thread_; |
539 bool have_wheel_event_handlers_; | 539 bool have_wheel_event_handlers_; |
540 Region non_fast_scrollable_region_; | 540 Region non_fast_scrollable_region_; |
541 Region touch_event_handler_region_; | 541 Region touch_event_handler_region_; |
542 gfx::PointF position_; | 542 gfx::PointF position_; |
543 gfx::PointF anchor_point_; | 543 gfx::PointF anchor_point_; |
544 SkColor background_color_; | 544 SkColor background_color_; |
545 std::string debug_name_; | |
546 CompositingReasons compositing_reasons_; | 545 CompositingReasons compositing_reasons_; |
547 float opacity_; | 546 float opacity_; |
548 skia::RefPtr<SkImageFilter> filter_; | 547 skia::RefPtr<SkImageFilter> filter_; |
549 FilterOperations filters_; | 548 FilterOperations filters_; |
550 FilterOperations background_filters_; | 549 FilterOperations background_filters_; |
551 float anchor_point_z_; | 550 float anchor_point_z_; |
552 bool is_container_for_fixed_position_layers_; | 551 bool is_container_for_fixed_position_layers_; |
553 LayerPositionConstraint position_constraint_; | 552 LayerPositionConstraint position_constraint_; |
554 bool is_drawable_; | 553 bool is_drawable_; |
555 bool hide_layer_and_subtree_; | 554 bool hide_layer_and_subtree_; |
(...skipping 28 matching lines...) Expand all Loading... |
584 DrawProperties<Layer, RenderSurface> draw_properties_; | 583 DrawProperties<Layer, RenderSurface> draw_properties_; |
585 | 584 |
586 PaintProperties paint_properties_; | 585 PaintProperties paint_properties_; |
587 | 586 |
588 DISALLOW_COPY_AND_ASSIGN(Layer); | 587 DISALLOW_COPY_AND_ASSIGN(Layer); |
589 }; | 588 }; |
590 | 589 |
591 } // namespace cc | 590 } // namespace cc |
592 | 591 |
593 #endif // CC_LAYERS_LAYER_H_ | 592 #endif // CC_LAYERS_LAYER_H_ |
OLD | NEW |