| Index: ash/common/shelf/overflow_bubble.h
|
| diff --git a/ash/common/shelf/overflow_bubble.h b/ash/common/shelf/overflow_bubble.h
|
| index 7e3526049c50983c6dc52b5d4684a5b17c0fd29f..194c25ddb17b9bd964356886eb55a30838816cc8 100644
|
| --- a/ash/common/shelf/overflow_bubble.h
|
| +++ b/ash/common/shelf/overflow_bubble.h
|
| @@ -6,7 +6,7 @@
|
| #define ASH_COMMON_SHELF_OVERFLOW_BUBBLE_H_
|
|
|
| #include "base/macros.h"
|
| -#include "ui/views/pointer_watcher.h"
|
| +#include "ui/views/pointer_down_watcher.h"
|
| #include "ui/views/widget/widget_observer.h"
|
|
|
| namespace ui {
|
| @@ -24,7 +24,7 @@ class WmShelf;
|
|
|
| // OverflowBubble shows shelf items that won't fit on the main shelf in a
|
| // separate bubble.
|
| -class OverflowBubble : public views::PointerWatcher,
|
| +class OverflowBubble : public views::PointerDownWatcher,
|
| public views::WidgetObserver {
|
| public:
|
| // |wm_shelf| is the shelf that spawns the bubble.
|
| @@ -48,7 +48,7 @@ class OverflowBubble : public views::PointerWatcher,
|
| private:
|
| void ProcessPressedEvent(const gfx::Point& event_location_in_screen);
|
|
|
| - // views::PointerWatcher:
|
| + // views::PointerDownWatcher:
|
| void OnMousePressed(const ui::MouseEvent& event,
|
| const gfx::Point& location_in_screen,
|
| views::Widget* target) override;
|
|
|