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

Unified Diff: components/exo/shell_surface.h

Issue 2285633002: Add WM_EVENT_TRUSTED_PIN and WINDOW_STATE_TYPE_TRUSTED_PINNED to Ash. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased. Created 4 years, 3 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 | « ash/wm/workspace/workspace_layout_manager_unittest.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 1c7e3072d1045684ff0c92d207664547205a4651..2d445c592c85dcdebe93f96eacf862b2f151b460 100644
--- a/components/exo/shell_surface.h
+++ b/components/exo/shell_surface.h
@@ -112,8 +112,8 @@ class ShellSurface : public SurfaceDelegate,
// Set fullscreen state for shell surface.
void SetFullscreen(bool fullscreen);
- // Pins the shell surface.
- void SetPinned(bool pinned);
+ // Pins the shell surface. |trusted| flag is ignored when |pinned| is false.
+ void SetPinned(bool pinned, bool trusted);
// Set title for surface.
void SetTitle(const base::string16& title);
« no previous file with comments | « ash/wm/workspace/workspace_layout_manager_unittest.cc ('k') | components/exo/shell_surface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698