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

Unified Diff: content/public/browser/android/compositor_provider.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.h
diff --git a/content/public/browser/android/compositor_provider.h b/content/public/browser/android/compositor_provider.h
new file mode 100644
index 0000000000000000000000000000000000000000..b3398b9ec6fd4218e26ac66c59c1b08281cd2915
--- /dev/null
+++ b/content/public/browser/android/compositor_provider.h
@@ -0,0 +1,25 @@
+// 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_H_
+#define CONTENT_PUBLIC_BROWSER_ANDROID_COMPOSITOR_PROVIDER_H_
+
+namespace content {
+
+class Compositor;
+class CompositorProviderClient;
+
+class CONTENT_EXPORT CompositorProvider {
+ public:
+ virtual Compositor* GetCompositor() = 0;
+ virtual void AddCompositorProviderClient(
+ CompositorProviderClient* client) = 0;
+
+ protected:
+ virtual ~CompositorProvider() {}
+};
+
+} // namespace content
+
+#endif // CONTENT_PUBLIC_BROWSER_ANDROID_COMPOSITOR_PROVIDER_H_

Powered by Google App Engine
This is Rietveld 408576698