Chromium Code Reviews| Index: ui/views/corewm/tooltip.h |
| diff --git a/ui/views/corewm/tooltip.h b/ui/views/corewm/tooltip.h |
| index 7fb15bc32ca3cb7e53517a95709342b609b0e30a..1971f6e19e3ab727f27f308b9935abdb0a9e20e9 100644 |
| --- a/ui/views/corewm/tooltip.h |
| +++ b/ui/views/corewm/tooltip.h |
| @@ -16,6 +16,10 @@ namespace gfx { |
| class Point; |
| } |
| +namespace test { |
| + class TooltipControllerTestHelper; |
| +} // namespace test |
| + |
| namespace views { |
| namespace corewm { |
| @@ -38,6 +42,11 @@ class VIEWS_EXPORT Tooltip { |
| // Is the tooltip visibile? |
| virtual bool IsVisible() = 0; |
| + |
| + private: |
| + friend class test::TooltipControllerTestHelper; |
| + |
| + virtual gfx::Point GetTooltipPosition() = 0; |
|
sky
2014/04/10 16:12:08
You shouldn't have to expose this to test the fix.
|
| }; |
| } // namespace corewm |