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

Unified Diff: content/public/browser/android/compositor_provider_client.h

Issue 26753005: Adding compositor callbacks to RenderWidgetHostViewAndroid (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Plumb compositor provider through instead of compositor Created 7 years, 1 month 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/browser/android/compositor_provider_client.h
diff --git a/content/public/browser/android/compositor_provider_client.h b/content/public/browser/android/compositor_provider_client.h
new file mode 100644
index 0000000000000000000000000000000000000000..18aded07c58f6db14e20fa2be17df83589734bf2
--- /dev/null
+++ b/content/public/browser/android/compositor_provider_client.h
@@ -0,0 +1,22 @@
+// 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_BROWSER_ANDROID_COMPOSITOR_PROVIDER_CLIENT_H_
+#define CONTENT_PUBLIC_BROWSER_ANDROID_COMPOSITOR_PROVIDER_CLIENT_H_
+
+namespace content {
+
+class Compositor;
+
+class CONTENT_EXPORT CompositorProviderClient {
+ public:
+ virtual void ChangeCompositor(Compositor* compositor) = 0;
+
+ protected:
+ virtual ~CompositorProviderClient() {}
+};
+
+} // namespace content
+
+#endif // CONTENT_PUBLIC_BROWSER_ANDROID_COMPOSITOR_PROVIDER_CLIENT_H_

Powered by Google App Engine
This is Rietveld 408576698