Index: content/browser/renderer_host/software_layer_mac.h |
diff --git a/content/browser/renderer_host/software_layer_mac.h b/content/browser/renderer_host/software_layer_mac.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..687070e500e3dc760ce5915a56845106bc0f0f77 |
--- /dev/null |
+++ b/content/browser/renderer_host/software_layer_mac.h |
@@ -0,0 +1,22 @@ |
+// 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_RENDERER_HOST_SOFTWARE_LAYER_MAC_H_ |
+#define CONTENT_BROWSER_RENDERER_HOST_SOFTWARE_LAYER_MAC_H_ |
+ |
+#import <Cocoa/Cocoa.h> |
+ |
+#include "ui/gfx/geometry/size.h" |
+ |
+@interface SoftwareLayer : CALayer |
+- (id)init; |
+ |
+- (void)setContentsToData:(const void *)data |
+ withRowBytes:(size_t)rowBytes |
+ withPixelSize:(gfx::Size)pixelSize |
+ withScaleFactor:(float)scaleFactor; |
+@end |
+ |
+ |
+#endif // CONTENT_BROWSER_RENDERER_HOST_SOFTWARE_LAYER_MAC_H_ |