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

Unified Diff: content/browser/renderer_host/compositor_observer.h

Issue 26753005: Adding compositor callbacks to RenderWidgetHostViewAndroid (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Separate Compositor plumbing from SetContentView Created 7 years, 2 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/browser/renderer_host/compositor_observer.h
diff --git a/content/browser/renderer_host/compositor_observer.h b/content/browser/renderer_host/compositor_observer.h
new file mode 100644
index 0000000000000000000000000000000000000000..b1ab1e321ed11fe07b2086883122f22e344c3138
--- /dev/null
+++ b/content/browser/renderer_host/compositor_observer.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_BROWSER_RENDERER_HOST_COMPOSITOR_OBSERVER_H_
+#define CONTENT_BROWSER_RENDERER_HOST_COMPOSITOR_OBSERVER_H_
+
+namespace content {
+
+class Compositor;
+
+class CONTENT_EXPORT CompositorObserver {
+ public:
+ virtual void OnCompositingDidCommit(Compositor* compositor) = 0;
+
+ protected:
+ virtual ~CompositorObserver() {}
+};
+
+} // namespace content
+
+#endif // CONTENT_BROWSER_RENDERER_HOST_COMPOSITOR_OBSERVER_H

Powered by Google App Engine
This is Rietveld 408576698