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

Side by Side Diff: third_party/WebKit/Source/core/inspector/InspectorDOMDebuggerAgent.h

Issue 2012753003: DevTools: consolidate protocol generators for front-end, backend and type builder. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 class EventTarget; 46 class EventTarget;
47 class InspectorDOMAgent; 47 class InspectorDOMAgent;
48 class Node; 48 class Node;
49 class V8InspectorSession; 49 class V8InspectorSession;
50 50
51 namespace protocol { 51 namespace protocol {
52 class DictionaryValue; 52 class DictionaryValue;
53 } 53 }
54 54
55 class CORE_EXPORT InspectorDOMDebuggerAgent final 55 class CORE_EXPORT InspectorDOMDebuggerAgent final
56 : public InspectorBaseAgent<InspectorDOMDebuggerAgent, protocol::DOMDebugger ::Frontend> 56 : public InspectorBaseAgent<protocol::DOMDebugger::Metainfo> {
57 , public protocol::DOMDebugger::Backend {
58 WTF_MAKE_NONCOPYABLE(InspectorDOMDebuggerAgent); 57 WTF_MAKE_NONCOPYABLE(InspectorDOMDebuggerAgent);
59 public: 58 public:
60 static void eventListenersInfoForTarget(v8::Isolate*, v8::Local<v8::Value>, V8EventListenerInfoList& listeners); 59 static void eventListenersInfoForTarget(v8::Isolate*, v8::Local<v8::Value>, V8EventListenerInfoList& listeners);
61 60
62 InspectorDOMDebuggerAgent(v8::Isolate*, InspectorDOMAgent*, V8InspectorSessi on*); 61 InspectorDOMDebuggerAgent(v8::Isolate*, InspectorDOMAgent*, V8InspectorSessi on*);
63 ~InspectorDOMDebuggerAgent() override; 62 ~InspectorDOMDebuggerAgent() override;
64 DECLARE_VIRTUAL_TRACE(); 63 DECLARE_VIRTUAL_TRACE();
65 64
66 // DOMDebugger API for InspectorFrontend 65 // DOMDebugger API for InspectorFrontend
67 void setDOMBreakpoint(ErrorString*, int nodeId, const String& type) override ; 66 void setDOMBreakpoint(ErrorString*, int nodeId, const String& type) override ;
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 v8::Isolate* m_isolate; 114 v8::Isolate* m_isolate;
116 Member<InspectorDOMAgent> m_domAgent; 115 Member<InspectorDOMAgent> m_domAgent;
117 V8InspectorSession* m_v8Session; 116 V8InspectorSession* m_v8Session;
118 HeapHashMap<Member<Node>, uint32_t> m_domBreakpoints; 117 HeapHashMap<Member<Node>, uint32_t> m_domBreakpoints;
119 }; 118 };
120 119
121 } // namespace blink 120 } // namespace blink
122 121
123 122
124 #endif // !defined(InspectorDOMDebuggerAgent_h) 123 #endif // !defined(InspectorDOMDebuggerAgent_h)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698