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

Side by Side Diff: mojo/services/view_manager/root_node_manager.cc

Issue 418983002: Nukes view_manager namespace (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: resolve merge Created 6 years, 4 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 | Annotate | Revision Log
OLDNEW
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/root_node_manager.h" 5 #include "mojo/services/view_manager/root_node_manager.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "mojo/public/cpp/application/application_connection.h" 8 #include "mojo/public/cpp/application/application_connection.h"
9 #include "mojo/public/interfaces/service_provider/service_provider.mojom.h" 9 #include "mojo/public/interfaces/service_provider/service_provider.mojom.h"
10 #include "mojo/services/public/cpp/input_events/input_events_type_converters.h" 10 #include "mojo/services/public/cpp/input_events/input_events_type_converters.h"
11 #include "mojo/services/view_manager/view.h" 11 #include "mojo/services/view_manager/view.h"
12 #include "mojo/services/view_manager/view_manager_service_impl.h" 12 #include "mojo/services/view_manager/view_manager_service_impl.h"
13 #include "ui/aura/client/focus_client.h" 13 #include "ui/aura/client/focus_client.h"
14 #include "ui/aura/env.h" 14 #include "ui/aura/env.h"
15 15
16 namespace mojo { 16 namespace mojo {
17 namespace view_manager {
18 namespace service { 17 namespace service {
19 18
20 RootNodeManager::ScopedChange::ScopedChange( 19 RootNodeManager::ScopedChange::ScopedChange(
21 ViewManagerServiceImpl* connection, 20 ViewManagerServiceImpl* connection,
22 RootNodeManager* root, 21 RootNodeManager* root,
23 bool is_delete_node) 22 bool is_delete_node)
24 : root_(root), 23 : root_(root),
25 connection_id_(connection->id()), 24 connection_id_(connection->id()),
26 is_delete_node_(is_delete_node) { 25 is_delete_node_(is_delete_node) {
27 root_->PrepareForChange(this); 26 root_->PrepareForChange(this);
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after
293 const View* old_view) { 292 const View* old_view) {
294 ProcessNodeViewReplaced(node, new_view, old_view); 293 ProcessNodeViewReplaced(node, new_view, old_view);
295 } 294 }
296 295
297 void RootNodeManager::OnViewInputEvent(const View* view, 296 void RootNodeManager::OnViewInputEvent(const View* view,
298 const ui::Event* event) { 297 const ui::Event* event) {
299 DispatchViewInputEventToWindowManager(view, event); 298 DispatchViewInputEventToWindowManager(view, event);
300 } 299 }
301 300
302 } // namespace service 301 } // namespace service
303 } // namespace view_manager
304 } // namespace mojo 302 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/services/view_manager/root_node_manager.h ('k') | mojo/services/view_manager/root_view_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698