summaryrefslogtreecommitdiffstats
path: root/ash
diff options
context:
space:
mode:
authorsadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-05 17:02:49 +0000
committersadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-05 17:02:49 +0000
commit32ee291e1240e08b78f0970f76b85af197c6ac0a (patch)
treebcdbdeef34661d7c3b621c0b43fa0657ef5ad95c /ash
parent31942c8145af2bce10254c686c49b81168d08c36 (diff)
downloadchromium_src-32ee291e1240e08b78f0970f76b85af197c6ac0a.zip
chromium_src-32ee291e1240e08b78f0970f76b85af197c6ac0a.tar.gz
chromium_src-32ee291e1240e08b78f0970f76b85af197c6ac0a.tar.bz2
ash launcher: Make sure the dimmer widget has the same properties as the launcher widget.
This is the rest of the reverted revision r159945 (the other part landed in r160370) BUG=152508 TBR=davemoore@chromium.org Review URL: https://codereview.chromium.org/11026069 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160401 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash')
-rw-r--r--ash/launcher/launcher.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/ash/launcher/launcher.cc b/ash/launcher/launcher.cc
index 0957507..f8e8439 100644
--- a/ash/launcher/launcher.cc
+++ b/ash/launcher/launcher.cc
@@ -285,6 +285,8 @@ void Launcher::SetDimsShelf(bool value) {
dimmer_->set_focus_on_creation(false);
dimmer_->SetContentsView(new DimmerView(widget_.get()));
dimmer_->GetNativeView()->SetName("LauncherDimmerView");
+ dimmer_->GetNativeView()->SetProperty(internal::kStayInSameRootWindowKey,
+ true);
dimmer_->Show();
}