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

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

Issue 2769793002: Implement CSS: scroll-boundary-behavior (Closed)
Patch Set: Update promises tests and Scroll Manager Created 3 years, 5 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
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
11 #include <map> 11 #include <map>
12 #include <memory> 12 #include <memory>
13 #include <set> 13 #include <set>
14 #include <string> 14 #include <string>
15 #include <vector> 15 #include <vector>
16 16
17 #include "base/logging.h" 17 #include "base/logging.h"
18 #include "base/macros.h" 18 #include "base/macros.h"
19 #include "base/memory/ptr_util.h" 19 #include "base/memory/ptr_util.h"
20 #include "base/values.h" 20 #include "base/values.h"
21 #include "cc/base/region.h" 21 #include "cc/base/region.h"
22 #include "cc/base/synced_property.h" 22 #include "cc/base/synced_property.h"
23 #include "cc/cc_export.h" 23 #include "cc/cc_export.h"
24 #include "cc/debug/layer_tree_debug_state.h" 24 #include "cc/debug/layer_tree_debug_state.h"
25 #include "cc/input/input_handler.h" 25 #include "cc/input/input_handler.h"
26 #include "cc/input/scroll_boundary_behavior.h"
26 #include "cc/layers/draw_mode.h" 27 #include "cc/layers/draw_mode.h"
27 #include "cc/layers/draw_properties.h" 28 #include "cc/layers/draw_properties.h"
28 #include "cc/layers/layer_collections.h" 29 #include "cc/layers/layer_collections.h"
29 #include "cc/layers/layer_impl_test_properties.h" 30 #include "cc/layers/layer_impl_test_properties.h"
30 #include "cc/layers/layer_position_constraint.h" 31 #include "cc/layers/layer_position_constraint.h"
31 #include "cc/layers/performance_properties.h" 32 #include "cc/layers/performance_properties.h"
32 #include "cc/layers/render_surface_impl.h" 33 #include "cc/layers/render_surface_impl.h"
33 #include "cc/layers/touch_action_region.h" 34 #include "cc/layers/touch_action_region.h"
34 #include "cc/quads/shared_quad_state.h" 35 #include "cc/quads/shared_quad_state.h"
35 #include "cc/resources/resource_provider.h" 36 #include "cc/resources/resource_provider.h"
(...skipping 522 matching lines...) Expand 10 before | Expand all | Expand 10 after
558 bool needs_show_scrollbars_ : 1; 559 bool needs_show_scrollbars_ : 1;
559 560
560 // This is set for layers that have a property because of which they are not 561 // This is set for layers that have a property because of which they are not
561 // drawn (singular transforms), but they can become visible soon (the property 562 // drawn (singular transforms), but they can become visible soon (the property
562 // is being animated). For this reason, while these layers are not drawn, they 563 // is being animated). For this reason, while these layers are not drawn, they
563 // are still rasterized. 564 // are still rasterized.
564 bool raster_even_if_not_drawn_ : 1; 565 bool raster_even_if_not_drawn_ : 1;
565 566
566 bool has_transform_node_ : 1; 567 bool has_transform_node_ : 1;
567 568
569 ScrollBoundaryBehavior scroll_boundary_behavior_;
ajuma 2017/07/14 15:04:48 I think this can be removed now. (Also the #includ
sunyunjia 2017/07/14 22:07:23 Done.
570
568 DISALLOW_COPY_AND_ASSIGN(LayerImpl); 571 DISALLOW_COPY_AND_ASSIGN(LayerImpl);
569 }; 572 };
570 573
571 } // namespace cc 574 } // namespace cc
572 575
573 #endif // CC_LAYERS_LAYER_IMPL_H_ 576 #endif // CC_LAYERS_LAYER_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698