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

Unified Diff: services/view_manager/test_change_tracker.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, 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/server_view_delegate.h ('k') | services/view_manager/test_change_tracker.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/view_manager/test_change_tracker.h
diff --git a/services/view_manager/test_change_tracker.h b/services/view_manager/test_change_tracker.h
index f6c9e28bbbbc1d2a1d0512fec6e50a2105939376..99e207c6c537ef0cbc9900cf43c8ed128dbd8ee7 100644
--- a/services/view_manager/test_change_tracker.h
+++ b/services/view_manager/test_change_tracker.h
@@ -21,6 +21,7 @@ enum ChangeType {
CHANGE_TYPE_EMBEDDED_APP_DISCONNECTED,
// TODO(sky): NODE->VIEW.
CHANGE_TYPE_NODE_BOUNDS_CHANGED,
+ CHANGE_TYPE_NODE_VIEWPORT_METRICS_CHANGED,
CHANGE_TYPE_NODE_HIERARCHY_CHANGED,
CHANGE_TYPE_NODE_REORDERED,
CHANGE_TYPE_NODE_VISIBILITY_CHANGED,
@@ -124,6 +125,8 @@ class TestChangeTracker {
void OnViewBoundsChanged(mojo::Id view_id,
mojo::RectPtr old_bounds,
mojo::RectPtr new_bounds);
+ void OnViewViewportMetricsChanged(mojo::ViewportMetricsPtr old_bounds,
+ mojo::ViewportMetricsPtr new_bounds);
void OnViewHierarchyChanged(mojo::Id view_id,
mojo::Id new_parent_id,
mojo::Id old_parent_id,
« no previous file with comments | « services/view_manager/server_view_delegate.h ('k') | services/view_manager/test_change_tracker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698