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

Unified Diff: sky/tools/debugger/debugger.cc

Issue 737913002: Dispatch key events to the currently focused window. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Redo FocusController storage so that it is a local property on a view. Created 6 years, 1 month 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
« no previous file with comments | « mojo/services/window_manager/window_manager_app.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/tools/debugger/debugger.cc
diff --git a/sky/tools/debugger/debugger.cc b/sky/tools/debugger/debugger.cc
index da575c29f7dc3de7acf82ea43b5a7386de6ffd1a..e2d4c908b06fcd676997a24749f9d0d48d855b07 100644
--- a/sky/tools/debugger/debugger.cc
+++ b/sky/tools/debugger/debugger.cc
@@ -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_);
« no previous file with comments | « mojo/services/window_manager/window_manager_app.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698