Index: ash/shelf/shelf_tooltip_manager.cc |
diff --git a/ash/shelf/shelf_tooltip_manager.cc b/ash/shelf/shelf_tooltip_manager.cc |
index 35a83a23d6808631583798d291725a3777f2df40..b97747511b3020a87babe05667ca2d7416401f4a 100644 |
--- a/ash/shelf/shelf_tooltip_manager.cc |
+++ b/ash/shelf/shelf_tooltip_manager.cc |
@@ -103,7 +103,7 @@ ShelfTooltipManager::ShelfTooltipManager(ShelfView* shelf_view) |
ShelfTooltipManager::~ShelfTooltipManager() { |
WillDeleteShelfLayoutManager(); |
- Shell::GetInstance()->RemovePointerWatcher(this); |
+ Shell::GetInstance()->RemovePointerDownWatcher(this); |
if (root_window_) { |
root_window_->RemoveObserver(this); |
@@ -120,7 +120,7 @@ void ShelfTooltipManager::Init() { |
root_window_->AddPreTargetHandler(this); |
root_window_->AddObserver(this); |
- Shell::GetInstance()->AddPointerWatcher(this); |
+ Shell::GetInstance()->AddPointerDownWatcher(this); |
} |
void ShelfTooltipManager::Close() { |
@@ -188,7 +188,7 @@ void ShelfTooltipManager::OnTouchPressed(const ui::TouchEvent& event, |
} |
void ShelfTooltipManager::OnEvent(ui::Event* event) { |
- // Mouse and touch press events are handled via views::PointerWatcher. |
+ // Mouse and touch press events are handled via views::PointerDownWatcher. |
if (event->type() == ui::ET_MOUSE_PRESSED || |
event->type() == ui::ET_TOUCH_PRESSED) { |
return; |