Dispatch key events to the currently focused window.
This fixes the browser demo. You can now enter text into the URL bar. BUG=431047 R=sky@chromium.org Review URL: https://codereview.chromium.org/737913002
This commit is contained in:
@@ -60,8 +60,8 @@ void SkyDebugger::OnEmbed(
|
||||
content_->SetBounds(root_->bounds());
|
||||
root_->AddChild(content_);
|
||||
|
||||
window_manager_app_->InitFocus(scoped_ptr<mojo::FocusRules>(
|
||||
new mojo::BasicFocusRules(window_manager_app_.get(), content_)));
|
||||
window_manager_app_->InitFocus(
|
||||
scoped_ptr<mojo::FocusRules>(new mojo::BasicFocusRules(content_)));
|
||||
|
||||
if (!pending_url_.empty())
|
||||
NavigateToURL(pending_url_);
|
||||
|
||||
Reference in New Issue
Block a user