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

Unified Diff: cc/output_surface_client.h

Issue 11348371: cc: Move WebCompositorOutputSurface and related classes into cc/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: mynits Created 8 years 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/output_surface_client.h
diff --git a/cc/output_surface_client.h b/cc/output_surface_client.h
new file mode 100644
index 0000000000000000000000000000000000000000..4267eec4262b6277a74f7ba4626db78aa7f04838
--- /dev/null
+++ b/cc/output_surface_client.h
@@ -0,0 +1,20 @@
+ // Copyright 2012 The Chromium Authors. All rights reserved.
jamesr 2012/12/04 07:06:51 leading space here for some reason
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CC_OUTPUT_SURFACE_CLIENT_H_
+#define CC_OUTPUT_SURFACE_CLIENT_H_
+
+namespace cc {
+
+class CompositorFrameAck;
+
+class OutputSurfaceClient {
+ public:
+ virtual void OnVSyncParametersChanged(double monotonicTimebase, double intervalInSeconds) = 0;
jamesr 2012/12/04 07:06:51 the types on this should be base::TimeTicks and ba
danakj 2012/12/04 18:15:34 Done.
+ virtual void OnSendFrameToParentCompositorAck(const CompositorFrameAck&) {}
jamesr 2012/12/04 07:06:51 do we need a default impl of this or can it be pur
danakj 2012/12/04 18:15:34 Sure, I'll have to add the method to LayerTreeHost
+};
jamesr 2012/12/04 07:06:51 can you add an empty virtual dtor (probably protec
danakj 2012/12/04 18:15:34 Done.
+
+} // namespace cc
+
+#endif // CC_OUTPUT_SURFACE_CLIENT_H_

Powered by Google App Engine
This is Rietveld 408576698