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

Side by Side Diff: cc/trees/transform_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/scroll_node.cc ('k') | content/renderer/BUILD.gn » ('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/layers/layer.h" 7 #include "cc/layers/layer.h"
8 #include "cc/proto/gfx_conversions.h"
9 #include "cc/trees/property_tree.h" 8 #include "cc/trees/property_tree.h"
10 #include "cc/trees/transform_node.h" 9 #include "cc/trees/transform_node.h"
11 #include "ui/gfx/geometry/point3_f.h" 10 #include "ui/gfx/geometry/point3_f.h"
12 11
13 namespace cc { 12 namespace cc {
14 13
15 TransformNode::TransformNode() 14 TransformNode::TransformNode()
16 : id(TransformTree::kInvalidNodeId), 15 : id(TransformTree::kInvalidNodeId),
17 parent_id(TransformTree::kInvalidNodeId), 16 parent_id(TransformTree::kInvalidNodeId),
18 owning_layer_id(Layer::INVALID_ID), 17 owning_layer_id(Layer::INVALID_ID),
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 127
129 bool TransformCachedNodeData::operator==( 128 bool TransformCachedNodeData::operator==(
130 const TransformCachedNodeData& other) const { 129 const TransformCachedNodeData& other) const {
131 return from_screen == other.from_screen && to_screen == other.to_screen && 130 return from_screen == other.from_screen && to_screen == other.to_screen &&
132 target_id == other.target_id && 131 target_id == other.target_id &&
133 content_target_id == other.content_target_id && 132 content_target_id == other.content_target_id &&
134 is_showing_backface == other.is_showing_backface; 133 is_showing_backface == other.is_showing_backface;
135 } 134 }
136 135
137 } // namespace cc 136 } // namespace cc
OLDNEW
« no previous file with comments | « cc/trees/scroll_node.cc ('k') | content/renderer/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698