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

Unified Diff: chrome/browser/ui/views/frame/browser_frame.cc

Issue 13139004: Deprecate Browser::TYPE_PANEL (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 9 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: chrome/browser/ui/views/frame/browser_frame.cc
diff --git a/chrome/browser/ui/views/frame/browser_frame.cc b/chrome/browser/ui/views/frame/browser_frame.cc
index 3c3f2e6adcb837dccbde6549e0089881991211d1..965ab711fbff465bad47cd24596ddb2c091d65f3 100644
--- a/chrome/browser/ui/views/frame/browser_frame.cc
+++ b/chrome/browser/ui/views/frame/browser_frame.cc
@@ -67,13 +67,6 @@ void BrowserFrame::InitBrowserFrame() {
&params.bounds,
&params.show_state);
}
- if (browser_view_->IsPanel()) {
- // We need to set the top-most bit when the panel window is created.
- // There is a Windows bug/feature that would very likely prevent the window
- // from being changed to top-most after the window is created without
- // activation.
- params.type = views::Widget::InitParams::TYPE_PANEL;
- }
#if defined(USE_ASH)
if (browser_view_->browser()->host_desktop_type() ==
chrome::HOST_DESKTOP_TYPE_ASH || chrome::ShouldOpenAshOnStartup()) {

Powered by Google App Engine
This is Rietveld 408576698