Chromium Code Reviews| 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 |