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

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

Issue 10855225: Restore panel behavior on Ash/ChromeOS (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 8 years, 4 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 | « chrome/browser/extensions/window_open_apitest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 af5713a83478db45f0e4dd624a1f0d45cfdc91c9..150f5fe0891118cfb78b515325cdcd5b760b85f9 100644
--- a/chrome/browser/ui/views/frame/browser_frame.cc
+++ b/chrome/browser/ui/views/frame/browser_frame.cc
@@ -65,15 +65,6 @@ void BrowserFrame::InitBrowserFrame() {
// Aura frames are translucent.
params.transparent = true;
#endif
-#if defined(USE_ASH)
- // Note: browser_view_->IsPanel() always returns false on Ash because the
- // BrowserView is not a panel. For Browser child panels and popups, we want
- // to set them to be always on top.
- if (browser_view_->browser()->is_type_panel() &&
- browser_view_->browser()->app_type() == Browser::APP_TYPE_CHILD) {
- params.keep_on_top = true;
- }
-#endif
Init(params);
native_browser_frame_->InitSystemContextMenu();
« no previous file with comments | « chrome/browser/extensions/window_open_apitest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698