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

Unified Diff: components/exo/surface.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/trees/surface_sequence_generator.cc ('k') | content/browser/browser_plugin/browser_plugin_guest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/exo/surface.cc
diff --git a/components/exo/surface.cc b/components/exo/surface.cc
index ab4cf7b60c9256fe7fec22ef40e6c162558a8ad8..ca145696c7acbe613a56c270a6e2fc15df9404f0 100644
--- a/components/exo/surface.cc
+++ b/components/exo/surface.cc
@@ -145,7 +145,7 @@ void SatisfyCallback(cc::SurfaceManager* manager,
const cc::SurfaceSequence& sequence) {
std::vector<uint32_t> sequences;
sequences.push_back(sequence.sequence);
- manager->DidSatisfySequences(sequence.client_id, &sequences);
+ manager->DidSatisfySequences(sequence.frame_sink_id, &sequences);
}
void RequireCallback(cc::SurfaceManager* manager,
@@ -194,8 +194,8 @@ void SurfaceFactoryOwner::SetBeginFrameSource(
SurfaceFactoryOwner::~SurfaceFactoryOwner() {
if (surface_factory_->manager()) {
- surface_factory_->manager()->InvalidateSurfaceClientId(
- id_allocator_->client_id());
+ surface_factory_->manager()->InvalidateFrameSinkId(
+ id_allocator_->frame_sink_id());
}
}
@@ -216,9 +216,9 @@ Surface::Surface()
window_->set_owned_by_parent(false);
factory_owner_->surface_ = this;
factory_owner_->id_allocator_.reset(new cc::SurfaceIdAllocator(
- aura::Env::GetInstance()->context_factory()->AllocateSurfaceClientId()));
- surface_manager_->RegisterSurfaceClientId(
- factory_owner_->id_allocator_->client_id());
+ aura::Env::GetInstance()->context_factory()->AllocateFrameSinkId()));
+ surface_manager_->RegisterFrameSinkId(
+ factory_owner_->id_allocator_->frame_sink_id());
factory_owner_->surface_factory_.reset(
new cc::SurfaceFactory(surface_manager_, factory_owner_.get()));
aura::Env::GetInstance()->context_factory()->AddObserver(this);
« no previous file with comments | « cc/trees/surface_sequence_generator.cc ('k') | content/browser/browser_plugin/browser_plugin_guest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698