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

Unified Diff: ui/views/widget/desktop_aura/desktop_root_window_host_linux.cc

Issue 11299219: Rework FocusManager as FocusClient. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 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: ui/views/widget/desktop_aura/desktop_root_window_host_linux.cc
===================================================================
--- ui/views/widget/desktop_aura/desktop_root_window_host_linux.cc (revision 169793)
+++ ui/views/widget/desktop_aura/desktop_root_window_host_linux.cc (working copy)
@@ -214,8 +214,9 @@
// messages to us.
X11DesktopHandler::get();
- focus_manager_.reset(new aura::FocusManager);
- root_window_->set_focus_manager(focus_manager_.get());
+ focus_client_.reset(new aura::FocusManager);
+ aura::client::SetFocusClient(root_window_.GetRootWindow(),
+ focus_client_.get());
activation_client_.reset(new DesktopActivationClient(root_window_));

Powered by Google App Engine
This is Rietveld 408576698