Index: Source/core/wawwa/ListOfElements.h |
diff --git a/Source/modules/quota/StorageQuotaClient.h b/Source/core/wawwa/ListOfElements.h |
similarity index 53% |
copy from Source/modules/quota/StorageQuotaClient.h |
copy to Source/core/wawwa/ListOfElements.h |
index 7b44c6160daf06cbede23bae8bceebe3a4f8b14d..b047c17b88c09b65334890cf974fb1890e59c1e3 100644 |
--- a/Source/modules/quota/StorageQuotaClient.h |
+++ b/Source/core/wawwa/ListOfElements.h |
@@ -28,38 +28,55 @@ |
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
-#ifndef StorageQuotaClient_h |
-#define StorageQuotaClient_h |
+#ifndef ListOfElements_h |
+#define ListOfElements_h |
-#include "platform/Supplementable.h" |
-#include "platform/heap/Handle.h" |
-#include "public/platform/WebStorageQuotaType.h" |
-#include "wtf/Forward.h" |
+#include "bindings/core/v8/Dictionary.h" |
+#include "bindings/core/v8/V8StringResource.h" |
+#include "core/animation/AnimationTestHelper.h" |
+#include "core/wawwa/MockAnimationPlayer.h" |
+#include "core/wawwa/ProxyKeyframe.h" |
+#include "core/wawwa/ProxyPlayer.h" |
+#include "core/workers/Worker.h" |
+#include "core/workers/WorkerGlobalScope.h" |
+#include "wtf/HashMap.h" |
+#include "wtf/Vector.h" |
+#include "wtf/text/WTFString.h" |
namespace blink { |
+class Dictionary; |
class ExecutionContext; |
-class Page; |
-class ScriptPromise; |
-class ScriptState; |
-class StorageErrorCallback; |
-class StorageQuotaCallback; |
+class WorkerGlobalScope; |
+class ExceptionState; |
+class MockAnimationPlayer; |
+ |
+class ListOfElements FINAL : public RefCountedWillBeRefCountedGarbageCollected<ListOfElements> { |
-class StorageQuotaClient : public WillBeHeapSupplement<Page> { |
- WTF_MAKE_NONCOPYABLE(StorageQuotaClient); |
public: |
- StorageQuotaClient() { } |
- virtual ~StorageQuotaClient() { } |
+ static PassRefPtr<ListOfElements> create() { return adoptRef(new ListOfElements()); } |
shans
2014/08/25 11:53:58
We should stick to only Oilpan types - I think thi
|
- virtual void requestQuota(ExecutionContext*, blink::WebStorageQuotaType, unsigned long long newQuotaInBytes, PassOwnPtr<StorageQuotaCallback>, PassOwnPtr<StorageErrorCallback>) = 0; |
- virtual ScriptPromise requestPersistentQuota(ScriptState*, unsigned long long newQuotaInBytes) = 0; |
+ Vector<WorkerGlobalScope*> workerGlobalScopeVector; |
+ void addToWorkerGlobalScopeVector(WorkerGlobalScope * instance); |
- static const char* supplementName(); |
- static StorageQuotaClient* from(ExecutionContext*); |
-}; |
+ Vector<RefPtr<Worker> > workerVector; |
+ void addToWorkerVector(PassRefPtr<Worker> instance); |
+ |
+ ProxyPlayer* findDictProxyPlayers(String val); |
+ void reportTime(String val, double time); |
+ void addtoMapMockAnimationPlayer(String id, MockAnimationPlayer* instance); |
+ void checkForReport(); |
+ void execute(String action, String id, const Vector<ProxyKeyframe> keyframes, const Timing timingInputDictionary); |
-void provideStorageQuotaClientTo(Page&, PassOwnPtrWillBeRawPtr<StorageQuotaClient>); |
+private: |
+ ListOfElements(); |
+ ListOfElements(ListOfElements const&); |
+ void operator=(ListOfElements const&); |
+ HashMap <String, ProxyPlayer*> m_dictProxyPlayers; |
+ HashMap <String, MockAnimationPlayer*> m_dictMockAnimationPlayers; |
+ |
+}; |
} // namespace blink |
-#endif // StorageQuotaClient_h |
+#endif |