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

Unified Diff: ash/wm/stacking_controller.cc

Issue 9027020: Bypass ToplevelWindowEventFilter for panels. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge/sync 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
« no previous file with comments | « ash/wm/shadow_controller.cc ('k') | chrome/browser/ui/views/frame/browser_frame.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/stacking_controller.cc
diff --git a/ash/wm/stacking_controller.cc b/ash/wm/stacking_controller.cc
index 6433bb1f40c2cf421ef5a7cfeab450cfd4227348..570aa77ef93dfa277e10899294ab69684058b150 100644
--- a/ash/wm/stacking_controller.cc
+++ b/ash/wm/stacking_controller.cc
@@ -50,6 +50,8 @@ aura::Window* StackingController::GetDefaultParent(aura::Window* window) {
if (IsWindowModal(window))
return GetModalContainer(window);
return always_on_top_controller_->GetContainer(window);
+ case aura::client::WINDOW_TYPE_PANEL:
+ return GetContainer(internal::kShellWindowId_PanelContainer);
case aura::client::WINDOW_TYPE_MENU:
case aura::client::WINDOW_TYPE_TOOLTIP:
return GetContainer(internal::kShellWindowId_MenusAndTooltipsContainer);
« no previous file with comments | « ash/wm/shadow_controller.cc ('k') | chrome/browser/ui/views/frame/browser_frame.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698