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

Unified Diff: ui/aura/bench/bench_main.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/aura/bench/bench_main.cc
===================================================================
--- ui/aura/bench/bench_main.cc (revision 169793)
+++ ui/aura/bench/bench_main.cc (working copy)
@@ -308,8 +308,8 @@
root_window.get(),
new aura::client::DefaultCaptureClient(root_window.get()));
- scoped_ptr<aura::FocusManager> focus_manager(new aura::FocusManager);
- root_window->set_focus_manager(focus_manager.get());
+ scoped_ptr<aura::client::FocusClient> focus_client(new aura::FocusManager);
+ aura::client::SetFocusClient(root_window.get(), focus_client.get());
// add layers
ColoredLayer background(SK_ColorRED);
« no previous file with comments | « ui/aura/aura.gyp ('k') | ui/aura/client/focus_change_observer.h » ('j') | ui/aura/window.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698