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

Unified Diff: components/mus/ws/server_window_surface_manager.h

Issue 1489923002: Wire up inset of SetUnderlaySurfaceOffsetAndExtendedHitArea (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 | « components/mus/ws/server_window.h ('k') | components/mus/ws/server_window_surface_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/ws/server_window_surface_manager.h
diff --git a/components/mus/ws/server_window_surface_manager.h b/components/mus/ws/server_window_surface_manager.h
index b4ae7248a3cc4d8d0c7d5f239708bc76c11b4645..b2d25769b9a0b1b214f5009fd95b744e5df83d1d 100644
--- a/components/mus/ws/server_window_surface_manager.h
+++ b/components/mus/ws/server_window_surface_manager.h
@@ -20,6 +20,7 @@ namespace ws {
class ServerWindow;
class ServerWindowSurface;
+class ServerWindowSurfaceManagerTestApi;
// ServerWindowSurfaceManager tracks the surfaces associated with a
// ServerWindow.
@@ -39,8 +40,10 @@ class ServerWindowSurfaceManager {
ServerWindowSurface* GetDefaultSurface();
ServerWindowSurface* GetUnderlaySurface();
ServerWindowSurface* GetSurfaceByType(mojom::SurfaceType type);
+ bool HasSurfaceOfType(mojom::SurfaceType type);
private:
+ friend class ServerWindowSurfaceManagerTestApi;
friend class ServerWindowSurface;
cc::SurfaceId GenerateId();
« no previous file with comments | « components/mus/ws/server_window.h ('k') | components/mus/ws/server_window_surface_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698