From 90c6fd749c7da30b5afa2ac37b59dfd36642a505 Mon Sep 17 00:00:00 2001 From: "ben@chromium.org" Date: Fri, 13 Jun 2014 21:36:27 +0000 Subject: Adds a parameter to Launchable that is a ViewTreeNode to render in. Adds an image viewer app that decodes the provided data stream as PNG and renders it in a View associated with the supplied node. R=aa@chromium.org, sky@chromium.org http://crbug.com/378151 Review URL: https://codereview.chromium.org/331563003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@277084 0039d316-1c4b-4281-b951-d872f2087c98 --- mojo/services/view_manager/view_manager_connection.h | 3 +++ 1 file changed, 3 insertions(+) (limited to '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 b2f326b..01c8f35 100644 --- a/mojo/services/view_manager/view_manager_connection.h +++ b/mojo/services/view_manager/view_manager_connection.h @@ -121,6 +121,7 @@ class MOJO_VIEW_MANAGER_EXPORT ViewManagerConnection bool CanDeleteNode(const NodeId& node_id) const; bool CanDeleteView(const ViewId& view_id) const; bool CanSetView(const Node* node, const ViewId& view_id) const; + bool CanSetFocus(const Node* node) const; bool CanGetNodeTree(const Node* node) const; bool CanEmbed(const mojo::Array& node_ids) const; @@ -197,6 +198,8 @@ class MOJO_VIEW_MANAGER_EXPORT ViewManagerConnection ScopedSharedBufferHandle buffer, uint32_t buffer_size, const Callback& callback) OVERRIDE; + virtual void SetFocus(Id node_id, + const Callback & callback) OVERRIDE; virtual void SetNodeBounds(Id node_id, RectPtr bounds, const Callback& callback) OVERRIDE; -- cgit v1.1