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

Unified Diff: content/public/browser/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: rebase 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
« no previous file with comments | « content/public/browser/android/synchronous_compositor.h ('k') | content/public/common/content_switches.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « content/public/browser/android/synchronous_compositor.h ('k') | content/public/common/content_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698