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

Side by Side Diff: mojo/services/ui/views/cpp/logging.cc

Issue 1552043002: Make Mozart view manager use the new compositor. (Closed) Base URL: git@github.com:domokit/mojo.git@moz-12
Patch Set: 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
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "mojo/services/ui/views/cpp/logging.h"
6
7 #include <ostream>
8
9 namespace mojo {
10 namespace ui {
11
12 std::ostream& operator<<(std::ostream& os, const mojo::ui::ViewToken& value) {
13 return os << "{value=" << value.value << "}";
14 }
15
16 std::ostream& operator<<(std::ostream& os,
17 const mojo::ui::ViewTreeToken& value) {
18 return os << "{value=" << value.value << "}";
19 }
20
21 std::ostream& operator<<(std::ostream& os,
22 const mojo::ui::BoxConstraints& value) {
23 return os << "{min_width=" << value.min_width
24 << ", max_width=" << value.max_width
25 << ", min_height=" << value.min_height
26 << ", max_height=" << value.max_height << "}";
27 }
28
29 std::ostream& operator<<(std::ostream& os,
30 const mojo::ui::ViewLayoutParams& value) {
31 return os << "{constraints=" << value.constraints
32 << ", device_pixel_ratio=" << value.device_pixel_ratio << "}";
33 }
34
35 std::ostream& operator<<(std::ostream& os,
36 const mojo::ui::ViewLayoutInfo& value) {
37 return os << "{size=" << value.size << ", scene_token=" << value.scene_token
38 << "}";
39 }
40
41 std::ostream& operator<<(std::ostream& os,
42 const mojo::ui::ViewLayoutResult& value) {
43 return os << "{size=" << value.size << "}";
44 }
45
46 std::ostream& operator<<(std::ostream& os,
47 const mojo::ui::ViewAssociateInfo& value) {
48 return os << "{view_service_names=" << value.view_service_names
49 << ", view_tree_service_names=" << value.view_tree_service_names
50 << "}";
51 }
52
53 } // namespace ui
54 } // namespace mojo
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698