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

Side by Side Diff: cc/layers/layer.cc

Issue 1599673002: compositor-worker: Remove code from cc_blink (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix blink_platform_unittests Created 4 years, 11 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/blink/web_layer_impl.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 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 #include "cc/layers/layer.h" 5 #include "cc/layers/layer.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <algorithm> 10 #include <algorithm>
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 sorting_context_id_(0), 59 sorting_context_id_(0),
60 parent_(nullptr), 60 parent_(nullptr),
61 layer_tree_host_(nullptr), 61 layer_tree_host_(nullptr),
62 scroll_clip_layer_id_(INVALID_ID), 62 scroll_clip_layer_id_(INVALID_ID),
63 num_descendants_that_draw_content_(0), 63 num_descendants_that_draw_content_(0),
64 transform_tree_index_(-1), 64 transform_tree_index_(-1),
65 effect_tree_index_(-1), 65 effect_tree_index_(-1),
66 clip_tree_index_(-1), 66 clip_tree_index_(-1),
67 property_tree_sequence_number_(-1), 67 property_tree_sequence_number_(-1),
68 element_id_(0), 68 element_id_(0),
69 mutable_properties_(kMutablePropertyNone), 69 mutable_properties_(MutableProperty::kNone),
70 main_thread_scrolling_reasons_( 70 main_thread_scrolling_reasons_(
71 MainThreadScrollingReason::kNotScrollingOnMain), 71 MainThreadScrollingReason::kNotScrollingOnMain),
72 should_flatten_transform_from_property_tree_(false), 72 should_flatten_transform_from_property_tree_(false),
73 have_wheel_event_handlers_(false), 73 have_wheel_event_handlers_(false),
74 have_scroll_event_handlers_(false), 74 have_scroll_event_handlers_(false),
75 user_scrollable_horizontal_(true), 75 user_scrollable_horizontal_(true),
76 user_scrollable_vertical_(true), 76 user_scrollable_vertical_(true),
77 is_root_for_isolated_group_(false), 77 is_root_for_isolated_group_(false),
78 is_container_for_fixed_position_layers_(false), 78 is_container_for_fixed_position_layers_(false),
79 is_drawable_(false), 79 is_drawable_(false),
(...skipping 1952 matching lines...) Expand 10 before | Expand all | Expand 10 after
2032 this, layer_tree_host_->property_trees()->transform_tree); 2032 this, layer_tree_host_->property_trees()->transform_tree);
2033 } 2033 }
2034 2034
2035 gfx::Transform Layer::screen_space_transform() const { 2035 gfx::Transform Layer::screen_space_transform() const {
2036 DCHECK_NE(transform_tree_index_, -1); 2036 DCHECK_NE(transform_tree_index_, -1);
2037 return ScreenSpaceTransformFromPropertyTrees( 2037 return ScreenSpaceTransformFromPropertyTrees(
2038 this, layer_tree_host_->property_trees()->transform_tree); 2038 this, layer_tree_host_->property_trees()->transform_tree);
2039 } 2039 }
2040 2040
2041 } // namespace cc 2041 } // namespace cc
OLDNEW
« no previous file with comments | « cc/blink/web_layer_impl.cc ('k') | cc/layers/layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698