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

Unified Diff: chrome/browser/chromeos/frame/panel_controller.cc

Issue 7129033: Adding a new window type for frameless non-transient top level windows, used by ChromeOS' window ... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 6 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 | « no previous file | chrome/browser/chromeos/login/background_view.cc » ('j') | views/widget/native_widget_gtk.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/frame/panel_controller.cc
===================================================================
--- chrome/browser/chromeos/frame/panel_controller.cc (revision 88473)
+++ chrome/browser/chromeos/frame/panel_controller.cc (working copy)
@@ -184,7 +184,8 @@
gfx::Rect title_bounds(0, 0, window_bounds.width(), kTitleHeight);
title_window_ = new views::Widget;
- views::Widget::InitParams params(views::Widget::InitParams::TYPE_POPUP);
+ views::Widget::InitParams params(
+ views::Widget::InitParams::TYPE_WINDOW_FRAMELESS);
params.transparent = true;
params.bounds = title_bounds;
title_window_->Init(params);
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/background_view.cc » ('j') | views/widget/native_widget_gtk.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698