Chromium Code Reviews| Index: ui/views/widget/widget.h |
| diff --git a/ui/views/widget/widget.h b/ui/views/widget/widget.h |
| index 320332bec2461bd309d694e3651eabc7ba38c712..c7b9a332905f1f3a0c2e69007250f726eef030df 100644 |
| --- a/ui/views/widget/widget.h |
| +++ b/ui/views/widget/widget.h |
| @@ -927,6 +927,9 @@ class VIEWS_EXPORT Widget : public internal::NativeWidgetDelegate, |
| // Whether native widget has been destroyed. |
| bool native_widget_destroyed_; |
| + // Whether the mouse cursor is on this widget. |
| + bool hovered_; |
|
oshima
2015/08/20 08:46:34
maybe is_mouse_on_widget_ ? I'd defer to sky thoug
yoshiki
2015/08/20 14:59:02
Changed the name as for now.
|
| + |
| // TODO(beng): Remove NativeWidgetGtk's dependence on these: |
| // If true, the mouse is currently down. |
| bool is_mouse_button_pressed_; |