Diff
Modified: trunk/Source/WebCore/ChangeLog (288793 => 288794)
--- trunk/Source/WebCore/ChangeLog 2022-01-29 21:00:55 UTC (rev 288793)
+++ trunk/Source/WebCore/ChangeLog 2022-01-29 23:15:01 UTC (rev 288794)
@@ -1,5 +1,21 @@
2022-01-29 Ryosuke Niwa <[email protected]>
+ Delete EventQueue.h
+ https://bugs.webkit.org/show_bug.cgi?id=235862
+
+ Reviewed by Wenson Hsieh.
+
+ Deleted the useless header file.
+
+ * Headers.cmake:
+ * Modules/indexeddb/IDBDatabase.cpp:
+ * Modules/indexeddb/IDBRequest.cpp:
+ * Modules/indexeddb/IDBTransaction.cpp:
+ * WebCore.xcodeproj/project.pbxproj:
+ * dom/EventQueue.h: Removed.
+
+2022-01-29 Ryosuke Niwa <[email protected]>
+
Delete most code for beforeload event
https://bugs.webkit.org/show_bug.cgi?id=234804
Modified: trunk/Source/WebCore/Headers.cmake (288793 => 288794)
--- trunk/Source/WebCore/Headers.cmake 2022-01-29 21:00:55 UTC (rev 288793)
+++ trunk/Source/WebCore/Headers.cmake 2022-01-29 23:15:01 UTC (rev 288794)
@@ -652,7 +652,6 @@
dom/EventModifierInit.h
dom/EventNames.h
dom/EventOptions.h
- dom/EventQueue.h
dom/EventTarget.h
dom/EventTargetConcrete.h
dom/Exception.h
Modified: trunk/Source/WebCore/Modules/indexeddb/IDBDatabase.cpp (288793 => 288794)
--- trunk/Source/WebCore/Modules/indexeddb/IDBDatabase.cpp 2022-01-29 21:00:55 UTC (rev 288793)
+++ trunk/Source/WebCore/Modules/indexeddb/IDBDatabase.cpp 2022-01-29 23:15:01 UTC (rev 288794)
@@ -28,7 +28,6 @@
#include "DOMStringList.h"
#include "EventNames.h"
-#include "EventQueue.h"
#include "IDBConnectionProxy.h"
#include "IDBConnectionToServer.h"
#include "IDBIndex.h"
Modified: trunk/Source/WebCore/Modules/indexeddb/IDBRequest.cpp (288793 => 288794)
--- trunk/Source/WebCore/Modules/indexeddb/IDBRequest.cpp 2022-01-29 21:00:55 UTC (rev 288793)
+++ trunk/Source/WebCore/Modules/indexeddb/IDBRequest.cpp 2022-01-29 23:15:01 UTC (rev 288794)
@@ -30,7 +30,6 @@
#include "Event.h"
#include "EventDispatcher.h"
#include "EventNames.h"
-#include "EventQueue.h"
#include "IDBBindingUtilities.h"
#include "IDBConnectionProxy.h"
#include "IDBCursor.h"
Modified: trunk/Source/WebCore/Modules/indexeddb/IDBTransaction.cpp (288793 => 288794)
--- trunk/Source/WebCore/Modules/indexeddb/IDBTransaction.cpp 2022-01-29 21:00:55 UTC (rev 288793)
+++ trunk/Source/WebCore/Modules/indexeddb/IDBTransaction.cpp 2022-01-29 23:15:01 UTC (rev 288794)
@@ -33,7 +33,6 @@
#include "EventDispatcher.h"
#include "EventLoop.h"
#include "EventNames.h"
-#include "EventQueue.h"
#include "IDBCursorWithValue.h"
#include "IDBDatabase.h"
#include "IDBError.h"
Modified: trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj (288793 => 288794)
--- trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj 2022-01-29 21:00:55 UTC (rev 288793)
+++ trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj 2022-01-29 23:15:01 UTC (rev 288794)
@@ -2826,7 +2826,6 @@
8AF4E55C11DC5A63000ED3DE /* PerformanceTiming.h in Headers */ = {isa = PBXBuildFile; fileRef = 8AF4E55911DC5A63000ED3DE /* PerformanceTiming.h */; };
8E4C96DD1AD4483500365A50 /* JSFetchResponse.h in Headers */ = {isa = PBXBuildFile; fileRef = 8E4C96D91AD4483500365A50 /* JSFetchResponse.h */; };
8EC6C963201A251600FBFA53 /* GapLength.h in Headers */ = {isa = PBXBuildFile; fileRef = 8EC6C961201A250100FBFA53 /* GapLength.h */; settings = {ATTRIBUTES = (Private, ); }; };
- 8F67561B1288B17B0047ACA3 /* EventQueue.h in Headers */ = {isa = PBXBuildFile; fileRef = 8F6756191288B17B0047ACA3 /* EventQueue.h */; settings = {ATTRIBUTES = (Private, ); }; };
9001774112E0347800648462 /* OESStandardDerivatives.h in Headers */ = {isa = PBXBuildFile; fileRef = 9001773E12E0347800648462 /* OESStandardDerivatives.h */; };
9001788112E0370700648462 /* JSOESStandardDerivatives.h in Headers */ = {isa = PBXBuildFile; fileRef = 9001787F12E0370700648462 /* JSOESStandardDerivatives.h */; };
9016EA4D2454D8130021D9D1 /* IDBDatabaseNameAndVersion.h in Headers */ = {isa = PBXBuildFile; fileRef = 9016EA4C2454D8130021D9D1 /* IDBDatabaseNameAndVersion.h */; settings = {ATTRIBUTES = (Private, ); }; };
@@ -12486,7 +12485,6 @@
8E4C96D81AD4483500365A50 /* JSFetchResponse.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSFetchResponse.cpp; sourceTree = "<group>"; };
8E4C96D91AD4483500365A50 /* JSFetchResponse.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSFetchResponse.h; sourceTree = "<group>"; };
8EC6C961201A250100FBFA53 /* GapLength.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = GapLength.h; sourceTree = "<group>"; };
- 8F6756191288B17B0047ACA3 /* EventQueue.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = EventQueue.h; sourceTree = "<group>"; };
8F934D831189F1EE00508D5D /* JSExecState.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSExecState.h; sourceTree = "<group>"; };
8F934D841189F1EE00508D5D /* JSExecState.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSExecState.cpp; sourceTree = "<group>"; };
9001773D12E0347800648462 /* OESStandardDerivatives.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = OESStandardDerivatives.cpp; sourceTree = "<group>"; };
@@ -32413,7 +32411,6 @@
CD1F9B46270CFC1600617EB6 /* EventOptions.h */,
9B714E1E1C91166900AC0E92 /* EventPath.cpp */,
9B714E1F1C91166900AC0E92 /* EventPath.h */,
- 8F6756191288B17B0047ACA3 /* EventQueue.h */,
CE5CB1B314EDAB6F00BB2795 /* EventSender.h */,
E12EDBE90B308E0B002704B6 /* EventTarget.cpp */,
E12EDB7A0B308A78002704B6 /* EventTarget.h */,
@@ -34388,7 +34385,6 @@
939885C408B7E3D100E707C4 /* EventNames.h in Headers */,
CD1F9B47270CFC1600617EB6 /* EventOptions.h in Headers */,
9B714E211C91166900AC0E92 /* EventPath.h in Headers */,
- 8F67561B1288B17B0047ACA3 /* EventQueue.h in Headers */,
E4A8D21622578DB700A8463C /* EventRegion.h in Headers */,
E0FEF372B17C53EAC1C1FBEE /* EventSource.h in Headers */,
E12EDB7B0B308A78002704B6 /* EventTarget.h in Headers */,
Deleted: trunk/Source/WebCore/dom/EventQueue.h (288793 => 288794)
--- trunk/Source/WebCore/dom/EventQueue.h 2022-01-29 21:00:55 UTC (rev 288793)
+++ trunk/Source/WebCore/dom/EventQueue.h 2022-01-29 23:15:01 UTC (rev 288794)
@@ -1,43 +0,0 @@
-/*
- * Copyright (C) 2010 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. ``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
- * 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.
- *
- */
-
-#pragma once
-
-#include <wtf/Forward.h>
-
-namespace WebCore {
-
-class Event;
-
-class EventQueue {
-public:
- virtual ~EventQueue() = default;
- virtual bool enqueueEvent(Ref<Event>&&) = 0;
- virtual bool cancelEvent(Event&) = 0;
- virtual void close() = 0; // Discard accumulated events and all future events. No events will be dispatched after this.
-};
-
-} // namespace WebCore