Index: trunk/src/content/browser/compositor/software_browser_compositor_output_surface.h |
=================================================================== |
--- trunk/src/content/browser/compositor/software_browser_compositor_output_surface.h (revision 245194) |
+++ trunk/src/content/browser/compositor/software_browser_compositor_output_surface.h (working copy) |
@@ -1,50 +0,0 @@ |
-// Copyright 2014 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_COMPOSITOR_SOFTWARE_BROWSER_COMPOSITOR_OUTPUT_SURFACE_H_ |
-#define CONTENT_BROWSER_COMPOSITOR_SOFTWARE_BROWSER_COMPOSITOR_OUTPUT_SURFACE_H_ |
- |
-#include "base/memory/weak_ptr.h" |
-#include "content/browser/compositor/browser_compositor_output_surface.h" |
-#include "content/common/content_export.h" |
-#include "ui/compositor/compositor.h" |
- |
-namespace base { |
-class MessageLoopProxy; |
-} |
- |
-namespace cc { |
-class SoftwareOutputDevice; |
-} |
- |
-namespace content { |
- |
-class BrowserCompositorOutputSurfaceProxy; |
- |
-class CONTENT_EXPORT SoftwareBrowserCompositorOutputSurface |
- : public BrowserCompositorOutputSurface { |
- public: |
- SoftwareBrowserCompositorOutputSurface( |
- scoped_refptr<BrowserCompositorOutputSurfaceProxy> surface_proxy, |
- scoped_ptr<cc::SoftwareOutputDevice> software_device, |
- int surface_id, |
- IDMap<BrowserCompositorOutputSurface>* output_surface_map, |
- base::MessageLoopProxy* compositor_message_loop, |
- base::WeakPtr<ui::Compositor> compositor); |
- |
- virtual ~SoftwareBrowserCompositorOutputSurface(); |
- |
- private: |
- virtual void SwapBuffers(cc::CompositorFrame* frame) OVERRIDE; |
- |
- // On the software path we need to explicitly call the proxy to update the |
- // VSync parameters. |
- scoped_refptr<BrowserCompositorOutputSurfaceProxy> output_surface_proxy_; |
- |
- DISALLOW_COPY_AND_ASSIGN(SoftwareBrowserCompositorOutputSurface); |
-}; |
- |
-} // namespace content |
- |
-#endif // CONTENT_BROWSER_COMPOSITOR_SOFTWARE_BROWSER_COMPOSITOR_OUTPUT_SURFACE_H_ |