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

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

Issue 10392096: Makes popups persist across all workspaces. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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
« no previous file with comments | « no previous file | 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_aura.cc
diff --git a/chrome/browser/ui/views/frame/browser_frame_aura.cc b/chrome/browser/ui/views/frame/browser_frame_aura.cc
index 8adf1a2ef923c1afba72e9a37f7c2b3a252a3b55..fd023eb626ed599f1b7c976f825b055ad42b68c5 100644
--- a/chrome/browser/ui/views/frame/browser_frame_aura.cc
+++ b/chrome/browser/ui/views/frame/browser_frame_aura.cc
@@ -64,9 +64,11 @@ BrowserFrameAura::BrowserFrameAura(BrowserFrame* browser_frame,
GetNativeWindow()->SetName("BrowserFrameAura");
GetNativeWindow()->AddObserver(window_property_watcher_.get());
#if defined(USE_ASH)
- ash::SetPersistsAcrossAllWorkspaces(
- GetNativeWindow(),
- ash::WINDOW_PERSISTS_ACROSS_ALL_WORKSPACES_VALUE_NO);
+ if (browser_view->browser()->type() != Browser::TYPE_POPUP) {
+ ash::SetPersistsAcrossAllWorkspaces(
+ GetNativeWindow(),
+ ash::WINDOW_PERSISTS_ACROSS_ALL_WORKSPACES_VALUE_NO);
+ }
#endif
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698