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

Unified Diff: sky/compositor/layer_host.h

Issue 826423008: Use local ids for Surfaces APIs that can only apply to local surfaces (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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: sky/compositor/layer_host.h
diff --git a/sky/compositor/layer_host.h b/sky/compositor/layer_host.h
index 390bc843c1d5702ff9e3466f0fef2d1135ca0478..377dec95c316cf623923dd63e8591d9ed394eda5 100644
--- a/sky/compositor/layer_host.h
+++ b/sky/compositor/layer_host.h
@@ -45,13 +45,11 @@ class LayerHost : public SurfaceHolder::Client {
private:
enum State {
- kWaitingForSurfaceService,
kReadyForFrame,
kWaitingForFrameAcknowldgement,
};
// SurfaceHolder::Client
- void OnSurfaceConnectionCreated() override;
void OnSurfaceIdAvailable(mojo::SurfaceIdPtr surface_id) override;
void ReturnResources(
mojo::Array<mojo::ReturnedResourcePtr> resources) override;

Powered by Google App Engine
This is Rietveld 408576698