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

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

Issue 12342028: make menus, bubbles, etc. top level windows on aura (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: move to drwhw Created 7 years, 9 months 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
diff --git a/ui/views/widget/desktop_aura/desktop_root_window_host_linux.cc b/ui/views/widget/desktop_aura/desktop_root_window_host_linux.cc
index a402d72c08c2df83cd9ef70805a6baefac0f2e15..bac4b67ef34162fae1606c7b3e944e799abd6c52 100644
--- a/ui/views/widget/desktop_aura/desktop_root_window_host_linux.cc
+++ b/ui/views/widget/desktop_aura/desktop_root_window_host_linux.cc
@@ -329,6 +329,10 @@ aura::RootWindow* DesktopRootWindowHostLinux::Init(
return InitRootWindow(sanitized_params);
}
+void DesktopRootWindowHostLinux::InitFocus(aura::Window* window) {
+ focus_client_->FocusWindow(window);
+}
+
void DesktopRootWindowHostLinux::Close() {
// TODO(erg): Might need to do additional hiding tasks here.

Powered by Google App Engine
This is Rietveld 408576698