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

Unified Diff: ui/aura_shell/shell.cc

Issue 9027020: Bypass ToplevelWindowEventFilter for panels. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years 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_shell/shell.cc
diff --git a/ui/aura_shell/shell.cc b/ui/aura_shell/shell.cc
index e5bb325712cef8192aa3da11370ce824bde74e67..ae3f075e9c66bb33f8b6cb8aa3236329f26e5a4d 100644
--- a/ui/aura_shell/shell.cc
+++ b/ui/aura_shell/shell.cc
@@ -75,6 +75,10 @@ void CreateSpecialContainers(aura::Window::Windows* containers) {
internal::kShellWindowId_AlwaysOnTopContainer);
containers->push_back(always_on_top_container);
+ aura::Window* panel_container = new aura::Window(NULL);
+ panel_container->set_id(internal::kShellWindowId_PanelContainer);
+ containers->push_back(panel_container);
+
aura::Window* launcher_container = new aura::Window(NULL);
launcher_container->set_id(internal::kShellWindowId_LauncherContainer);
containers->push_back(launcher_container);

Powered by Google App Engine
This is Rietveld 408576698