Commit 1012d1f2 authored by sky@chromium.org's avatar sky@chromium.org

Makes popups persist across all workspaces.

BUG=124088
TEST=none
R=ben@chromium.org

Review URL: https://chromiumcodereview.appspot.com/10392096

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137167 0039d316-1c4b-4281-b951-d872f2087c98
parent f1f362b4
......@@ -78,9 +78,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
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment