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

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

Issue 698543005: Make a pure mojo::View version of the aura::Window FocusController. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Clean things up quickly for commit. 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
Index: sky/tools/debugger/debugger.cc
diff --git a/sky/tools/debugger/debugger.cc b/sky/tools/debugger/debugger.cc
index 4fdbbe88474418948f5b98dd381a9b708e2c6095..124cc69ebecd6f9e086154aa0a6ec3f369c061a4 100644
--- a/sky/tools/debugger/debugger.cc
+++ b/sky/tools/debugger/debugger.cc
@@ -4,6 +4,8 @@
#include "sky/tools/debugger/debugger.h"
+#include "mojo/services/window_manager/basic_focus_rules.h"
+
namespace sky {
namespace debugger {
@@ -59,7 +61,7 @@ void SkyDebugger::OnEmbed(
root_->AddChild(content_);
window_manager_app_->InitFocus(
- new FocusRules(window_manager_app_.get(), content_));
+ new mojo::BasicFocusRules(window_manager_app_.get(), content_));
eseidel 2014/11/06 21:33:14 It's kinda silly we have to call InitFocus at all,
if (!pending_url_.empty())
NavigateToURL(pending_url_);

Powered by Google App Engine
This is Rietveld 408576698