Index: Source/bindings/common/DeleteResult.h |
diff --git a/public/web/WebDragStatus.h b/Source/bindings/common/DeleteResult.h |
similarity index 81% |
copy from public/web/WebDragStatus.h |
copy to Source/bindings/common/DeleteResult.h |
index 81ba39024ac1ef286ab9e0e027582196e5cd07f0..1b6f18377a3ab6a8099f1d105dc5518fc2280149 100644 |
--- a/public/web/WebDragStatus.h |
+++ b/Source/bindings/common/DeleteResult.h |
@@ -1,5 +1,6 @@ |
/* |
-* Copyright (C) 2012 Google Inc. All rights reserved. |
+* Copyright (C) 2009 Google Inc. All rights reserved. |
+* Copyright (C) 2012 Ericsson AB. All rights reserved. |
* |
* Redistribution and use in source and binary forms, with or without |
* modification, are permitted provided that the following conditions are |
@@ -28,20 +29,19 @@ |
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
-#ifndef WebDragStatus_h |
-#define WebDragStatus_h |
+#ifndef DeleteResult_h |
+#define DeleteResult_h |
namespace blink { |
-enum WebDragStatus { |
- WebDragStatusUnknown = 0, |
- WebDragStatusEnter, |
- WebDragStatusOver, |
- WebDragStatusLeave, |
- WebDragStatusDrop, |
- WebDragStatusLast = WebDragStatusDrop |
+// Result values for platform object 'deleter' methods, |
+// http://www.w3.org/TR/WebIDL/#delete |
+enum DeleteResult { |
+ DeleteSuccess, |
+ DeleteReject, |
+ DeleteUnknownProperty |
}; |
} // namespace blink |
-#endif |
+#endif // DeleteResult_h |