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

Unified Diff: ui/views/widget/widget.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 | « ui/views/widget/widget.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/widget/widget.cc
diff --git a/ui/views/widget/widget.cc b/ui/views/widget/widget.cc
index 42f704c0cb71b325cb12565c19803cc4df0170ea..3b3d08665294ad51e031221e98ba0ec005351c5f 100644
--- a/ui/views/widget/widget.cc
+++ b/ui/views/widget/widget.cc
@@ -297,7 +297,9 @@ bool Widget::IsDebugPaintEnabled() {
// static
bool Widget::RequiresNonClientView(InitParams::Type type) {
- return type == InitParams::TYPE_WINDOW || type == InitParams::TYPE_BUBBLE;
+ return type == InitParams::TYPE_WINDOW ||
+ type == InitParams::TYPE_PANEL ||
+ type == InitParams::TYPE_BUBBLE;
}
void Widget::Init(const InitParams& params) {
« no previous file with comments | « ui/views/widget/widget.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698