Index: content/public/browser/android/synchronous_compositor_client.h |
diff --git a/content/public/renderer/android/synchronous_compositor_client.h b/content/public/browser/android/synchronous_compositor_client.h |
similarity index 72% |
rename from content/public/renderer/android/synchronous_compositor_client.h |
rename to content/public/browser/android/synchronous_compositor_client.h |
index b123fdbf27df9cebfd96d5f350cbd3a4224b45a1..c156eae6ff3fe3875676f39c0e02ecb230cd0aee 100644 |
--- a/content/public/renderer/android/synchronous_compositor_client.h |
+++ b/content/public/browser/android/synchronous_compositor_client.h |
@@ -2,8 +2,8 @@ |
// 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_ |
+#ifndef CONTENT_PUBLIC_BROWSER_ANDROID_SYNCHRONOUS_COMPOSITOR_CLIENT_H_ |
+#define CONTENT_PUBLIC_BROWSER_ANDROID_SYNCHRONOUS_COMPOSITOR_CLIENT_H_ |
#include "base/basictypes.h" |
@@ -13,6 +13,10 @@ class SynchronousCompositor; |
class SynchronousCompositorClient { |
public: |
+ // Indication to the client that |compositor| is now initialized on the |
+ // compositor thread, and open for business. |
+ virtual void DidInitializeCompositor(SynchronousCompositor* compositor) = 0; |
+ |
// 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 |
@@ -36,4 +40,4 @@ class SynchronousCompositorClient { |
} // namespace content |
-#endif // CONTENT_PUBLIC_RENDERER_ANDROID_SYNCHRONOUS_COMPOSITOR_CLIENT_H_ |
+#endif // CONTENT_PUBLIC_BROWSER_ANDROID_SYNCHRONOUS_COMPOSITOR_CLIENT_H_ |