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

Unified Diff: services/view_manager/view_manager_service_unittest.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
« no previous file with comments | « services/view_manager/view_manager_service_impl.cc ('k') | sky/viewer/document_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/view_manager/view_manager_service_unittest.cc
diff --git a/services/view_manager/view_manager_service_unittest.cc b/services/view_manager/view_manager_service_unittest.cc
index e1e88930ffdc51242f8718bbd8beab6b67c147fe..b492a1430a99e78f7b56e4e2c52dde2ca5e7f148 100644
--- a/services/view_manager/view_manager_service_unittest.cc
+++ b/services/view_manager/view_manager_service_unittest.cc
@@ -64,6 +64,12 @@ class TestViewManagerClient : public mojo::ViewManagerClient {
mojo::RectPtr new_bounds) override {
tracker_.OnViewBoundsChanged(view, old_bounds.Pass(), new_bounds.Pass());
}
+ void OnViewViewportMetricsChanged(
+ mojo::ViewportMetricsPtr old_metrics,
+ mojo::ViewportMetricsPtr new_metrics) override {
+ tracker_.OnViewViewportMetricsChanged(old_metrics.Pass(),
+ new_metrics.Pass());
+ }
void OnViewHierarchyChanged(uint32_t view,
uint32_t new_parent,
uint32_t old_parent,
« no previous file with comments | « services/view_manager/view_manager_service_impl.cc ('k') | sky/viewer/document_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698