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

Unified Diff: cc/surfaces/display.cc

Issue 2403573002: cc: Introduce mechanism to observe CompositorFrames submitted to new surfaceIDs (Closed)
Patch Set: Updated changes missed 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
« no previous file with comments | « cc/surfaces/display.h ('k') | cc/surfaces/surface_damage_observer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/surfaces/display.cc
diff --git a/cc/surfaces/display.cc b/cc/surfaces/display.cc
index 89d6bd4087c19d90d3f6db0a7a1e0cb55f117c1a..1b2b36ac0ae763aa1ba9b0446f518e2389d08aa9 100644
--- a/cc/surfaces/display.cc
+++ b/cc/surfaces/display.cc
@@ -412,6 +412,10 @@ void Display::OnSurfaceDamaged(const SurfaceId& surface_id, bool* changed) {
UpdateRootSurfaceResourcesLocked();
}
+void Display::OnSurfaceCreated(const SurfaceId& surface_id,
+ const gfx::Size& frame,
+ float device_scale_factor) {}
+
const SurfaceId& Display::CurrentSurfaceId() {
return current_surface_id_;
}
« no previous file with comments | « cc/surfaces/display.h ('k') | cc/surfaces/surface_damage_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698