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

Side by Side Diff: third_party/WebKit/Source/platform/v8_inspector/InjectedScriptNative.h

Issue 2238423002: [DevTools] Generate all files in inspector_protocol. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2240663003
Patch Set: Created 4 years, 4 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef InjectedScriptNative_h 5 #ifndef InjectedScriptNative_h
6 #define InjectedScriptNative_h 6 #define InjectedScriptNative_h
7 7
8 #include "platform/inspector_protocol/Collections.h" 8 #include "platform/inspector_protocol/InspectorProtocol.h"
9 #include "platform/inspector_protocol/Platform.h"
10 #include "platform/inspector_protocol/String16.h"
11 #include <v8.h> 9 #include <v8.h>
12 10
13 #include <vector> 11 #include <vector>
14 12
15 namespace blink { 13 namespace blink {
16 14
17 class InjectedScriptNative final { 15 class InjectedScriptNative final {
18 public: 16 public:
19 explicit InjectedScriptNative(v8::Isolate*); 17 explicit InjectedScriptNative(v8::Isolate*);
20 ~InjectedScriptNative(); 18 ~InjectedScriptNative();
(...skipping 16 matching lines...) Expand all
37 protocol::HashMap<int, std::unique_ptr<v8::Global<v8::Value>>> m_idToWrapped Object; 35 protocol::HashMap<int, std::unique_ptr<v8::Global<v8::Value>>> m_idToWrapped Object;
38 typedef protocol::HashMap<int, String16> IdToObjectGroupName; 36 typedef protocol::HashMap<int, String16> IdToObjectGroupName;
39 IdToObjectGroupName m_idToObjectGroupName; 37 IdToObjectGroupName m_idToObjectGroupName;
40 typedef protocol::HashMap<String16, std::vector<int>> NameToObjectGroup; 38 typedef protocol::HashMap<String16, std::vector<int>> NameToObjectGroup;
41 NameToObjectGroup m_nameToObjectGroup; 39 NameToObjectGroup m_nameToObjectGroup;
42 }; 40 };
43 41
44 } // namespace blink 42 } // namespace blink
45 43
46 #endif 44 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698