Chromium Code Reviews| Index: ui/views/corewm/tooltip_aura.cc |
| diff --git a/ui/views/corewm/tooltip_aura.cc b/ui/views/corewm/tooltip_aura.cc |
| index 50ced84d66dc4bbe2acfd2b7a86b4f76adc0d72a..02899756f3817a8d5b9c5e2cbf082711e875a7c0 100644 |
| --- a/ui/views/corewm/tooltip_aura.cc |
| +++ b/ui/views/corewm/tooltip_aura.cc |
| @@ -257,5 +257,11 @@ void TooltipAura::OnWidgetDestroying(views::Widget* widget) { |
| tooltip_window_ = NULL; |
| } |
| +gfx::Point TooltipAura::GetTooltipPosition() { |
| + if (widget_) |
| + return widget_->GetWindowBoundsInScreen().origin(); |
| + return gfx::Point(); |
| +} |
| + |
| } // namespace corewm |
| } // namespace views |