summaryrefslogtreecommitdiffstats
path: root/ash
diff options
context:
space:
mode:
Diffstat (limited to 'ash')
-rw-r--r--ash/root_window_controller.cc7
-rw-r--r--ash/shelf/shelf_widget.cc1
-rw-r--r--ash/system/status_area_widget.cc1
-rw-r--r--ash/system/tray/tray_bubble_wrapper.cc2
4 files changed, 4 insertions, 7 deletions
diff --git a/ash/root_window_controller.cc b/ash/root_window_controller.cc
index 06e35fc..3e46f50 100644
--- a/ash/root_window_controller.cc
+++ b/ash/root_window_controller.cc
@@ -605,11 +605,12 @@ void RootWindowController::CreateContainersInRootWindow(
non_lock_screen_containers);
SetUsesScreenCoordinates(panel_container);
- aura::Window* launcher_container =
+ aura::Window* shelf_container =
CreateContainer(kShellWindowId_ShelfContainer,
- "LauncherContainer",
+ "ShelfContainer",
non_lock_screen_containers);
- SetUsesScreenCoordinates(launcher_container);
+ SetUsesScreenCoordinates(shelf_container);
+ DescendantShouldStayInSameRootWindow(shelf_container);
aura::Window* app_list_container =
CreateContainer(kShellWindowId_AppListContainer,
diff --git a/ash/shelf/shelf_widget.cc b/ash/shelf/shelf_widget.cc
index 1f83de4..7c478c7 100644
--- a/ash/shelf/shelf_widget.cc
+++ b/ash/shelf/shelf_widget.cc
@@ -491,7 +491,6 @@ ShelfWidget::ShelfWidget(aura::Window* shelf_container,
new internal::StatusAreaLayoutManager(this));
views::Widget::AddObserver(this);
- GetNativeView()->SetProperty(internal::kStayInSameRootWindowKey, true);
}
ShelfWidget::~ShelfWidget() {
diff --git a/ash/system/status_area_widget.cc b/ash/system/status_area_widget.cc
index 471e885..d6ba128 100644
--- a/ash/system/status_area_widget.cc
+++ b/ash/system/status_area_widget.cc
@@ -40,7 +40,6 @@ StatusAreaWidget::StatusAreaWidget(aura::Window* status_container)
set_focus_on_creation(false);
SetContentsView(status_area_widget_delegate_);
GetNativeView()->SetName(kNativeViewName);
- GetNativeView()->SetProperty(internal::kStayInSameRootWindowKey, true);
}
StatusAreaWidget::~StatusAreaWidget() {
diff --git a/ash/system/tray/tray_bubble_wrapper.cc b/ash/system/tray/tray_bubble_wrapper.cc
index 17fdcbc..5d641ee 100644
--- a/ash/system/tray/tray_bubble_wrapper.cc
+++ b/ash/system/tray/tray_bubble_wrapper.cc
@@ -21,8 +21,6 @@ TrayBubbleWrapper::TrayBubbleWrapper(TrayBackgroundView* tray,
bubble_view_(bubble_view) {
bubble_widget_ = views::BubbleDelegateView::CreateBubble(bubble_view_);
bubble_widget_->AddObserver(this);
- bubble_widget_->GetNativeView()->
- SetProperty(internal::kStayInSameRootWindowKey, true);
tray_->InitializeBubbleAnimations(bubble_widget_);
tray_->UpdateBubbleViewArrow(bubble_view_);