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

Unified Diff: content/renderer/render_widget.h

Issue 16119003: Move SynchronousCompositor into content/browser (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
Index: content/renderer/render_widget.h
diff --git a/content/renderer/render_widget.h b/content/renderer/render_widget.h
index 3050ae564e03f524811718c5f2019f8d2e9840ee..81fdd777a1b476d822709b333b7bf52dd54b2a34 100644
--- a/content/renderer/render_widget.h
+++ b/content/renderer/render_widget.h
@@ -76,7 +76,6 @@ namespace content {
struct GpuRenderingStats;
class RenderWidgetCompositor;
class RenderWidgetTest;
-class SynchronousCompositorImpl;
// RenderWidget provides a communication bridge between a WebWidget and
// a RenderWidgetHost, the latter of which lives in a different process.
@@ -503,9 +502,6 @@ class CONTENT_EXPORT RenderWidget
WebGraphicsContext3DCommandBufferImpl* CreateGraphicsContext3D(
const WebKit::WebGraphicsContext3D::Attributes& attributes);
- // Lazily creates the synchronous compositor on first call.
- SynchronousCompositorImpl* GetSynchronousCompositor();
-
bool OnSnapshotHelper(const gfx::Rect& src_subrect, SkBitmap* bitmap);
// Routing ID that allows us to communicate to the parent browser process
@@ -520,12 +516,7 @@ class CONTENT_EXPORT RenderWidget
// This is lazily constructed and must not outlive webwidget_.
scoped_ptr<RenderWidgetCompositor> compositor_;
-#if defined(OS_ANDROID)
- // This is lazily constructed.
- scoped_ptr<SynchronousCompositorImpl> synchronous_compositor_;
-#endif
-
- // Set to the ID of the view that initiated creating this view, if any. When
+ // Set to the ID of the view that initiated creating this view, if any. When
// the view was initiated by the browser (the common case), this will be
// MSG_ROUTING_NONE. This is used in determining ownership when opening
// child tabs. See RenderWidget::createWebViewWithRequest.

Powered by Google App Engine
This is Rietveld 408576698