summaryrefslogtreecommitdiffstats
path: root/ash/root_window_controller.cc
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-19 04:19:38 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-19 04:19:38 +0000
commit864b5855c27945ea0f099bf82d44f41a041851ff (patch)
tree8f3737b10405128113a113f373f4472727f149de /ash/root_window_controller.cc
parent7a22adbf507b6f35788ea89f12bbd2c1b96d451b (diff)
downloadchromium_src-864b5855c27945ea0f099bf82d44f41a041851ff.zip
chromium_src-864b5855c27945ea0f099bf82d44f41a041851ff.tar.gz
chromium_src-864b5855c27945ea0f099bf82d44f41a041851ff.tar.bz2
Rename Launcher to Shelf.
- move launcher* from launcher to shelf. - rename to launcher.* to shelf.* and launcher_unittest.cc to shelf_unittest.cc - rename LauncherTestAPI to ShelfTestAPI. - rename to launcher_test_api.* to shelf_test_api.* BUG=248353 TEST=None, no functional changes R=jamescook@chromium.org,harrym@chromium.org TBR=sky Review URL: https://codereview.chromium.org/115113006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@241794 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/root_window_controller.cc')
-rw-r--r--ash/root_window_controller.cc18
1 files changed, 9 insertions, 9 deletions
diff --git a/ash/root_window_controller.cc b/ash/root_window_controller.cc
index 58088c7..8332a2a 100644
--- a/ash/root_window_controller.cc
+++ b/ash/root_window_controller.cc
@@ -269,7 +269,7 @@ void RootWindowController::CreateForVirtualKeyboardDisplay(
}
// static
-RootWindowController* RootWindowController::ForLauncher(aura::Window* window) {
+RootWindowController* RootWindowController::ForShelf(aura::Window* window) {
return GetRootWindowController(window->GetRootWindow());
}
@@ -374,18 +374,18 @@ const aura::Window* RootWindowController::GetContainer(int container_id) const {
return root_window_->window()->GetChildById(container_id);
}
-void RootWindowController::ShowLauncher() {
- if (!shelf_->launcher())
+void RootWindowController::ShowShelf() {
+ if (!shelf_->shelf())
return;
- shelf_->launcher()->SetVisible(true);
+ shelf_->shelf()->SetVisible(true);
shelf_->status_area_widget()->Show();
}
-void RootWindowController::OnLauncherCreated() {
+void RootWindowController::OnShelfCreated() {
if (panel_layout_manager_)
- panel_layout_manager_->SetLauncher(shelf_->launcher());
+ panel_layout_manager_->SetShelf(shelf_->shelf());
if (docked_layout_manager_) {
- docked_layout_manager_->SetLauncher(shelf_->launcher());
+ docked_layout_manager_->SetShelf(shelf_->shelf());
if (shelf_->shelf_layout_manager())
docked_layout_manager_->AddObserver(shelf_->shelf_layout_manager());
}
@@ -677,9 +677,9 @@ void RootWindowController::Init(RootWindowType root_window_type,
root_window_->window());
root_window_->host()->Show();
- // Create a launcher if a user is already logged in.
+ // Create a shelf if a user is already logged in.
if (shell->session_state_delegate()->NumberOfLoggedInUsers())
- shelf()->CreateLauncher();
+ shelf()->CreateShelf();
}
solo_window_tracker_.reset(new SoloWindowTracker(root_window_.get()));