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

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 57%
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..03bf8371dce62aeaa61e4e1f23a6c4ec841b1cbf 100644
--- a/third_party/WebKit/Source/platform/v8_inspector/public/V8EventListenerInfo.h
+++ b/third_party/WebKit/Source/bindings/core/v8/V8EventListenerInfo.h
@@ -1,12 +1,12 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
+// Copyright 2016 The Chromium Authors. All rights reserved.
dgozman 2016/05/20 18:48:21 2015
kozy 2016/05/20 18:56:59 Done.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#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