OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/view_manager/view_manager_connection.h" | 5 #include "mojo/services/view_manager/view_manager_connection.h" |
6 | 6 |
7 #include "base/stl_util.h" | 7 #include "base/stl_util.h" |
8 #include "mojo/geometry/geometry_type_converters.h" | |
9 #include "mojo/public/cpp/bindings/allocation_scope.h" | 8 #include "mojo/public/cpp/bindings/allocation_scope.h" |
| 9 #include "mojo/services/public/cpp/geometry/geometry_type_converters.h" |
10 #include "mojo/services/view_manager/node.h" | 10 #include "mojo/services/view_manager/node.h" |
11 #include "mojo/services/view_manager/root_node_manager.h" | 11 #include "mojo/services/view_manager/root_node_manager.h" |
12 #include "mojo/services/view_manager/view.h" | 12 #include "mojo/services/view_manager/view.h" |
13 #include "third_party/skia/include/core/SkBitmap.h" | 13 #include "third_party/skia/include/core/SkBitmap.h" |
14 #include "ui/aura/window.h" | 14 #include "ui/aura/window.h" |
15 #include "ui/gfx/codec/png_codec.h" | 15 #include "ui/gfx/codec/png_codec.h" |
16 | 16 |
17 namespace mojo { | 17 namespace mojo { |
18 namespace view_manager { | 18 namespace view_manager { |
19 namespace service { | 19 namespace service { |
(...skipping 614 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
634 AllocationScope allocation_scope; | 634 AllocationScope allocation_scope; |
635 client()->OnViewManagerConnectionEstablished( | 635 client()->OnViewManagerConnectionEstablished( |
636 id_, | 636 id_, |
637 root_node_manager_->next_server_change_id(), | 637 root_node_manager_->next_server_change_id(), |
638 NodesToINodes(to_send)); | 638 NodesToINodes(to_send)); |
639 } | 639 } |
640 | 640 |
641 } // namespace service | 641 } // namespace service |
642 } // namespace view_manager | 642 } // namespace view_manager |
643 } // namespace mojo | 643 } // namespace mojo |
OLD | NEW |