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 |
+ |