Chromium Code Reviews| Index: views/widget/tooltip_manager_views.h |
| diff --git a/views/widget/tooltip_manager_views.h b/views/widget/tooltip_manager_views.h |
| index 3d22662fce6ca6dee3ec656fd422b0f37aeb331d..d3c7e9b1331d4c1111087cf5b4dbb07734821a7e 100644 |
| --- a/views/widget/tooltip_manager_views.h |
| +++ b/views/widget/tooltip_manager_views.h |
| @@ -23,31 +23,23 @@ union WaylandEvent; |
| namespace views { |
| +class MouseEvent; |
| class Widget; |
| // TooltipManager implementation for Views. |
| -class TooltipManagerViews : public TooltipManager, |
| - public MessageLoopForUI::Observer { |
| +class TooltipManagerViews : public TooltipManager { |
| public: |
| explicit TooltipManagerViews(views::View* root_view); |
| virtual ~TooltipManagerViews(); |
| + void UpdateForMouseEvent(const MouseEvent& event); |
|
sky
2011/10/28 17:47:27
Describe this, including where the MouseEvent come
sadrul
2011/10/28 21:42:52
Done.
|
| + |
| // TooltipManager. |
| virtual void UpdateTooltip() OVERRIDE; |
| virtual void TooltipTextChanged(View* view) OVERRIDE; |
| virtual void ShowKeyboardTooltip(View* view) OVERRIDE; |
| virtual void HideKeyboardTooltip() OVERRIDE; |
| -#if defined(USE_WAYLAND) |
| - virtual base::MessagePumpObserver::EventStatus WillProcessEvent( |
| - ui::WaylandEvent* event) OVERRIDE; |
| -#else |
| - // MessageLoopForUI::Observer |
| - virtual base::EventStatus WillProcessEvent( |
| - const base::NativeEvent& event) OVERRIDE; |
| - virtual void DidProcessEvent(const base::NativeEvent& event) OVERRIDE; |
| -#endif |
| - |
| private: |
| void TooltipTimerFired(); |
| View* GetViewForTooltip(int x, int y, bool for_keyboard); |