diff options
author | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-06-13 21:36:27 +0000 |
---|---|---|
committer | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-06-13 21:36:27 +0000 |
commit | 90c6fd749c7da30b5afa2ac37b59dfd36642a505 (patch) | |
tree | 0e7c188167ea8b303f7f6be2576737253a28baef /mojo/services/view_manager/view_manager_connection.h | |
parent | 92c91ea864d007b3d1b56510065b9b773b87a727 (diff) | |
download | chromium_src-90c6fd749c7da30b5afa2ac37b59dfd36642a505.zip chromium_src-90c6fd749c7da30b5afa2ac37b59dfd36642a505.tar.gz chromium_src-90c6fd749c7da30b5afa2ac37b59dfd36642a505.tar.bz2 |
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
Diffstat (limited to 'mojo/services/view_manager/view_manager_connection.h')
-rw-r--r-- | mojo/services/view_manager/view_manager_connection.h | 3 |
1 files changed, 3 insertions, 0 deletions
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<uint32_t>& node_ids) const; @@ -197,6 +198,8 @@ class MOJO_VIEW_MANAGER_EXPORT ViewManagerConnection ScopedSharedBufferHandle buffer, uint32_t buffer_size, const Callback<void(bool)>& callback) OVERRIDE; + virtual void SetFocus(Id node_id, + const Callback<void(bool)> & callback) OVERRIDE; virtual void SetNodeBounds(Id node_id, RectPtr bounds, const Callback<void(bool)>& callback) OVERRIDE; |