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

Unified Diff: cc/trees/surface_sequence_generator.h

Issue 2397103002: Move SurfaceSequenceGenerator => cc/surfaces (Closed)
Patch Set: 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: cc/trees/surface_sequence_generator.h
diff --git a/cc/trees/surface_sequence_generator.h b/cc/trees/surface_sequence_generator.h
deleted file mode 100644
index 298fd78ba9510011dad5b8b00be6f08420e43515..0000000000000000000000000000000000000000
--- a/cc/trees/surface_sequence_generator.h
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright 2016 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CC_TREES_SURFACE_SEQUENCE_GENERATOR_H_
-#define CC_TREES_SURFACE_SEQUENCE_GENERATOR_H_
-
-#include <stdint.h>
-
-#include <tuple>
-
-#include "base/macros.h"
-#include "cc/base/cc_export.h"
-
-#include "cc/surfaces/frame_sink_id.h"
-
-namespace cc {
-struct SurfaceSequence;
-
-// Generates unique surface sequences for a surface client id.
-class CC_EXPORT SurfaceSequenceGenerator {
- public:
- SurfaceSequenceGenerator();
- ~SurfaceSequenceGenerator();
-
- void set_frame_sink_id(const FrameSinkId& frame_sink_id) {
- frame_sink_id_ = frame_sink_id;
- }
-
- SurfaceSequence CreateSurfaceSequence();
-
- private:
- FrameSinkId frame_sink_id_;
- uint32_t next_surface_sequence_;
-
- DISALLOW_COPY_AND_ASSIGN(SurfaceSequenceGenerator);
-};
-
-} // namespace cc
-
-#endif // CC_TREES_SURFACE_SEQUENCE_GENERATOR_H_

Powered by Google App Engine
This is Rietveld 408576698