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

Unified Diff: services/ui/ws/access_policy.h

Issue 2429173005: Mus+Ash: Replace (Server)WindowSurface with (Server)WindowCompositorFrameSink (Closed)
Patch Set: Rebased Created 4 years, 2 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 | « services/ui/ws/BUILD.gn ('k') | services/ui/ws/cursor_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/access_policy.h
diff --git a/services/ui/ws/access_policy.h b/services/ui/ws/access_policy.h
index a8e25e2a571550e12675f2ac12374e1d1ebd6560..901233963f8d8f096d2ff5dadaed0d2366c5cb8a 100644
--- a/services/ui/ws/access_policy.h
+++ b/services/ui/ws/access_policy.h
@@ -49,8 +49,9 @@ class AccessPolicy {
virtual bool CanEmbed(const ServerWindow* window) const = 0;
virtual bool CanChangeWindowVisibility(const ServerWindow* window) const = 0;
virtual bool CanChangeWindowOpacity(const ServerWindow* window) const = 0;
- virtual bool CanSetWindowSurface(const ServerWindow* window,
- mojom::SurfaceType surface_type) const = 0;
+ virtual bool CanSetWindowCompositorFrameSink(
+ const ServerWindow* window,
+ mojom::CompositorFrameSinkType compositor_frame_sink_type) const = 0;
virtual bool CanSetWindowBounds(const ServerWindow* window) const = 0;
virtual bool CanSetWindowProperties(const ServerWindow* window) const = 0;
virtual bool CanSetWindowTextInputState(const ServerWindow* window) const = 0;
« no previous file with comments | « services/ui/ws/BUILD.gn ('k') | services/ui/ws/cursor_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698