| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "ui/views/corewm/tooltip_win.h" | 5 #include "ui/views/corewm/tooltip_win.h" |
| 6 | 6 |
| 7 #include <winuser.h> | 7 #include <winuser.h> |
| 8 | 8 |
| 9 #include "base/debug/stack_trace.h" | 9 #include "base/debug/stack_trace.h" |
| 10 #include "base/i18n/rtl.h" | 10 #include "base/i18n/rtl.h" |
| (...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 144 return; | 144 return; |
| 145 | 145 |
| 146 SendMessage(tooltip_hwnd_, TTM_TRACKACTIVATE, FALSE, | 146 SendMessage(tooltip_hwnd_, TTM_TRACKACTIVATE, FALSE, |
| 147 reinterpret_cast<LPARAM>(&toolinfo_)); | 147 reinterpret_cast<LPARAM>(&toolinfo_)); |
| 148 } | 148 } |
| 149 | 149 |
| 150 bool TooltipWin::IsVisible() { | 150 bool TooltipWin::IsVisible() { |
| 151 return showing_; | 151 return showing_; |
| 152 } | 152 } |
| 153 | 153 |
| 154 gfx::Point TooltipWin::GetTooltipPosition() { |
| 155 return location_; |
| 156 } |
| 157 |
| 154 } // namespace corewm | 158 } // namespace corewm |
| 155 } // namespace views | 159 } // namespace views |
| OLD | NEW |