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

Unified Diff: cc/layer_tree_host_impl.h

Issue 11348371: cc: Move WebCompositorOutputSurface and related classes into cc/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase 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/layer_tree_host_impl.h
diff --git a/cc/layer_tree_host_impl.h b/cc/layer_tree_host_impl.h
index 675d765fb8b9b4e792822752bdfb3573f2d70b7c..37befadcda122cebf74213fdff83b34b1164c501 100644
--- a/cc/layer_tree_host_impl.h
+++ b/cc/layer_tree_host_impl.h
@@ -12,13 +12,13 @@
#include "cc/cc_export.h"
#include "cc/input_handler.h"
#include "cc/layer_sorter.h"
+#include "cc/output_surface_client.h"
#include "cc/render_pass.h"
#include "cc/render_pass_sink.h"
#include "cc/renderer.h"
#include "cc/tile_manager.h"
#include "third_party/skia/include/core/SkColor.h"
#include "ui/gfx/rect.h"
-#include <public/WebCompositorOutputSurfaceClient.h>
namespace cc {
@@ -113,7 +113,7 @@ private:
class CC_EXPORT LayerTreeHostImpl : public InputHandlerClient,
public RendererClient,
public TileManagerClient,
- public NON_EXPORTED_BASE(WebKit::WebCompositorOutputSurfaceClient) {
+ public OutputSurfaceClient {
typedef std::vector<LayerImpl*> LayerList;
public:
@@ -176,8 +176,9 @@ public:
virtual void ScheduleManageTiles() OVERRIDE;
virtual void ScheduleRedraw() OVERRIDE;
- // WebCompositorOutputSurfaceClient implementation.
- virtual void onVSyncParametersChanged(double monotonicTimebase, double intervalInSeconds) OVERRIDE;
+ // OutputSurfaceClient implementation.
+ virtual void OnVSyncParametersChanged(base::TimeTicks timebase, base::TimeDelta interval) OVERRIDE;
+ virtual void OnSendFrameToParentCompositorAck(const CompositorFrameAck&) OVERRIDE;
// Implementation
bool canDraw();

Powered by Google App Engine
This is Rietveld 408576698