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

Unified Diff: Source/platform/graphics/ImageBufferClient.h

Issue 211503006: Implementation of 2D canvas context lost/restored events (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 6 years, 9 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 | « Source/platform/graphics/ImageBuffer.cpp ('k') | Source/platform/graphics/ImageBufferSurface.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/graphics/ImageBufferClient.h
diff --git a/Source/platform/PasteMode.h b/Source/platform/graphics/ImageBufferClient.h
similarity index 86%
copy from Source/platform/PasteMode.h
copy to Source/platform/graphics/ImageBufferClient.h
index 351e5d432ea0c7ed59b7a0f2cd4e9b18c5579399..4843f50103303c76d0558e9f530c2fc96b2ee257 100644
--- a/Source/platform/PasteMode.h
+++ b/Source/platform/graphics/ImageBufferClient.h
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2013 Google Inc. All rights reserved.
+ * Copyright (c) 2014, Google Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
@@ -28,16 +28,18 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef PasteMode_h
-#define PasteMode_h
+#ifndef ImageBufferClient_h
+#define ImageBufferClient_h
namespace WebCore {
-enum PasteMode {
- AllMimeTypes,
- PlainTextOnly,
+class ImageBufferClient {
+public:
+ virtual ~ImageBufferClient() { }
+ virtual void notifySurfaceInvalid() = 0;
};
-} // namespace WebCore
+}
#endif
+
« no previous file with comments | « Source/platform/graphics/ImageBuffer.cpp ('k') | Source/platform/graphics/ImageBufferSurface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698