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

Unified Diff: services/view_manager/view_manager_service_impl.cc

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, 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 side-by-side diff with in-line comments
Download patch
Index: services/view_manager/view_manager_service_impl.cc
diff --git a/services/view_manager/view_manager_service_impl.cc b/services/view_manager/view_manager_service_impl.cc
index 2ed0193e8e9d5348a044fb14e62aa94bd2bced24..51e25c477d31042a5b533d8efb47a7d234551a80 100644
--- a/services/view_manager/view_manager_service_impl.cc
+++ b/services/view_manager/view_manager_service_impl.cc
@@ -175,6 +175,14 @@ void ViewManagerServiceImpl::ProcessViewBoundsChanged(
Rect::From(new_bounds));
}
+void ViewManagerServiceImpl::ProcessViewportMetricsChanged(
+ const mojo::ViewportMetrics& old_metrics,
+ const mojo::ViewportMetrics& new_metrics,
+ bool originated_change) {
+ client()->OnViewViewportMetricsChanged(old_metrics.Clone(),
+ new_metrics.Clone());
+}
+
void ViewManagerServiceImpl::ProcessWillChangeViewHierarchy(
const ServerView* view,
const ServerView* new_parent,
« no previous file with comments | « services/view_manager/view_manager_service_impl.h ('k') | services/view_manager/view_manager_service_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698