| Index: components/exo/shell_surface.cc
|
| diff --git a/components/exo/shell_surface.cc b/components/exo/shell_surface.cc
|
| index 7b05e9a5822b84c238163f58d4cf892b48a79cb8..7fe5345b5b344c4accc240554226b7f19eaeb74c 100644
|
| --- a/components/exo/shell_surface.cc
|
| +++ b/components/exo/shell_surface.cc
|
| @@ -845,6 +845,21 @@ base::string16 ShellSurface::GetWindowTitle() const {
|
| return title_;
|
| }
|
|
|
| +void ShellSurface::SaveWindowPlacement(const gfx::Rect& bounds,
|
| + ui::WindowShowState show_state) {
|
| + if (bounds_mode_ != BoundsMode::CLIENT)
|
| + WidgetDelegate::SaveWindowPlacement(bounds, show_state);
|
| +}
|
| +
|
| +bool ShellSurface::GetSavedWindowPlacement(
|
| + const views::Widget* widget,
|
| + gfx::Rect* bounds,
|
| + ui::WindowShowState* show_state) const {
|
| + if (bounds_mode_ != BoundsMode::CLIENT)
|
| + return WidgetDelegate::GetSavedWindowPlacement(widget, bounds, show_state);
|
| + return false;
|
| +}
|
| +
|
| void ShellSurface::WindowClosing() {
|
| if (resizer_)
|
| EndDrag(true /* revert */);
|
|
|