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

Unified Diff: webkit/compositor_bindings/web_compositor_support_software_output_device.h

Issue 12379055: Changed SoftwareOutputDevice interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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: webkit/compositor_bindings/web_compositor_support_software_output_device.h
diff --git a/webkit/compositor_bindings/web_compositor_support_software_output_device.h b/webkit/compositor_bindings/web_compositor_support_software_output_device.h
deleted file mode 100644
index fffc2500b1fbcdc555a3901d352d40641e34eb78..0000000000000000000000000000000000000000
--- a/webkit/compositor_bindings/web_compositor_support_software_output_device.h
+++ /dev/null
@@ -1,35 +0,0 @@
-// Copyright 2012 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 WEBKIT_COMPOSITOR_BINDINGS_WEB_COMPOSITOR_SUPPORT_SOFTWARE_OUTPUT_DEVICE_H_
-#define WEBKIT_COMPOSITOR_BINDINGS_WEB_COMPOSITOR_SUPPORT_SOFTWARE_OUTPUT_DEVICE_H_
-
-#include "base/logging.h"
-#include "cc/software_output_device.h"
-#include "skia/ext/refptr.h"
-#include "third_party/WebKit/Source/Platform/chromium/public/WebImage.h"
-#include "third_party/skia/include/core/SkDevice.h"
-#include "webkit/compositor_bindings/webkit_compositor_bindings_export.h"
-
-namespace webkit {
-
-class WebCompositorSupportSoftwareOutputDevice :
- public cc::SoftwareOutputDevice {
- public:
- WEBKIT_COMPOSITOR_BINDINGS_EXPORT WebCompositorSupportSoftwareOutputDevice();
- virtual ~WebCompositorSupportSoftwareOutputDevice();
-
- virtual WebKit::WebImage* Lock(bool for_write) OVERRIDE;
- virtual void Unlock() OVERRIDE;
-
- virtual void DidChangeViewportSize(gfx::Size size) OVERRIDE;
-
- private:
- skia::RefPtr<SkDevice> device_;
- WebKit::WebImage image_;
-};
-
-} // namespace webkit
-
-#endif // WEBKIT_COMPOSITOR_BINDINGS_WEB_COMPOSITOR_SUPPORT_SOFTWARE_OUTPUT_DEVICE_H_

Powered by Google App Engine
This is Rietveld 408576698