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

Unified Diff: ui/compositor/compositor.h

Issue 11348371: cc: Move WebCompositorOutputSurface and related classes into cc/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: forlanding6 Created 8 years 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/renderer/render_view_impl.cc ('k') | ui/compositor/compositor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/compositor/compositor.h
diff --git a/ui/compositor/compositor.h b/ui/compositor/compositor.h
index 0e2445f7cc3ac477c4bfa31bcb8980d8d1ac9f83..fa621a3c5535eb89b729147aec2d70f55dfbfef3 100644
--- a/ui/compositor/compositor.h
+++ b/ui/compositor/compositor.h
@@ -60,7 +60,7 @@ class COMPOSITOR_EXPORT ContextFactory {
// Creates an output surface for the given compositor. The factory may keep
// per-compositor data (e.g. a shared context), that needs to be cleaned up
// by calling RemoveCompositor when the compositor gets destroyed.
- virtual WebKit::WebCompositorOutputSurface* CreateOutputSurface(
+ virtual cc::OutputSurface* CreateOutputSurface(
Compositor* compositor) = 0;
// Creates a context used for offscreen rendering. This context can be shared
@@ -78,7 +78,7 @@ class COMPOSITOR_EXPORT DefaultContextFactory : public ContextFactory {
virtual ~DefaultContextFactory();
// ContextFactory implementation
- virtual WebKit::WebCompositorOutputSurface* CreateOutputSurface(
+ virtual cc::OutputSurface* CreateOutputSurface(
Compositor* compositor) OVERRIDE;
virtual WebKit::WebGraphicsContext3D* CreateOffscreenContext() OVERRIDE;
virtual void RemoveCompositor(Compositor* compositor) OVERRIDE;
@@ -250,7 +250,7 @@ class COMPOSITOR_EXPORT Compositor
virtual void layout() OVERRIDE;
virtual void applyScrollAndScale(gfx::Vector2d scrollDelta,
float pageScale) OVERRIDE;
- virtual scoped_ptr<WebKit::WebCompositorOutputSurface>
+ virtual scoped_ptr<cc::OutputSurface>
createOutputSurface() OVERRIDE;
virtual void didRecreateOutputSurface(bool success) OVERRIDE;
virtual scoped_ptr<cc::InputHandler> createInputHandler() OVERRIDE;
« no previous file with comments | « content/renderer/render_view_impl.cc ('k') | ui/compositor/compositor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698