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

Unified Diff: ui/views/widget/desktop_aura/desktop_stacking_client.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
« no previous file with comments | « ui/views/widget/desktop_aura/desktop_stacking_client.h ('k') | ui/views/widget/native_widget_aura.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/widget/desktop_aura/desktop_stacking_client.cc
===================================================================
--- ui/views/widget/desktop_aura/desktop_stacking_client.cc (revision 169818)
+++ ui/views/widget/desktop_aura/desktop_stacking_client.cc (working copy)
@@ -37,12 +37,12 @@
}
void DesktopStackingClient::CreateNULLParent() {
- focus_manager_.reset(new aura::FocusManager);
+ focus_client_.reset(new aura::FocusManager);
null_parent_.reset(new aura::RootWindow(
aura::RootWindow::CreateParams(gfx::Rect(100, 100))));
null_parent_->Init();
- null_parent_->set_focus_manager(focus_manager_.get());
+ aura::client::SetFocusClient(null_parent_.get(), focus_client_.get());
activation_client_.reset(new DesktopActivationClient(null_parent_.get()));
« no previous file with comments | « ui/views/widget/desktop_aura/desktop_stacking_client.h ('k') | ui/views/widget/native_widget_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698