| Index: views/widget/widget.h
|
| diff --git a/views/widget/widget.h b/views/widget/widget.h
|
| index cb6a3ce19521d017b80115c2b75850b3a19ef408..3c32fc3e37726a662b6b740323d477059e29eed5 100644
|
| --- a/views/widget/widget.h
|
| +++ b/views/widget/widget.h
|
| @@ -92,6 +92,14 @@ class Widget : public internal::NativeWidgetDelegate,
|
| // view hierarchies that the locale has changed.
|
| static void NotifyLocaleChanged();
|
|
|
| + // Converts a rectangle from one Widget's coordinate system to another's.
|
| + // Returns false if the conversion couldn't be made, because either these two
|
| + // Widgets do not have a common ancestor or they are not on the screen yet.
|
| + // The value of |*rect| won't be changed when false is returned.
|
| + static bool ConvertRect(const Widget* source,
|
| + const Widget* target,
|
| + gfx::Rect* rect);
|
| +
|
| // Unconverted methods -------------------------------------------------------
|
|
|
| // TODO(beng):
|
|
|