summaryrefslogtreecommitdiffstats
path: root/ash/launcher/launcher_tooltip_manager.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ash/launcher/launcher_tooltip_manager.cc')
-rw-r--r--ash/launcher/launcher_tooltip_manager.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/ash/launcher/launcher_tooltip_manager.cc b/ash/launcher/launcher_tooltip_manager.cc
index 05e8ccc..aa48c5c 100644
--- a/ash/launcher/launcher_tooltip_manager.cc
+++ b/ash/launcher/launcher_tooltip_manager.cc
@@ -322,16 +322,16 @@ void LauncherTooltipManager::WillDeleteShelf() {
}
void LauncherTooltipManager::WillChangeVisibilityState(
- ShelfLayoutManager::VisibilityState new_state) {
- if (new_state == ShelfLayoutManager::HIDDEN) {
+ ShelfVisibilityState new_state) {
+ if (new_state == SHELF_HIDDEN) {
StopTimer();
Close();
}
}
void LauncherTooltipManager::OnAutoHideStateChanged(
- ShelfLayoutManager::AutoHideState new_state) {
- if (new_state == ShelfLayoutManager::AUTO_HIDE_HIDDEN) {
+ ShelfAutoHideState new_state) {
+ if (new_state == SHELF_AUTO_HIDE_HIDDEN) {
StopTimer();
// AutoHide state change happens during an event filter, so immediate close
// may cause a crash in the HandleMouseEvent() after the filter. So we just