Index: mojo/services/view_manager/view_manager_connection.h |
diff --git a/mojo/services/view_manager/view_manager_connection.h b/mojo/services/view_manager/view_manager_connection.h |
index 7aae7d8bf597e55da8929ddf1a042cb24b148110..5653ac51890ff67ad80a3eb318911d6ee4246d30 100644 |
--- a/mojo/services/view_manager/view_manager_connection.h |
+++ b/mojo/services/view_manager/view_manager_connection.h |
@@ -16,6 +16,10 @@ |
#include "mojo/services/view_manager/node_delegate.h" |
#include "mojo/services/view_manager/view_manager_export.h" |
+namespace gfx { |
+class Rect; |
+} |
+ |
namespace mojo { |
namespace view_manager { |
namespace service { |
@@ -60,6 +64,10 @@ class MOJO_VIEW_MANAGER_EXPORT ViewManagerConnection |
// The following methods are invoked after the corresponding change has been |
// processed. They do the appropriate bookkeeping and update the client as |
// necessary. |
+ void ProcessNodeBoundsChanged(const Node* node, |
+ const gfx::Rect& old_bounds, |
+ const gfx::Rect& new_bounds, |
+ bool originated_change); |
void ProcessNodeHierarchyChanged(const Node* node, |
const Node* new_parent, |
const Node* old_parent, |
@@ -157,6 +165,9 @@ class MOJO_VIEW_MANAGER_EXPORT ViewManagerConnection |
TransportConnectionId connection_id, |
const Array<TransportNodeId>& transport_node_ids, |
const Callback<void(bool)>& callback) OVERRIDE; |
+ virtual void SetNodeBounds(TransportNodeId node_id, |
+ const Rect& bounds, |
+ const Callback<void(bool)>& callback) OVERRIDE; |
// Overridden from NodeDelegate: |
virtual void OnNodeHierarchyChanged(const Node* node, |