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

Unified Diff: components/exo/shell_surface.h

Issue 2777373002: Add set_autohide_systemui to wayland protocol (Closed)
Patch Set: Add set_systemui_visibility to wayland Created 3 years, 9 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 | « no previous file | 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 c22947d2e6947fd476eddfa24d8ef9b4e3b167ea..6cdeae4e6cae093cde514dbf0f39e741257d1935 100644
--- a/components/exo/shell_surface.h
+++ b/components/exo/shell_surface.h
@@ -132,6 +132,9 @@ class ShellSurface : public SurfaceDelegate,
// Pins the shell surface. |trusted| flag is ignored when |pinned| is false.
void SetPinned(bool pinned, bool trusted);
+ // Sets whether or not the shell surface should autohide the system UI.
+ void SetSystemUiVisibility(bool autohide);
+
// Set title for surface.
void SetTitle(const base::string16& title);
« no previous file with comments | « no previous file | components/exo/shell_surface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698