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

Unified Diff: cc/surfaces/surface_sequence_generator.cc

Issue 2369793002: WIP: Propagate SurfaceID up window tree hierarchy
Patch Set: Fix input events: EventDispatcher ignores container windows Created 4 years, 3 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 | « cc/surfaces/surface_sequence_generator.h ('k') | cc/test/test_compositor_frame_sink.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/surfaces/surface_sequence_generator.cc
diff --git a/cc/trees/surface_sequence_generator.cc b/cc/surfaces/surface_sequence_generator.cc
similarity index 70%
rename from cc/trees/surface_sequence_generator.cc
rename to cc/surfaces/surface_sequence_generator.cc
index f2196892519bbe57661b6c78fed8570fcd2d8215..8119a137cf565b057442a4fc522a1ad9811f70c8 100644
--- a/cc/trees/surface_sequence_generator.cc
+++ b/cc/surfaces/surface_sequence_generator.cc
@@ -2,18 +2,19 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include <cc/trees/surface_sequence_generator.h>
+#include "cc/surfaces/surface_sequence_generator.h"
+
#include "cc/surfaces/surface_sequence.h"
namespace cc {
SurfaceSequenceGenerator::SurfaceSequenceGenerator()
- : surface_client_id_(0u), next_surface_sequence_(1u) {}
+ : next_surface_sequence_(1u) {}
SurfaceSequenceGenerator::~SurfaceSequenceGenerator() = default;
SurfaceSequence SurfaceSequenceGenerator::CreateSurfaceSequence() {
- return SurfaceSequence(surface_client_id_, next_surface_sequence_++);
+ return SurfaceSequence(frame_sink_id_, next_surface_sequence_++);
}
} // namespace cc
« no previous file with comments | « cc/surfaces/surface_sequence_generator.h ('k') | cc/test/test_compositor_frame_sink.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698