Index: mojo/services/public/cpp/view_manager/lib/view_tree_node.cc |
diff --git a/mojo/services/public/cpp/view_manager/lib/view_tree_node.cc b/mojo/services/public/cpp/view_manager/lib/view_tree_node.cc |
index 5a6c1d283f08eb5df71c91beced0a1419b0a96da..46972e823988890dcf241382fcd991b9ccaf2aab 100644 |
--- a/mojo/services/public/cpp/view_manager/lib/view_tree_node.cc |
+++ b/mojo/services/public/cpp/view_manager/lib/view_tree_node.cc |
@@ -357,6 +357,11 @@ void ViewTreeNode::SetActiveView(View* view) { |
} |
} |
+void ViewTreeNode::SetFocus() { |
+ if (manager_) |
+ static_cast<ViewManagerSynchronizer*>(manager_)->SetFocus(id_); |
+} |
+ |
void ViewTreeNode::Embed(const String& url) { |
static_cast<ViewManagerSynchronizer*>(manager_)->Embed(url, id_); |
} |