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

Unified Diff: mojo/services/view_manager/view_manager_connection.h

Issue 331563003: Launching + Views (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 6 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
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 b2f326bc78d340356a42d6cacf7228ab604aca72..01c8f3554870be40e94d405590f60ac6c6c043c9 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;
« no previous file with comments | « mojo/services/public/interfaces/view_manager/view_manager.mojom ('k') | mojo/services/view_manager/view_manager_connection.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698