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

Side by Side Diff: components/mus/ws/window_tree_host_connection.cc

Issue 1527183003: Change mojo enums to be scoped enums in the generated C++ bindings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mojo-binding-equals
Patch Set: rebase 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
« no previous file with comments | « components/mus/ws/window_tree_apptest.cc ('k') | components/mus/ws/window_tree_host_impl.cc » ('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 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 "components/mus/ws/window_tree_host_connection.h" 5 #include "components/mus/ws/window_tree_host_connection.h"
6 6
7 #include "components/mus/ws/connection_manager.h" 7 #include "components/mus/ws/connection_manager.h"
8 #include "components/mus/ws/window_tree_host_impl.h" 8 #include "components/mus/ws/window_tree_host_impl.h"
9 9
10 namespace mus { 10 namespace mus {
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 : WindowTreeHostConnection(std::move(host_impl), manager), 56 : WindowTreeHostConnection(std::move(host_impl), manager),
57 binding_(window_tree_host(), std::move(request)), 57 binding_(window_tree_host(), std::move(request)),
58 client_(std::move(client)) {} 58 client_(std::move(client)) {}
59 59
60 WindowTreeHostConnectionImpl::~WindowTreeHostConnectionImpl() {} 60 WindowTreeHostConnectionImpl::~WindowTreeHostConnectionImpl() {}
61 61
62 void WindowTreeHostConnectionImpl::OnDisplayInitialized() { 62 void WindowTreeHostConnectionImpl::OnDisplayInitialized() {
63 connection_manager()->AddHost(this); 63 connection_manager()->AddHost(this);
64 set_window_tree(connection_manager()->EmbedAtWindow( 64 set_window_tree(connection_manager()->EmbedAtWindow(
65 window_tree_host()->root_window(), 65 window_tree_host()->root_window(),
66 mojom::WindowTree::ACCESS_POLICY_EMBED_ROOT, std::move(client_))); 66 mojom::WindowTree::kAccessPolicyEmbedRoot, std::move(client_)));
67 } 67 }
68 68
69 } // namespace ws 69 } // namespace ws
70 70
71 } // namespace mus 71 } // namespace mus
OLDNEW
« no previous file with comments | « components/mus/ws/window_tree_apptest.cc ('k') | components/mus/ws/window_tree_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698