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

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
« no previous file with comments | « chrome/browser/ui/views/ash/chrome_browser_main_extra_parts_ash.cc ('k') | components/exo/shell_surface.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/exo/shell_surface.h
diff --git a/components/exo/shell_surface.h b/components/exo/shell_surface.h
index 6cdeae4e6cae093cde514dbf0f39e741257d1935..638b8b4459dcec905cac95ca78a051dcda15a0ae 100644
--- a/components/exo/shell_surface.h
+++ b/components/exo/shell_surface.h
@@ -25,6 +25,9 @@
namespace ash {
class WindowResizer;
+namespace mojom {
+enum class WindowPinType;
+}
}
namespace base {
@@ -129,8 +132,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);
« no previous file with comments | « chrome/browser/ui/views/ash/chrome_browser_main_extra_parts_ash.cc ('k') | components/exo/shell_surface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698