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

Unified Diff: ui/views/window/dialog_delegate.cc

Issue 274273004: Use the native frame for the task manager on Linux Aura (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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/window/dialog_delegate.cc
diff --git a/ui/views/window/dialog_delegate.cc b/ui/views/window/dialog_delegate.cc
index 7af50a4d07e264e7e92bd0dded805fb0643f9184..c5dcbe795c245b53d82b8923c7befca296962e67 100644
--- a/ui/views/window/dialog_delegate.cc
+++ b/ui/views/window/dialog_delegate.cc
@@ -34,10 +34,6 @@ Widget* DialogDelegate::CreateDialogWidget(DialogDelegate* dialog,
params.opacity = Widget::InitParams::TRANSLUCENT_WINDOW;
params.remove_standard_frame = true;
}
-#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
- // Dialogs on Linux always have custom frames.
- params.remove_standard_frame = true;
-#endif
params.context = context;
params.parent = parent;
params.top_level = true;

Powered by Google App Engine
This is Rietveld 408576698