Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1086)

Unified Diff: components/exo/shell_surface.h

Issue 2778733004: Add WindowPinType property on arua::Window (Closed)
Patch Set: Address review issues. Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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"
#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);

Powered by Google App Engine
This is Rietveld 408576698