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

Unified Diff: content/public/renderer/android/synchronous_compositor_client.h

Issue 15851006: Move synchronous compositor into content/browser (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: tidy Created 7 years, 7 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: content/public/renderer/android/synchronous_compositor_client.h
diff --git a/content/public/renderer/android/synchronous_compositor_client.h b/content/public/renderer/android/synchronous_compositor_client.h
deleted file mode 100644
index b123fdbf27df9cebfd96d5f350cbd3a4224b45a1..0000000000000000000000000000000000000000
--- a/content/public/renderer/android/synchronous_compositor_client.h
+++ /dev/null
@@ -1,39 +0,0 @@
-// Copyright (c) 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CONTENT_PUBLIC_RENDERER_ANDROID_SYNCHRONOUS_COMPOSITOR_CLIENT_H_
-#define CONTENT_PUBLIC_RENDERER_ANDROID_SYNCHRONOUS_COMPOSITOR_CLIENT_H_
-
-#include "base/basictypes.h"
-
-namespace content {
-
-class SynchronousCompositor;
-
-class SynchronousCompositorClient {
- public:
- // Indication to the client that |compositor| is going out of scope, and
- // must not be accessed within or after this call.
- // NOTE if the client goes away before the compositor it must call
- // SynchronousCompositor::SetClient(NULL) to release the back pointer.
- virtual void DidDestroyCompositor(SynchronousCompositor* compositor) = 0;
-
- // TODO(joth): Add scroll getters and setters.
-
- // When true, should periodically call
- // SynchronousCompositorOutputSurface::DemandDrawHw. Note that this value
- // can change inside DemandDrawHw call.
- virtual void SetContinuousInvalidate(bool invalidate) = 0;
-
- protected:
- SynchronousCompositorClient() {}
- virtual ~SynchronousCompositorClient() {}
-
- private:
- DISALLOW_COPY_AND_ASSIGN(SynchronousCompositorClient);
-};
-
-} // namespace content
-
-#endif // CONTENT_PUBLIC_RENDERER_ANDROID_SYNCHRONOUS_COMPOSITOR_CLIENT_H_

Powered by Google App Engine
This is Rietveld 408576698