Diff
Modified: trunk/Source/WebCore/CMakeLists.txt (108555 => 108556)
--- trunk/Source/WebCore/CMakeLists.txt 2012-02-22 22:54:38 UTC (rev 108555)
+++ trunk/Source/WebCore/CMakeLists.txt 2012-02-22 23:07:26 UTC (rev 108556)
@@ -1601,6 +1601,7 @@
fileapi/DOMFileSystem.cpp
fileapi/DOMFileSystemBase.cpp
fileapi/DOMFileSystemSync.cpp
+ fileapi/DOMWindowFileSystem.cpp
fileapi/Entry.cpp
fileapi/EntryArray.cpp
fileapi/EntryArraySync.cpp
@@ -1622,6 +1623,7 @@
fileapi/DirectoryReaderSync.idl
fileapi/DOMFileSystem.idl
fileapi/DOMFileSystemSync.idl
+ fileapi/DOMWindowFileSystem.idl
fileapi/EntriesCallback.idl
fileapi/Entry.idl
fileapi/EntrySync.idl
Modified: trunk/Source/WebCore/ChangeLog (108555 => 108556)
--- trunk/Source/WebCore/ChangeLog 2012-02-22 22:54:38 UTC (rev 108555)
+++ trunk/Source/WebCore/ChangeLog 2012-02-22 23:07:26 UTC (rev 108556)
@@ -1,3 +1,41 @@
+2012-02-22 Adam Barth <[email protected]>
+
+ Move FILE_SYSTEM code out of DOMWindow and into the fileapi folder
+ https://bugs.webkit.org/show_bug.cgi?id=79259
+
+ Reviewed by Eric Seidel.
+
+ This patch is part of our ongoing effort to remove ifdefs from code
+ classes. The FILE_SYSTEM code in DOMWindow doesn't really have any
+ necessary connection to DOMWindow. DOMWindow is just the context
+ object that the API hangs off of.
+
+ This patch moves the FILE_SYSTEM code into the fileapi folder using
+ [Supplemental].
+
+ * CMakeLists.txt:
+ * DerivedSources.make:
+ * DerivedSources.pri:
+ * GNUmakefile.list.am:
+ * Target.pri:
+ * WebCore.gypi:
+ * fileapi/DOMWindowFileSystem.cpp: Added.
+ (WebCore):
+ (WebCore::DOMWindowFileSystem::DOMWindowFileSystem):
+ (WebCore::DOMWindowFileSystem::~DOMWindowFileSystem):
+ (WebCore::DOMWindowFileSystem::webkitRequestFileSystem):
+ (WebCore::DOMWindowFileSystem::webkitResolveLocalFileSystemURL):
+ * fileapi/DOMWindowFileSystem.h: Added.
+ (WebCore):
+ (DOMWindowFileSystem):
+ * fileapi/DOMWindowFileSystem.idl: Added.
+ * page/DOMWindow.cpp:
+ (WebCore):
+ * page/DOMWindow.h:
+ (WebCore):
+ (DOMWindow):
+ * page/DOMWindow.idl:
+
2012-02-22 Luke Macpherson <[email protected]>
Re-implement many more HANDLE_INHERIT_AND_INITIAL_AND_PRIMITIVE macros in CSSStyleApplyProperty.
Modified: trunk/Source/WebCore/DerivedSources.make (108555 => 108556)
--- trunk/Source/WebCore/DerivedSources.make 2012-02-22 22:54:38 UTC (rev 108555)
+++ trunk/Source/WebCore/DerivedSources.make 2012-02-22 23:07:26 UTC (rev 108556)
@@ -158,6 +158,7 @@
$(WebCore)/fileapi/Blob.idl \
$(WebCore)/fileapi/DOMFileSystem.idl \
$(WebCore)/fileapi/DOMFileSystemSync.idl \
+ $(WebCore)/fileapi/DOMWindowFileSystem.idl \
$(WebCore)/fileapi/DirectoryEntry.idl \
$(WebCore)/fileapi/DirectoryEntrySync.idl \
$(WebCore)/fileapi/DirectoryReader.idl \
Modified: trunk/Source/WebCore/DerivedSources.pri (108555 => 108556)
--- trunk/Source/WebCore/DerivedSources.pri 2012-02-22 22:54:38 UTC (rev 108555)
+++ trunk/Source/WebCore/DerivedSources.pri 2012-02-22 23:07:26 UTC (rev 108556)
@@ -189,6 +189,7 @@
$$PWD/fileapi/DirectoryReaderSync.idl \
$$PWD/fileapi/DOMFileSystem.idl \
$$PWD/fileapi/DOMFileSystemSync.idl \
+ $$PWD/fileapi/DOMWindowFileSystem.idl \
$$PWD/fileapi/EntriesCallback.idl \
$$PWD/fileapi/Entry.idl \
$$PWD/fileapi/EntryArray.idl \
Modified: trunk/Source/WebCore/GNUmakefile.list.am (108555 => 108556)
--- trunk/Source/WebCore/GNUmakefile.list.am 2012-02-22 22:54:38 UTC (rev 108555)
+++ trunk/Source/WebCore/GNUmakefile.list.am 2012-02-22 23:07:26 UTC (rev 108556)
@@ -1873,6 +1873,8 @@
Source/WebCore/fileapi/DOMFileSystemBase.h \
Source/WebCore/fileapi/DOMFileSystemSync.cpp \
Source/WebCore/fileapi/DOMFileSystemSync.h \
+ Source/WebCore/fileapi/DOMWindowFileSystem.cpp \
+ Source/WebCore/fileapi/DOMWindowFileSystem.h \
Source/WebCore/fileapi/EntriesCallback.h \
Source/WebCore/fileapi/Entry.cpp \
Source/WebCore/fileapi/Entry.h \
@@ -4833,6 +4835,7 @@
dom_binding_idls += \
$(WebCore)/fileapi/DOMFileSystem.idl \
$(WebCore)/fileapi/DOMFileSystemSync.idl \
+ $(WebCore)/fileapi/DOMWindowFileSystem.idl \
$(WebCore)/fileapi/DirectoryEntry.idl \
$(WebCore)/fileapi/DirectoryEntrySync.idl \
$(WebCore)/fileapi/DirectoryReader.idl \
Modified: trunk/Source/WebCore/Target.pri (108555 => 108556)
--- trunk/Source/WebCore/Target.pri 2012-02-22 22:54:38 UTC (rev 108555)
+++ trunk/Source/WebCore/Target.pri 2012-02-22 23:07:26 UTC (rev 108556)
@@ -656,6 +656,7 @@
fileapi/DOMFileSystem.cpp \
fileapi/DOMFileSystemBase.cpp \
fileapi/DOMFileSystemSync.cpp \
+ fileapi/DOMWindowFileSystem.cpp \
fileapi/DirectoryEntry.cpp \
fileapi/DirectoryEntrySync.cpp \
fileapi/DirectoryReader.cpp \
Modified: trunk/Source/WebCore/WebCore.gypi (108555 => 108556)
--- trunk/Source/WebCore/WebCore.gypi 2012-02-22 22:54:38 UTC (rev 108555)
+++ trunk/Source/WebCore/WebCore.gypi 2012-02-22 23:07:26 UTC (rev 108556)
@@ -832,6 +832,7 @@
'fileapi/DirectoryReaderSync.idl',
'fileapi/DOMFileSystem.idl',
'fileapi/DOMFileSystemSync.idl',
+ 'fileapi/DOMWindowFileSystem.idl',
'fileapi/EntriesCallback.idl',
'fileapi/Entry.idl',
'fileapi/EntryArray.idl',
@@ -2232,6 +2233,8 @@
'fileapi/DOMFileSystemBase.h',
'fileapi/DOMFileSystemSync.cpp',
'fileapi/DOMFileSystemSync.h',
+ 'fileapi/DOMWindowFileSystem.cpp',
+ 'fileapi/DOMWindowFileSystem.h',
'fileapi/DirectoryEntry.cpp',
'fileapi/DirectoryEntry.h',
'fileapi/DirectoryEntrySync.cpp',
Added: trunk/Source/WebCore/fileapi/DOMWindowFileSystem.cpp (0 => 108556)
--- trunk/Source/WebCore/fileapi/DOMWindowFileSystem.cpp (rev 0)
+++ trunk/Source/WebCore/fileapi/DOMWindowFileSystem.cpp 2012-02-22 23:07:26 UTC (rev 108556)
@@ -0,0 +1,107 @@
+/*
+ * Copyright (C) 2012, 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 met:
+ *
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS'' AND
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS BE LIABLE
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+ * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
+ * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
+ * DAMAGE.
+ */
+
+#include "config.h"
+#include "DOMWindowFileSystem.h"
+
+#if ENABLE(FILE_SYSTEM)
+
+#include "AsyncFileSystem.h"
+#include "DOMFileSystem.h"
+#include "DOMWindow.h"
+#include "Document.h"
+#include "EntryCallback.h"
+#include "ErrorCallback.h"
+#include "FileError.h"
+#include "FileSystemCallback.h"
+#include "FileSystemCallbacks.h"
+#include "LocalFileSystem.h"
+#include "SecurityOrigin.h"
+
+namespace WebCore {
+
+DOMWindowFileSystem::DOMWindowFileSystem()
+{
+}
+
+DOMWindowFileSystem::~DOMWindowFileSystem()
+{
+}
+
+void DOMWindowFileSystem::webkitRequestFileSystem(DOMWindow* window, int type, long long size, PassRefPtr<FileSystemCallback> successCallback, PassRefPtr<ErrorCallback> errorCallback)
+{
+ if (!window->isCurrentlyDisplayedInFrame())
+ return;
+
+ Document* document = window->document();
+ if (!document)
+ return;
+
+ if (!AsyncFileSystem::isAvailable() || !document->securityOrigin()->canAccessFileSystem()) {
+ DOMFileSystem::scheduleCallback(document, errorCallback, FileError::create(FileError::SECURITY_ERR));
+ return;
+ }
+
+ AsyncFileSystem::Type fileSystemType = static_cast<AsyncFileSystem::Type>(type);
+ if (!AsyncFileSystem::isValidType(fileSystemType)) {
+ DOMFileSystem::scheduleCallback(document, errorCallback, FileError::create(FileError::INVALID_MODIFICATION_ERR));
+ return;
+ }
+
+ LocalFileSystem::localFileSystem().requestFileSystem(document, fileSystemType, size, FileSystemCallbacks::create(successCallback, errorCallback, document), false);
+}
+
+void DOMWindowFileSystem::webkitResolveLocalFileSystemURL(DOMWindow* window, const String& url, PassRefPtr<EntryCallback> successCallback, PassRefPtr<ErrorCallback> errorCallback)
+{
+ if (!window->isCurrentlyDisplayedInFrame())
+ return;
+
+ Document* document = window->document();
+ if (!document)
+ return;
+
+ SecurityOrigin* securityOrigin = document->securityOrigin();
+ KURL completedURL = document->completeURL(url);
+ if (!AsyncFileSystem::isAvailable() || !securityOrigin->canAccessFileSystem() || !securityOrigin->canRequest(completedURL)) {
+ DOMFileSystem::scheduleCallback(document, errorCallback, FileError::create(FileError::SECURITY_ERR));
+ return;
+ }
+
+ AsyncFileSystem::Type type;
+ String filePath;
+ if (!completedURL.isValid() || !AsyncFileSystem::crackFileSystemURL(completedURL, type, filePath)) {
+ DOMFileSystem::scheduleCallback(document, errorCallback, FileError::create(FileError::ENCODING_ERR));
+ return;
+ }
+
+ LocalFileSystem::localFileSystem().readFileSystem(document, type, ResolveURICallbacks::create(successCallback, errorCallback, document, filePath));
+}
+
+COMPILE_ASSERT(static_cast<int>(DOMWindow::TEMPORARY) == static_cast<int>(AsyncFileSystem::Temporary), enum_mismatch);
+COMPILE_ASSERT(static_cast<int>(DOMWindow::PERSISTENT) == static_cast<int>(AsyncFileSystem::Persistent), enum_mismatch);
+
+} // namespace WebCore
+
+#endif // ENABLE(FILE_SYSTEM)
Added: trunk/Source/WebCore/fileapi/DOMWindowFileSystem.h (0 => 108556)
--- trunk/Source/WebCore/fileapi/DOMWindowFileSystem.h (rev 0)
+++ trunk/Source/WebCore/fileapi/DOMWindowFileSystem.h 2012-02-22 23:07:26 UTC (rev 108556)
@@ -0,0 +1,56 @@
+/*
+ * Copyright (C) 2012, 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 met:
+ *
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS'' AND
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS BE LIABLE
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+ * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
+ * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
+ * DAMAGE.
+ */
+
+#ifndef DOMWindowFileSystem_h
+#define DOMWindowFileSystem_h
+
+#if ENABLE(FILE_SYSTEM)
+
+#include <wtf/PassRefPtr.h>
+#include <wtf/text/WTFString.h>
+
+namespace WebCore {
+
+class DOMWindow;
+class EntryCallback;
+class ErrorCallback;
+class FileSystemCallback;
+
+class DOMWindowFileSystem {
+public:
+
+ static void webkitRequestFileSystem(DOMWindow*, int type, long long size, PassRefPtr<FileSystemCallback>, PassRefPtr<ErrorCallback>);
+ static void webkitResolveLocalFileSystemURL(DOMWindow*, const String&, PassRefPtr<EntryCallback>, PassRefPtr<ErrorCallback>);
+
+private:
+ DOMWindowFileSystem();
+ ~DOMWindowFileSystem();
+};
+
+} // namespace WebCore
+
+#endif // ENABLE(FILE_SYSTEM)
+
+#endif // DOMWindowFileSystem_h
Added: trunk/Source/WebCore/fileapi/DOMWindowFileSystem.idl (0 => 108556)
--- trunk/Source/WebCore/fileapi/DOMWindowFileSystem.idl (rev 0)
+++ trunk/Source/WebCore/fileapi/DOMWindowFileSystem.idl 2012-02-22 23:07:26 UTC (rev 108556)
@@ -0,0 +1,35 @@
+/*
+ * Copyright (C) 2012 Google Inc. All rights reserved.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Library General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU Library General Public License
+ * along with this library; see the file COPYING.LIB. If not, write to
+ * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+ * Boston, MA 02110-1301, USA.
+ */
+
+module window {
+
+ interface [
+ Conditional=FILE_SYSTEM,
+ Supplemental=DOMWindow
+ ] DOMWindowFileSystem {
+ const unsigned short TEMPORARY = 0;
+ const unsigned short PERSISTENT = 1;
+
+ [V8EnabledAtRuntime=FileSystem] void webkitRequestFileSystem(in unsigned short type, in long long size,
+ in [Callback] FileSystemCallback successCallback, in [Callback, Optional] ErrorCallback errorCallback);
+ [V8EnabledAtRuntime=FileSystem] void webkitResolveLocalFileSystemURL(in DOMString url,
+ in [Callback, Optional] EntryCallback successCallback, in [Callback, Optional] ErrorCallback errorCallback);
+ };
+
+}
Modified: trunk/Source/WebCore/page/DOMWindow.cpp (108555 => 108556)
--- trunk/Source/WebCore/page/DOMWindow.cpp 2012-02-22 22:54:38 UTC (rev 108555)
+++ trunk/Source/WebCore/page/DOMWindow.cpp 2012-02-22 23:07:26 UTC (rev 108556)
@@ -102,17 +102,6 @@
#include <wtf/MathExtras.h>
#include <wtf/text/WTFString.h>
-#if ENABLE(FILE_SYSTEM)
-#include "AsyncFileSystem.h"
-#include "DOMFileSystem.h"
-#include "EntryCallback.h"
-#include "ErrorCallback.h"
-#include "FileError.h"
-#include "FileSystemCallback.h"
-#include "FileSystemCallbacks.h"
-#include "LocalFileSystem.h"
-#endif
-
#if ENABLE(REQUEST_ANIMATION_FRAME)
#include "RequestAnimationFrameCallback.h"
#endif
@@ -753,61 +742,6 @@
}
#endif
-#if ENABLE(FILE_SYSTEM)
-void DOMWindow::webkitRequestFileSystem(int type, long long size, PassRefPtr<FileSystemCallback> successCallback, PassRefPtr<ErrorCallback> errorCallback)
-{
- if (!isCurrentlyDisplayedInFrame())
- return;
-
- Document* document = this->document();
- if (!document)
- return;
-
- if (!AsyncFileSystem::isAvailable() || !document->securityOrigin()->canAccessFileSystem()) {
- DOMFileSystem::scheduleCallback(document, errorCallback, FileError::create(FileError::SECURITY_ERR));
- return;
- }
-
- AsyncFileSystem::Type fileSystemType = static_cast<AsyncFileSystem::Type>(type);
- if (!AsyncFileSystem::isValidType(fileSystemType)) {
- DOMFileSystem::scheduleCallback(document, errorCallback, FileError::create(FileError::INVALID_MODIFICATION_ERR));
- return;
- }
-
- LocalFileSystem::localFileSystem().requestFileSystem(document, fileSystemType, size, FileSystemCallbacks::create(successCallback, errorCallback, document), false);
-}
-
-void DOMWindow::webkitResolveLocalFileSystemURL(const String& url, PassRefPtr<EntryCallback> successCallback, PassRefPtr<ErrorCallback> errorCallback)
-{
- if (!isCurrentlyDisplayedInFrame())
- return;
-
- Document* document = this->document();
- if (!document)
- return;
-
- SecurityOrigin* securityOrigin = document->securityOrigin();
- KURL completedURL = document->completeURL(url);
- if (!AsyncFileSystem::isAvailable() || !securityOrigin->canAccessFileSystem() || !securityOrigin->canRequest(completedURL)) {
- DOMFileSystem::scheduleCallback(document, errorCallback, FileError::create(FileError::SECURITY_ERR));
- return;
- }
-
- AsyncFileSystem::Type type;
- String filePath;
- if (!completedURL.isValid() || !AsyncFileSystem::crackFileSystemURL(completedURL, type, filePath)) {
- DOMFileSystem::scheduleCallback(document, errorCallback, FileError::create(FileError::ENCODING_ERR));
- return;
- }
-
- LocalFileSystem::localFileSystem().readFileSystem(document, type, ResolveURICallbacks::create(successCallback, errorCallback, document, filePath));
-}
-
-COMPILE_ASSERT(static_cast<int>(DOMWindow::TEMPORARY) == static_cast<int>(AsyncFileSystem::Temporary), enum_mismatch);
-COMPILE_ASSERT(static_cast<int>(DOMWindow::PERSISTENT) == static_cast<int>(AsyncFileSystem::Persistent), enum_mismatch);
-
-#endif
-
void DOMWindow::postMessage(PassRefPtr<SerializedScriptValue> message, MessagePort* port, const String& targetOrigin, DOMWindow* source, ExceptionCode& ec)
{
MessagePortArray ports;
Modified: trunk/Source/WebCore/page/DOMWindow.h (108555 => 108556)
--- trunk/Source/WebCore/page/DOMWindow.h 2012-02-22 22:54:38 UTC (rev 108555)
+++ trunk/Source/WebCore/page/DOMWindow.h 2012-02-22 23:07:26 UTC (rev 108556)
@@ -46,10 +46,7 @@
class DatabaseCallback;
class Document;
class Element;
- class EntryCallback;
- class ErrorCallback;
class EventListener;
- class FileSystemCallback;
class FloatRect;
class Frame;
class History;
@@ -358,12 +355,11 @@
#if ENABLE(FILE_SYSTEM)
// They are placed here and in all capital letters so they can be checked against the constants in the
// IDL at compile time.
+ // FIXME: Move these constants to DOMWindowFileSystem.
enum FileSystemType {
TEMPORARY,
PERSISTENT,
};
- void webkitRequestFileSystem(int type, long long size, PassRefPtr<FileSystemCallback>, PassRefPtr<ErrorCallback>);
- void webkitResolveLocalFileSystemURL(const String&, PassRefPtr<EntryCallback>, PassRefPtr<ErrorCallback>);
#endif
#if ENABLE(NOTIFICATIONS)
Modified: trunk/Source/WebCore/page/DOMWindow.idl (108555 => 108556)
--- trunk/Source/WebCore/page/DOMWindow.idl 2012-02-22 22:54:38 UTC (rev 108555)
+++ trunk/Source/WebCore/page/DOMWindow.idl 2012-02-22 23:07:26 UTC (rev 108556)
@@ -173,12 +173,6 @@
#if defined(ENABLE_NOTIFICATIONS) && ENABLE_NOTIFICATIONS
readonly attribute [V8EnabledAtRuntime] NotificationCenter webkitNotifications;
#endif
-#if defined(ENABLE_FILE_SYSTEM) && ENABLE_FILE_SYSTEM
- const unsigned short TEMPORARY = 0;
- const unsigned short PERSISTENT = 1;
- [V8EnabledAtRuntime=FileSystem] void webkitRequestFileSystem(in unsigned short type, in long long size, in [Callback] FileSystemCallback successCallback, in [Callback, Optional] ErrorCallback errorCallback);
- [V8EnabledAtRuntime=FileSystem] void webkitResolveLocalFileSystemURL(in DOMString url, in [Callback, Optional] EntryCallback successCallback, in [Callback, Optional] ErrorCallback errorCallback);
-#endif
#if defined(ENABLE_ORIENTATION_EVENTS) && ENABLE_ORIENTATION_EVENTS
// This is the interface orientation in degrees. Some examples are: