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

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

Issue 2163423002: mus: Each ServerWindowSurface should have a different client ID (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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/server_window_surface.cc ('k') | services/ui/ws/server_window_surface_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/server_window_surface_manager.h
diff --git a/services/ui/ws/server_window_surface_manager.h b/services/ui/ws/server_window_surface_manager.h
index 41f1d84bd2aeae3ea6209829038b76db29634e12..11d158068fb922cb7161f707980a7de19a2c5e18 100644
--- a/services/ui/ws/server_window_surface_manager.h
+++ b/services/ui/ws/server_window_surface_manager.h
@@ -11,7 +11,6 @@
#include "cc/ipc/compositor_frame.mojom.h"
#include "cc/surfaces/surface_factory.h"
#include "cc/surfaces/surface_id.h"
-#include "cc/surfaces/surface_id_allocator.h"
#include "mojo/public/cpp/bindings/binding.h"
#include "services/ui/public/interfaces/window_tree.mojom.h"
@@ -46,7 +45,6 @@ class ServerWindowSurfaceManager {
bool HasSurfaceOfType(mojom::SurfaceType type) const;
bool HasAnySurface() const;
- uint32_t client_id() const { return surface_id_allocator_.client_id(); }
cc::SurfaceManager* GetSurfaceManager();
private:
@@ -57,12 +55,8 @@ class ServerWindowSurfaceManager {
// than the size of the window.
bool IsSurfaceReadyAndNonEmpty(mojom::SurfaceType type) const;
- cc::SurfaceId GenerateId();
-
ServerWindow* window_;
- cc::SurfaceIdAllocator surface_id_allocator_;
-
using TypeToSurfaceMap =
std::map<mojom::SurfaceType, std::unique_ptr<ServerWindowSurface>>;
« no previous file with comments | « services/ui/ws/server_window_surface.cc ('k') | services/ui/ws/server_window_surface_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698