/external/webkit/Source/WebKit/chromium/src/ |
StorageInfoChromium.cpp | 52 void fireStorageInfoErrorCallback(PassRefPtr<StorageInfoErrorCallback> errorCallback, ExceptionCode ec) 54 ASSERT(errorCallback); 57 errorCallback->handleEvent(DOMCoreException::create(description).get()); 61 void StorageInfo::queryUsageAndQuota(ScriptExecutionContext* context, int storageType, PassRefPtr<StorageInfoUsageCallback> successCallback, PassRefPtr<StorageInfoErrorCallback> errorCallback) 66 fireStorageInfoErrorCallback(errorCallback, NOT_SUPPORTED_ERR); 72 webFrame->client()->queryStorageUsageAndQuota(webFrame, static_cast<WebStorageQuotaType>(storageType), new WebStorageQuotaCallbacksImpl(successCallback, errorCallback)); 73 } else if (errorCallback) { 75 fireStorageInfoErrorCallback(errorCallback, NOT_SUPPORTED_ERR); 79 void StorageInfo::requestQuota(ScriptExecutionContext* context, int storageType, unsigned long long newQuotaInBytes, PassRefPtr<StorageInfoQuotaCallback> successCallback, PassRefPtr<StorageInfoErrorCallback> errorCallback) 84 fireStorageInfoErrorCallback(errorCallback, NOT_SUPPORTED_ERR) [all...] |
WebStorageQuotaCallbacksImpl.cpp | 45 WebStorageQuotaCallbacksImpl::WebStorageQuotaCallbacksImpl(PassRefPtr<WebCore::StorageInfoUsageCallback> usageCallback, PassRefPtr<WebCore::StorageInfoErrorCallback> errorCallback) 47 , m_errorCallback(errorCallback) 51 WebStorageQuotaCallbacksImpl::WebStorageQuotaCallbacksImpl(PassRefPtr<WebCore::StorageInfoQuotaCallback> quotaCallback, PassRefPtr<WebCore::StorageInfoErrorCallback> errorCallback) 53 , m_errorCallback(errorCallback)
|
/external/webkit/Source/WebCore/fileapi/ |
FileEntry.cpp | 37 #include "ErrorCallback.h" 49 void FileEntry::createWriter(PassRefPtr<FileWriterCallback> successCallback, PassRefPtr<ErrorCallback> errorCallback) 51 filesystem()->createWriter(this, successCallback, errorCallback); 54 void FileEntry::file(PassRefPtr<FileCallback> successCallback, PassRefPtr<ErrorCallback> errorCallback) 56 filesystem()->createFile(this, successCallback, errorCallback);
|
Entry.cpp | 38 #include "ErrorCallback.h" 54 void Entry::getMetadata(PassRefPtr<MetadataCallback> successCallback, PassRefPtr<ErrorCallback> errorCallbackRef) 56 RefPtr<ErrorCallback> errorCallback(errorCallbackRef); 57 if (!m_fileSystem->getMetadata(this, successCallback, errorCallback)) 58 filesystem()->scheduleCallback(errorCallback.release(), FileError::create(FileError::INVALID_MODIFICATION_ERR)); 61 void Entry::moveTo(PassRefPtr<DirectoryEntry> parent, const String& name, PassRefPtr<EntryCallback> successCallback, PassRefPtr<ErrorCallback> errorCallbackRef) const 63 RefPtr<ErrorCallback> errorCallback(errorCallbackRef); 64 if (!m_fileSystem->move(this, parent.get(), name, successCallback, errorCallback)) [all...] |
DirectoryEntry.cpp | 38 #include "ErrorCallback.h" 54 void DirectoryEntry::getFile(const String& path, PassRefPtr<WebKitFlags> flags, PassRefPtr<EntryCallback> successCallback, PassRefPtr<ErrorCallback> errorCallbackRef) 56 RefPtr<ErrorCallback> errorCallback(errorCallbackRef); 57 if (!m_fileSystem->getFile(this, path, flags, successCallback, errorCallback)) 58 filesystem()->scheduleCallback(errorCallback.release(), FileError::create(FileError::INVALID_MODIFICATION_ERR)); 61 void DirectoryEntry::getDirectory(const String& path, PassRefPtr<WebKitFlags> flags, PassRefPtr<EntryCallback> successCallback, PassRefPtr<ErrorCallback> errorCallbackRef) 63 RefPtr<ErrorCallback> errorCallback(errorCallbackRef); 64 if (!m_fileSystem->getDirectory(this, path, flags, successCallback, errorCallback)) [all...] |
DirectoryReader.cpp | 38 #include "ErrorCallback.h" 48 void DirectoryReader::readEntries(PassRefPtr<EntriesCallback> entriesCallback, PassRefPtr<ErrorCallback> errorCallback) 54 filesystem()->readDirectory(this, m_fullPath, entriesCallback, errorCallback);
|
DirectoryReader.idl | 36 void readEntries(in [Callback] EntriesCallback successCallback, in [Optional, Callback] ErrorCallback errorCallback);
|
Entry.h | 46 class ErrorCallback; 54 void getMetadata(PassRefPtr<MetadataCallback> successCallback = 0, PassRefPtr<ErrorCallback> errorCallback = 0); 55 void moveTo(PassRefPtr<DirectoryEntry> parent, const String& name = String(), PassRefPtr<EntryCallback> successCallback = 0, PassRefPtr<ErrorCallback> errorCallback = 0) const; 56 void copyTo(PassRefPtr<DirectoryEntry> parent, const String& name = String(), PassRefPtr<EntryCallback> successCallback = 0, PassRefPtr<ErrorCallback> errorCallback = 0) const; 57 void remove(PassRefPtr<VoidCallback> successCallback = 0, PassRefPtr<ErrorCallback> errorCallback = 0) const; 58 void getParent(PassRefPtr<EntryCallback> successCallback = 0, PassRefPtr<ErrorCallback> errorCallback = 0) const [all...] |
FileSystemCallbacks.cpp | 45 #include "ErrorCallback.h" 59 FileSystemCallbacksBase::FileSystemCallbacksBase(PassRefPtr<ErrorCallback> errorCallback) 60 : m_errorCallback(errorCallback) 114 PassOwnPtr<EntryCallbacks> EntryCallbacks::create(PassRefPtr<EntryCallback> successCallback, PassRefPtr<ErrorCallback> errorCallback, PassRefPtr<DOMFileSystemBase> fileSystem, const String& expectedPath, bool isDirectory) 116 return adoptPtr(new EntryCallbacks(successCallback, errorCallback, fileSystem, expectedPath, isDirectory)); 119 EntryCallbacks::EntryCallbacks(PassRefPtr<EntryCallback> successCallback, PassRefPtr<ErrorCallback> errorCallback, PassRefPtr<DOMFileSystemBase> fileSystem, const String& expectedPath, bool isDirectory) 120 : FileSystemCallbacksBase(errorCallback) [all...] |
FileEntry.idl | 38 void createWriter(in [Callback] FileWriterCallback successCallback, in [Optional, Callback] ErrorCallback errorCallback); 39 void file(in [Callback] FileCallback successCallback, in [Optional, Callback] ErrorCallback errorCallback);
|
DirectoryEntry.idl | 39 [Custom] void getFile(in [ConvertUndefinedOrNullToNullString] DOMString path, in [Optional] WebKitFlags flags, in [Optional, Callback] EntryCallback successCallback, in [Optional, Callback] ErrorCallback errorCallback); 40 [Custom] void getDirectory(in [ConvertUndefinedOrNullToNullString] DOMString path, in [Optional] WebKitFlags flags, in [Optional, Callback] EntryCallback successCallback, in [Optional, Callback] ErrorCallback errorCallback); 41 void removeRecursively(in [Optional, Callback] VoidCallback successCallback, in [Optional, Callback] ErrorCallback errorCallback);
|
Entry.idl | 43 void getMetadata(in [Optional, Callback] MetadataCallback successCallback, in [Optional, Callback] ErrorCallback errorCallback); 44 void moveTo(in DirectoryEntry parent, in [Optional, ConvertUndefinedOrNullToNullString] DOMString name, in [Optional, Callback] EntryCallback successCallback, in [Optional, Callback] ErrorCallback errorCallback); 45 void copyTo(in DirectoryEntry parent, in [Optional, ConvertUndefinedOrNullToNullString] DOMString name, in [Optional, Callback] EntryCallback successCallback, in [Optional, Callback] ErrorCallback errorCallback); 47 void remove(in [Optional, Callback] VoidCallback successCallback, in [Optional, Callback] ErrorCallback errorCallback); 48 void getParent(in [Optional, Callback] EntryCallback successCallback, in [Optional, Callback] ErrorCallback errorCallback); [all...] |
DOMFileSystem.cpp | 39 #include "ErrorCallback.h" 103 void DOMFileSystem::createWriter(const FileEntry* fileEntry, PassRefPtr<FileWriterCallback> successCallback, PassRefPtr<ErrorCallback> errorCallback) 111 OwnPtr<FileWriterBaseCallbacks> callbacks = FileWriterBaseCallbacks::create(fileWriter, conversionCallback, errorCallback); 119 static PassOwnPtr<GetPathCallback> create(PassRefPtr<DOMFileSystem> filesystem, const String& path, PassRefPtr<FileCallback> successCallback, PassRefPtr<ErrorCallback> errorCallback) 121 return adoptPtr(new GetPathCallback(filesystem, path, successCallback, errorCallback)); 133 GetPathCallback(PassRefPtr<DOMFileSystem> filesystem, const String& path, PassRefPtr<FileCallback> successCallback, PassRefPtr<ErrorCallback> errorCallback) 134 : FileSystemCallbacksBase(errorCallback) [all...] |
DOMFileSystemBase.cpp | 43 #include "ErrorCallback.h" 106 bool DOMFileSystemBase::getMetadata(const EntryBase* entry, PassRefPtr<MetadataCallback> successCallback, PassRefPtr<ErrorCallback> errorCallback) 109 m_asyncFileSystem->readMetadata(platformPath, MetadataCallbacks::create(successCallback, errorCallback)); 153 bool DOMFileSystemBase::move(const EntryBase* source, EntryBase* parent, const String& newName, PassRefPtr<EntryCallback> successCallback, PassRefPtr<ErrorCallback> errorCallback) 161 m_asyncFileSystem->move(sourcePlatformPath, destinationPlatformPath, EntryCallbacks::create(successCallback, errorCallback, this, destinationPath, source->isDirectory())); 165 bool DOMFileSystemBase::copy(const EntryBase* source, EntryBase* parent, const String& newName, PassRefPtr<EntryCallback> successCallback, PassRefPtr<ErrorCallback> errorCallback) 173 m_asyncFileSystem->copy(sourcePlatformPath, destinationPlatformPath, EntryCallbacks::create(successCallback, errorCallback, this, destinationPath, source->isDirectory())) [all...] |
DirectoryReaderSync.cpp | 59 if (!m_fileSystem->readDirectory(this, m_fullPath, helper.successCallback(), helper.errorCallback())) {
|
EntrySync.cpp | 58 if (!m_fileSystem->getMetadata(this, helper.successCallback(), helper.errorCallback())) { 69 if (!m_fileSystem->move(this, parent.get(), name, helper.successCallback(), helper.errorCallback())) { 80 if (!m_fileSystem->copy(this, parent.get(), name, helper.successCallback(), helper.errorCallback())) { 91 if (!m_fileSystem->remove(this, helper.successCallback(), helper.errorCallback())) {
|
DirectoryEntrySync.cpp | 58 if (!m_fileSystem->getFile(this, path, flags, helper.successCallback(), helper.errorCallback())) { 69 if (!m_fileSystem->getDirectory(this, path, flags, helper.successCallback(), helper.errorCallback())) { 80 if (!m_fileSystem->removeRecursively(this, helper.successCallback(), helper.errorCallback())) {
|
/external/webkit/Source/WebCore/page/ |
Geolocation.idl | 29 [Custom] void getCurrentPosition(in PositionCallback successCallback, in PositionErrorCallback errorCallback, in PositionOptions options); 31 [Custom] long watchPosition(in PositionCallback successCallback, in PositionErrorCallback errorCallback, in PositionOptions options);
|
/external/webkit/Source/WebCore/storage/ |
Database.idl | 37 [RequiresAllArguments=Raise] void changeVersion(in DOMString oldVersion, in DOMString newVersion, in [Callback, Optional] SQLTransactionCallback callback, in [Callback, Optional] SQLTransactionErrorCallback errorCallback, in [Callback, Optional] VoidCallback successCallback); 38 [RequiresAllArguments=Raise] void transaction(in [Callback] SQLTransactionCallback callback, in [Callback, Optional] SQLTransactionErrorCallback errorCallback, in [Callback, Optional] VoidCallback successCallback); 39 [RequiresAllArguments=Raise] void readTransaction(in [Callback] SQLTransactionCallback callback, in [Callback, Optional] SQLTransactionErrorCallback errorCallback, in [Callback, Optional] VoidCallback successCallback);
|
SQLTransaction.idl | 36 [Custom] void executeSql(in DOMString sqlStatement, in ObjectArray arguments, in SQLStatementCallback callback, in SQLStatementErrorCallback errorCallback);
|