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

Side by Side Diff: cc/trees/scroll_node.cc

Issue 2646623002: cc: Remove all blimp code from cc. (Closed)
Patch Set: test build Created 3 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/trees/property_tree.cc ('k') | cc/trees/transform_node.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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 "base/trace_event/trace_event_argument.h" 5 #include "base/trace_event/trace_event_argument.h"
6 #include "cc/base/math_util.h" 6 #include "cc/base/math_util.h"
7 #include "cc/input/main_thread_scrolling_reason.h" 7 #include "cc/input/main_thread_scrolling_reason.h"
8 #include "cc/layers/layer.h" 8 #include "cc/layers/layer.h"
9 #include "cc/proto/gfx_conversions.h"
10 #include "cc/trees/element_id.h" 9 #include "cc/trees/element_id.h"
11 #include "cc/trees/property_tree.h" 10 #include "cc/trees/property_tree.h"
12 #include "cc/trees/scroll_node.h" 11 #include "cc/trees/scroll_node.h"
13 12
14 namespace cc { 13 namespace cc {
15 14
16 ScrollNode::ScrollNode() 15 ScrollNode::ScrollNode()
17 : id(ScrollTree::kInvalidNodeId), 16 : id(ScrollTree::kInvalidNodeId),
18 parent_id(ScrollTree::kInvalidNodeId), 17 parent_id(ScrollTree::kInvalidNodeId),
19 owning_layer_id(Layer::INVALID_ID), 18 owning_layer_id(Layer::INVALID_ID),
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 offset_to_transform_parent, value); 64 offset_to_transform_parent, value);
66 value->SetBoolean("should_flatten", should_flatten); 65 value->SetBoolean("should_flatten", should_flatten);
67 value->SetBoolean("user_scrollable_horizontal", user_scrollable_horizontal); 66 value->SetBoolean("user_scrollable_horizontal", user_scrollable_horizontal);
68 value->SetBoolean("user_scrollable_vertical", user_scrollable_vertical); 67 value->SetBoolean("user_scrollable_vertical", user_scrollable_vertical);
69 68
70 element_id.AddToTracedValue(value); 69 element_id.AddToTracedValue(value);
71 value->SetInteger("transform_id", transform_id); 70 value->SetInteger("transform_id", transform_id);
72 } 71 }
73 72
74 } // namespace cc 73 } // namespace cc
OLDNEW
« no previous file with comments | « cc/trees/property_tree.cc ('k') | cc/trees/transform_node.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698