Chromium Code Reviews| Index: components/exo/shell_surface.h |
| diff --git a/components/exo/shell_surface.h b/components/exo/shell_surface.h |
| index 6cdeae4e6cae093cde514dbf0f39e741257d1935..fce5e8da63d969b69444fab0d4d855a50f0265ab 100644 |
| --- a/components/exo/shell_surface.h |
| +++ b/components/exo/shell_surface.h |
| @@ -11,6 +11,7 @@ |
| #include <string> |
| #include "ash/common/wm/window_state_observer.h" |
| +#include "ash/public/interfaces/window_pin_type.mojom.h" |
|
reveman
2017/04/04 18:26:16
nit: forward declare enum
Peng
2017/04/04 19:43:49
Done.
|
| #include "base/macros.h" |
| #include "base/strings/string16.h" |
| #include "components/exo/surface_delegate.h" |
| @@ -129,8 +130,8 @@ class ShellSurface : public SurfaceDelegate, |
| // Set fullscreen state for shell surface. |
| void SetFullscreen(bool fullscreen); |
| - // Pins the shell surface. |trusted| flag is ignored when |pinned| is false. |
| - void SetPinned(bool pinned, bool trusted); |
| + // Pins the shell surface. |
| + void SetPinned(ash::mojom::WindowPinType type); |
| // Sets whether or not the shell surface should autohide the system UI. |
| void SetSystemUiVisibility(bool autohide); |