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

Side by Side Diff: mojo/services/gfx/composition/cpp/formatting.cc

Issue 1774373002: Mozart: Implement hit testing. (Closed) Base URL: git@github.com:domokit/mojo.git@moz-4
Patch Set: Created 4 years, 9 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "mojo/services/gfx/composition/cpp/formatting.h" 5 #include "mojo/services/gfx/composition/cpp/formatting.h"
6 6
7 #include <ostream> 7 #include <ostream>
8 8
9 namespace mojo { 9 namespace mojo {
10 namespace gfx { 10 namespace gfx {
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
233 233
234 std::ostream& operator<<(std::ostream& os, 234 std::ostream& operator<<(std::ostream& os,
235 const mojo::gfx::composition::SceneHit& value) { 235 const mojo::gfx::composition::SceneHit& value) {
236 return os << "{scene_token=" << value.scene_token 236 return os << "{scene_token=" << value.scene_token
237 << ", scene_version=" << value.scene_version 237 << ", scene_version=" << value.scene_version
238 << ", hits=" << value.hits << "}"; 238 << ", hits=" << value.hits << "}";
239 } 239 }
240 240
241 std::ostream& operator<<(std::ostream& os, 241 std::ostream& operator<<(std::ostream& os,
242 const mojo::gfx::composition::NodeHit& value) { 242 const mojo::gfx::composition::NodeHit& value) {
243 return os << "{node_id=" << value.node_id 243 return os << "{node_id=" << value.node_id << ", transform=" << value.transform
244 << ", intersection=" << value.intersection << "}"; 244 << "}";
245 } 245 }
246 246
247 } // namespace composition 247 } // namespace composition
248 } // namespace gfx 248 } // namespace gfx
249 } // namespace mojo 249 } // namespace mojo
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698