| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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) |
| OLD | NEW |