Index: Source/WebKit/chromium/src/WebDOMProgressEvent.cpp |
diff --git a/public/platform/WebFileSystemType.h b/Source/WebKit/chromium/src/WebDOMProgressEvent.cpp |
similarity index 78% |
copy from public/platform/WebFileSystemType.h |
copy to Source/WebKit/chromium/src/WebDOMProgressEvent.cpp |
index 4dd06d1627861979ef7f28b14bd5f11eb97e0440..c3eeeda7534159283a4aaa3bb516b120b65b9320 100644 |
--- a/public/platform/WebFileSystemType.h |
+++ b/Source/WebKit/chromium/src/WebDOMProgressEvent.cpp |
@@ -28,22 +28,21 @@ |
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
-#ifndef WebFileSystemType_h |
-#define WebFileSystemType_h |
+#include "config.h" |
+#include "WebDOMProgressEvent.h" |
-namespace WebKit { |
+#include "core/dom/ProgressEvent.h" |
+#include <public/WebString.h> |
-enum WebFileSystemType { |
- WebFileSystemTypeTemporary, |
- WebFileSystemTypePersistent, |
+using namespace WebCore; |
- // Indicates an isolated filesystem which only exposes a set of files. |
- WebFileSystemTypeIsolated, |
+namespace WebKit { |
- // Indicates a non-sandboxed filesystem. |
- WebFileSystemTypeExternal, |
-}; |
+WebDOMProgressEvent::WebDOMProgressEvent(const WebString& type, bool lengthIsComputable, unsigned long long loaded, unsigned long long total) |
+ : WebDOMEvent(ProgressEvent::create(type, lengthIsComputable, loaded, total)) |
+{ |
+ ASSERT(m_private.get()); |
+ ASSERT(isProgressEvent()); |
+} |
} // namespace WebKit |
- |
-#endif |