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

Unified Diff: skia/ext/platform_device.h

Issue 9416017: Optionally clear PlatformCanvas instances. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Address style issues. Created 8 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_device.h
===================================================================
--- skia/ext/platform_device.h (revision 123041)
+++ skia/ext/platform_device.h (working copy)
@@ -98,6 +98,13 @@
// provide to allow for drawing by the native platform into the device.
class SK_API PlatformDevice {
public:
+ enum PlatformDeviceFlags {
+ FLAGS_NONE = 0,
+ FLAGS_OPAQUE = 1,
+ FLAGS_INITIALIZED = 2
+ };
+ static int GetDefaultFlags(bool is_opaque);
+
virtual ~PlatformDevice() {}
#if defined(OS_MACOSX)

Powered by Google App Engine
This is Rietveld 408576698