| Index: ui/views/widget/native_widget_helper_aura.h
|
| diff --git a/ui/views/widget/native_widget_helper_aura.h b/ui/views/widget/native_widget_helper_aura.h
|
| index 4d73932724a691a91f05b2c59164380c090e2b84..b89ce0fe62cd7e1d22c3b4f5dec715fd32a25f6d 100644
|
| --- a/ui/views/widget/native_widget_helper_aura.h
|
| +++ b/ui/views/widget/native_widget_helper_aura.h
|
| @@ -30,7 +30,12 @@ class VIEWS_EXPORT NativeWidgetHelperAura {
|
| // If this NativeWidgetAura has its own RootWindow, sets the position at the
|
| // |root_window_|, and returns modified bounds to set the origin to
|
| // zero. Otherwise, pass through in_bounds.
|
| - virtual gfx::Rect ModifyAndSetBounds(gfx::Rect bounds) = 0;
|
| + virtual gfx::Rect ModifyAndSetBounds(const gfx::Rect& bounds) = 0;
|
| +
|
| + // Takes bounds relative to the RootWindow and changes them to be relative to
|
| + // the screen.
|
| + virtual gfx::Rect ChangeRootWindowBoundsToScreenBounds(
|
| + const gfx::Rect& bounds) = 0;
|
| };
|
|
|
| } // namespace views
|
|
|