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

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

Issue 2429173005: Mus+Ash: Replace (Server)WindowSurface with (Server)WindowCompositorFrameSink (Closed)
Patch Set: ui::CompositorFrameSink => ui::WindowCompositorFrameSink 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
Index: services/ui/ws/default_access_policy.h
diff --git a/services/ui/ws/default_access_policy.h b/services/ui/ws/default_access_policy.h
index 279656967137edfeca21544a710e664ff96f4ff6..3666817202898b21742ea0b26927f148c5671bf5 100644
--- a/services/ui/ws/default_access_policy.h
+++ b/services/ui/ws/default_access_policy.h
@@ -42,8 +42,9 @@ class DefaultAccessPolicy : public AccessPolicy {
bool CanEmbed(const ServerWindow* window) const override;
bool CanChangeWindowVisibility(const ServerWindow* window) const override;
bool CanChangeWindowOpacity(const ServerWindow* window) const override;
- bool CanSetWindowSurface(const ServerWindow* window,
- ui::mojom::SurfaceType surface_type) const override;
+ bool CanSetWindowCompositorFrameSink(
+ const ServerWindow* window,
+ ui::mojom::CompositorFrameSinkType surface_type) const override;
bool CanSetWindowBounds(const ServerWindow* window) const override;
bool CanSetWindowProperties(const ServerWindow* window) const override;
bool CanSetWindowTextInputState(const ServerWindow* window) const override;

Powered by Google App Engine
This is Rietveld 408576698