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

Side by Side Diff: services/view_manager/connection_manager.h

Issue 880743002: Plumb ViewportMetrics change notifications around the world and back. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Fix typo Created 5 years, 10 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
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 #ifndef SERVICES_VIEW_MANAGER_CONNECTION_MANAGER_H_ 5 #ifndef SERVICES_VIEW_MANAGER_CONNECTION_MANAGER_H_
6 #define SERVICES_VIEW_MANAGER_CONNECTION_MANAGER_H_ 6 #define SERVICES_VIEW_MANAGER_CONNECTION_MANAGER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 10
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 123
124 // WindowManagerInternalClient implementation helper; see mojom for details. 124 // WindowManagerInternalClient implementation helper; see mojom for details.
125 bool CloneAndAnimate(const ViewId& view_id); 125 bool CloneAndAnimate(const ViewId& view_id);
126 126
127 // These functions trivially delegate to all ViewManagerServiceImpls, which in 127 // These functions trivially delegate to all ViewManagerServiceImpls, which in
128 // term notify their clients. 128 // term notify their clients.
129 void ProcessViewDestroyed(ServerView* view); 129 void ProcessViewDestroyed(ServerView* view);
130 void ProcessViewBoundsChanged(const ServerView* view, 130 void ProcessViewBoundsChanged(const ServerView* view,
131 const gfx::Rect& old_bounds, 131 const gfx::Rect& old_bounds,
132 const gfx::Rect& new_bounds); 132 const gfx::Rect& new_bounds);
133 void ProcessViewportMetricsChanged(const mojo::ViewportMetrics& old_metrics,
134 const mojo::ViewportMetrics& new_metrics);
133 void ProcessWillChangeViewHierarchy(const ServerView* view, 135 void ProcessWillChangeViewHierarchy(const ServerView* view,
134 const ServerView* new_parent, 136 const ServerView* new_parent,
135 const ServerView* old_parent); 137 const ServerView* old_parent);
136 void ProcessViewHierarchyChanged(const ServerView* view, 138 void ProcessViewHierarchyChanged(const ServerView* view,
137 const ServerView* new_parent, 139 const ServerView* new_parent,
138 const ServerView* old_parent); 140 const ServerView* old_parent);
139 void ProcessViewReorder(const ServerView* view, 141 void ProcessViewReorder(const ServerView* view,
140 const ServerView* relative_view, 142 const ServerView* relative_view,
141 const mojo::OrderDirection direction); 143 const mojo::OrderDirection direction);
142 void ProcessViewDeleted(const ViewId& view); 144 void ProcessViewDeleted(const ViewId& view);
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
225 base::RepeatingTimer<ConnectionManager> animation_timer_; 227 base::RepeatingTimer<ConnectionManager> animation_timer_;
226 228
227 AnimationRunner animation_runner_; 229 AnimationRunner animation_runner_;
228 230
229 DISALLOW_COPY_AND_ASSIGN(ConnectionManager); 231 DISALLOW_COPY_AND_ASSIGN(ConnectionManager);
230 }; 232 };
231 233
232 } // namespace view_manager 234 } // namespace view_manager
233 235
234 #endif // SERVICES_VIEW_MANAGER_CONNECTION_MANAGER_H_ 236 #endif // SERVICES_VIEW_MANAGER_CONNECTION_MANAGER_H_
OLDNEW
« no previous file with comments | « mojo/services/view_manager/public/interfaces/view_manager.mojom ('k') | services/view_manager/connection_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698