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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/V8EventListenerInfo.h

Issue 1999843002: [DevTools] Move CommandLineAPI.getEventListeners to native (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move-monitor-events-to-native
Patch Set: Created 4 years, 7 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/core/v8/V8EventListenerInfo.h
diff --git a/third_party/WebKit/Source/platform/v8_inspector/public/V8EventListenerInfo.h b/third_party/WebKit/Source/bindings/core/v8/V8EventListenerInfo.h
similarity index 64%
rename from third_party/WebKit/Source/platform/v8_inspector/public/V8EventListenerInfo.h
rename to third_party/WebKit/Source/bindings/core/v8/V8EventListenerInfo.h
index 03370be8da27a004a5c15af2daa2dcfdb4c51545..3cb533bba6f1e886f3ce25c2a9debb409931385d 100644
--- a/third_party/WebKit/Source/platform/v8_inspector/public/V8EventListenerInfo.h
+++ b/third_party/WebKit/Source/bindings/core/v8/V8EventListenerInfo.h
@@ -5,8 +5,8 @@
#ifndef V8EventListenerInfo_h
#define V8EventListenerInfo_h
-#include "platform/inspector_protocol/Collections.h"
-#include "platform/inspector_protocol/String16.h"
+#include "wtf/Vector.h"
+#include "wtf/text/AtomicString.h"
#include <v8.h>
@@ -14,7 +14,7 @@ namespace blink {
class V8EventListenerInfo {
public:
- V8EventListenerInfo(const String16& eventType, bool useCapture, bool passive, v8::Local<v8::Object> handler)
+ V8EventListenerInfo(AtomicString eventType, bool useCapture, bool passive, v8::Local<v8::Object> handler)
: eventType(eventType)
, useCapture(useCapture)
, passive(passive)
@@ -22,14 +22,14 @@ public:
{
}
- const String16 eventType;
+ AtomicString eventType;
bool useCapture;
bool passive;
v8::Local<v8::Object> handler;
};
-using V8EventListenerInfoList = protocol::Vector<V8EventListenerInfo>;
+using V8EventListenerInfoList = Vector<V8EventListenerInfo>;
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698