| Index: components/exo/shell_surface.cc
|
| diff --git a/components/exo/shell_surface.cc b/components/exo/shell_surface.cc
|
| index 94b926db05c10437d8567a77e577d0e8188a5777..06cf6f8696047ca84d4e0c95128403f318aafd6a 100644
|
| --- a/components/exo/shell_surface.cc
|
| +++ b/components/exo/shell_surface.cc
|
| @@ -335,6 +335,15 @@ void ShellSurface::SetParent(ShellSurface* parent) {
|
| }
|
| }
|
|
|
| +void ShellSurface::Activate() {
|
| + TRACE_EVENT0("exo", "ShellSurface::Activate");
|
| +
|
| + if (!widget_ || widget_->IsActive())
|
| + return;
|
| +
|
| + widget_->Activate();
|
| +}
|
| +
|
| void ShellSurface::Maximize() {
|
| TRACE_EVENT0("exo", "ShellSurface::Maximize");
|
|
|
|
|