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

Unified Diff: skia/ext/platform_canvas_linux.h

Issue 39105: Windowless plugins: basic drawing works. (Closed)
Patch Set: retry Created 11 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: skia/ext/platform_canvas_linux.h
diff --git a/skia/ext/platform_canvas_linux.h b/skia/ext/platform_canvas_linux.h
index 1cf87a81b72fb3d1617124cd80eb6a8735e2f2c5..43061fc4548343291738d8dbffde06d175995313 100644
--- a/skia/ext/platform_canvas_linux.h
+++ b/skia/ext/platform_canvas_linux.h
@@ -37,6 +37,9 @@ class PlatformCanvasLinux : public SkCanvas {
// a Linux version is added for compatibility.
PlatformDeviceLinux& getTopPlatformDevice() const;
+ // See comment in platform_device_linux.h.
+ virtual PlatformDeviceLinux::XDrawable getXDrawable();
+
// Return the stride (length of a line in bytes) for the given width. Because
// we use 32-bits per pixel, this will be roughly 4*width. However, for
// alignment reasons we may wish to increase that.

Powered by Google App Engine
This is Rietveld 408576698