Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(120)

Unified Diff: third_party/WebKit/Source/bindings/modules/v8/V8IDBObserverCallback.h

Issue 2031113002: IndexedDB Observers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: IDl observer Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/bindings/modules/v8/V8IDBObserverCallback.h
diff --git a/third_party/WebKit/Source/bindings/core/v8/V8IntersectionObserverCallback.h b/third_party/WebKit/Source/bindings/modules/v8/V8IDBObserverCallback.h
similarity index 50%
copy from third_party/WebKit/Source/bindings/core/v8/V8IntersectionObserverCallback.h
copy to third_party/WebKit/Source/bindings/modules/v8/V8IDBObserverCallback.h
index 34fc5c30a7e7a6700d378e5cdcce9b79393d86cb..4100bc91c9a8d494004bb25fe248878850bc05b6 100644
--- a/third_party/WebKit/Source/bindings/core/v8/V8IntersectionObserverCallback.h
+++ b/third_party/WebKit/Source/bindings/modules/v8/V8IDBObserverCallback.h
@@ -2,26 +2,26 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef V8IntersectionObserverCallback_h
-#define V8IntersectionObserverCallback_h
+#ifndef V8IDBObserverCallback_h
+#define V8IDBObserverCallback_h
#include "bindings/core/v8/ActiveDOMCallback.h"
#include "bindings/core/v8/DOMWrapperWorld.h"
#include "bindings/core/v8/ScopedPersistent.h"
#include "core/CoreExport.h"
-#include "core/dom/IntersectionObserverCallback.h"
+#include "modules/indexeddb/IDBObserverCallback.h"
namespace blink {
-class V8IntersectionObserverCallback final : public IntersectionObserverCallback, public ActiveDOMCallback {
- USING_GARBAGE_COLLECTED_MIXIN(V8IntersectionObserverCallback);
+class V8IDBObserverCallback final : public IDBObserverCallback, public ActiveDOMCallback {
+ USING_GARBAGE_COLLECTED_MIXIN(V8IDBObserverCallback);
+
public:
- CORE_EXPORT V8IntersectionObserverCallback(v8::Local<v8::Function>, v8::Local<v8::Object>, ScriptState*);
- ~V8IntersectionObserverCallback() override;
+ V8IDBObserverCallback(v8::Local<v8::Function>, v8::Local<v8::Object>, ScriptState*);
+ ~V8IDBObserverCallback() override;
DECLARE_VIRTUAL_TRACE();
- void handleEvent(const HeapVector<Member<IntersectionObserverEntry>>&, IntersectionObserver&) override;
ExecutionContext* getExecutionContext() const override { return ContextLifecycleObserver::getExecutionContext(); }
private:
@@ -30,4 +30,4 @@ private:
};
} // namespace blink
-#endif // V8IntersectionObserverCallback_h
+#endif // V8IDBObserverCallback_h

Powered by Google App Engine
This is Rietveld 408576698