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

Unified Diff: ash/wm/shadow_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/shell_window_ids.h ('k') | ash/wm/stacking_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/shadow_controller.cc
diff --git a/ash/wm/shadow_controller.cc b/ash/wm/shadow_controller.cc
index 539596f9fd3020764d6d78cb9a7652f55f965ac3..6f5a530ee7b9c73f5d78d70fb57ec02d1104dc6d 100644
--- a/ash/wm/shadow_controller.cc
+++ b/ash/wm/shadow_controller.cc
@@ -25,6 +25,7 @@ namespace {
ShadowType GetShadowTypeFromWindowType(aura::Window* window) {
switch (window->type()) {
case aura::client::WINDOW_TYPE_NORMAL:
+ case aura::client::WINDOW_TYPE_PANEL:
return CommandLine::ForCurrentProcess()->HasSwitch(
switches::kAuraTranslucentFrames) ?
SHADOW_TYPE_NONE : SHADOW_TYPE_RECTANGULAR;
« no previous file with comments | « ash/shell_window_ids.h ('k') | ash/wm/stacking_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698