Chromium Code Reviews| 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) |