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

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

Issue 640893003: Move mojo/services/public/cpp TypeConverters to mojo/converters. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Restore the directory and component structures and target names. Created 6 years, 2 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 | « mojo/services/view_manager/DEPS ('k') | mojo/services/view_manager/display_manager.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 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/connection_manager.h" 5 #include "mojo/services/view_manager/connection_manager.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "mojo/converters/input_events/input_events_type_converters.h"
8 #include "mojo/public/cpp/application/application_connection.h" 9 #include "mojo/public/cpp/application/application_connection.h"
9 #include "mojo/public/interfaces/application/service_provider.mojom.h" 10 #include "mojo/public/interfaces/application/service_provider.mojom.h"
10 #include "mojo/services/public/cpp/input_events/input_events_type_converters.h"
11 #include "mojo/services/view_manager/view_manager_service_impl.h" 11 #include "mojo/services/view_manager/view_manager_service_impl.h"
12 12
13 namespace mojo { 13 namespace mojo {
14 namespace service { 14 namespace service {
15 15
16 ConnectionManager::ScopedChange::ScopedChange( 16 ConnectionManager::ScopedChange::ScopedChange(
17 ViewManagerServiceImpl* connection, 17 ViewManagerServiceImpl* connection,
18 ConnectionManager* connection_manager, 18 ConnectionManager* connection_manager,
19 bool is_delete_view) 19 bool is_delete_view)
20 : connection_manager_(connection_manager), 20 : connection_manager_(connection_manager),
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after
288 void ConnectionManager::OnWillChangeViewVisibility(const ServerView* view) { 288 void ConnectionManager::OnWillChangeViewVisibility(const ServerView* view) {
289 for (ConnectionMap::iterator i = connection_map_.begin(); 289 for (ConnectionMap::iterator i = connection_map_.begin();
290 i != connection_map_.end(); 290 i != connection_map_.end();
291 ++i) { 291 ++i) {
292 i->second->ProcessWillChangeViewVisibility(view, IsChangeSource(i->first)); 292 i->second->ProcessWillChangeViewVisibility(view, IsChangeSource(i->first));
293 } 293 }
294 } 294 }
295 295
296 } // namespace service 296 } // namespace service
297 } // namespace mojo 297 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/services/view_manager/DEPS ('k') | mojo/services/view_manager/display_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698