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

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

Issue 2860293002: Change cc::ElementId to be a uint64_t (Closed)
Patch Set: none Created 3 years, 7 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 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/trees/element_id.h" 9 #include "cc/trees/element_id.h"
10 #include "cc/trees/property_tree.h" 10 #include "cc/trees/property_tree.h"
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 value->SetBoolean("scrollable", scrollable); 55 value->SetBoolean("scrollable", scrollable);
56 MathUtil::AddToTracedValue("scroll_clip_layer_bounds", 56 MathUtil::AddToTracedValue("scroll_clip_layer_bounds",
57 scroll_clip_layer_bounds, value); 57 scroll_clip_layer_bounds, value);
58 MathUtil::AddToTracedValue("bounds", bounds, value); 58 MathUtil::AddToTracedValue("bounds", bounds, value);
59 MathUtil::AddToTracedValue("offset_to_transform_parent", 59 MathUtil::AddToTracedValue("offset_to_transform_parent",
60 offset_to_transform_parent, value); 60 offset_to_transform_parent, value);
61 value->SetBoolean("should_flatten", should_flatten); 61 value->SetBoolean("should_flatten", should_flatten);
62 value->SetBoolean("user_scrollable_horizontal", user_scrollable_horizontal); 62 value->SetBoolean("user_scrollable_horizontal", user_scrollable_horizontal);
63 value->SetBoolean("user_scrollable_vertical", user_scrollable_vertical); 63 value->SetBoolean("user_scrollable_vertical", user_scrollable_vertical);
64 64
65 element_id.AddToTracedValue(value); 65 value->SetInteger("element_id", element_id.id);
66 value->SetInteger("transform_id", transform_id); 66 value->SetInteger("transform_id", transform_id);
67 } 67 }
68 68
69 } // namespace cc 69 } // namespace cc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698