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

Unified Diff: services/ui/ws/window_manager_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/window_finder_unittest.cc ('k') | services/ui/ws/window_manager_access_policy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/window_manager_access_policy.h
diff --git a/services/ui/ws/window_manager_access_policy.h b/services/ui/ws/window_manager_access_policy.h
index 2be10ddf41aa84c1d37065caa136900f3ff39ea9..dd115c3723cf6398d1d70e3a2fe6e1ad86315b1e 100644
--- a/services/ui/ws/window_manager_access_policy.h
+++ b/services/ui/ws/window_manager_access_policy.h
@@ -41,8 +41,10 @@ class WindowManagerAccessPolicy : 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 compositor_frame_sink_type)
+ const override;
bool CanSetWindowBounds(const ServerWindow* window) const override;
bool CanSetWindowProperties(const ServerWindow* window) const override;
bool CanSetWindowTextInputState(const ServerWindow* window) const override;
« no previous file with comments | « services/ui/ws/window_finder_unittest.cc ('k') | services/ui/ws/window_manager_access_policy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698