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

Unified Diff: trunk/src/chrome/browser/ui/views/apps/native_app_window_views.cc

Issue 139303014: Revert 245433 "Linux Aura: Added --use-system-title-bar flag." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 11 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
« no previous file with comments | « trunk/src/chrome/browser/about_flags.cc ('k') | trunk/src/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: trunk/src/chrome/browser/ui/views/apps/native_app_window_views.cc
===================================================================
--- trunk/src/chrome/browser/ui/views/apps/native_app_window_views.cc (revision 245469)
+++ trunk/src/chrome/browser/ui/views/apps/native_app_window_views.cc (working copy)
@@ -256,12 +256,6 @@
views::Widget::InitParams init_params(views::Widget::InitParams::TYPE_WINDOW);
init_params.delegate = this;
init_params.remove_standard_frame = ShouldUseChromeStyleFrame();
-#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
- // On Linux, remove the standard frame. Instead, we will use CustomFrameView
- // to draw a native-like frame.
- // TODO(mgiuca): Remove this during fix for http://crbug.com/322256.
- init_params.remove_standard_frame = true;
-#endif
init_params.use_system_default_icon = true;
// TODO(erg): Conceptually, these are toplevel windows, but we theoretically
// could plumb context through to here in some cases.
« no previous file with comments | « trunk/src/chrome/browser/about_flags.cc ('k') | trunk/src/chrome/browser/ui/views/frame/browser_frame.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698