Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(89)

Unified Diff: ash/shelf/shelf_tooltip_manager.cc

Issue 2158273003: mus: Rename .*PointerWatcher.* to .*PointerDownWatcher.*. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/shelf/shelf_tooltip_manager.h ('k') | ash/shell.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « ash/shelf/shelf_tooltip_manager.h ('k') | ash/shell.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698