| Index: components/exo/shell_surface.cc
|
| diff --git a/components/exo/shell_surface.cc b/components/exo/shell_surface.cc
|
| index 97c18fee52ec16c9c7bce0881830f57cb2598d4f..dac956f21e5d9d68bc0c625334506f40ca8ec632 100644
|
| --- a/components/exo/shell_surface.cc
|
| +++ b/components/exo/shell_surface.cc
|
| @@ -847,6 +847,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 */);
|
|
|