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

Unified Diff: skia/ext/platform_device_linux.h

Issue 6987019: Revert 86625 - This change implements a first pass in the effort to remove the dependency of Plat... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 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
« no previous file with comments | « skia/ext/platform_device.cc ('k') | skia/ext/platform_device_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: skia/ext/platform_device_linux.h
===================================================================
--- skia/ext/platform_device_linux.h (revision 86628)
+++ skia/ext/platform_device_linux.h (working copy)
@@ -6,9 +6,10 @@
#define SKIA_EXT_PLATFORM_DEVICE_LINUX_H_
#pragma once
-#include "skia/ext/platform_device.h"
#include "third_party/skia/include/core/SkDevice.h"
+typedef struct _cairo cairo_t;
+
namespace skia {
// Blindly copying the mac hierarchy.
@@ -25,12 +26,6 @@
virtual PlatformSurface BeginPlatformPaint() = 0;
virtual void EndPlatformPaint();
- virtual void DrawToNativeContext(PlatformSurface surface, int x, int y,
- const PlatformRect* src_rect );
-
- // Sets the opacity of each pixel in the specified region to be opaque.
- virtual void MakeOpaque(int x, int y, int width, int height) { }
-
protected:
// Forwards |bitmap| to SkDevice's constructor.
explicit PlatformDevice(const SkBitmap& bitmap);
« no previous file with comments | « skia/ext/platform_device.cc ('k') | skia/ext/platform_device_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698