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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 // InspectorDebuggerAgent::Listener implementation. | 104 // InspectorDebuggerAgent::Listener implementation. |
105 virtual void debuggerWasEnabled() OVERRIDE; | 105 virtual void debuggerWasEnabled() OVERRIDE; |
106 virtual void debuggerWasDisabled() OVERRIDE; | 106 virtual void debuggerWasDisabled() OVERRIDE; |
107 virtual void stepInto() OVERRIDE; | 107 virtual void stepInto() OVERRIDE; |
108 virtual void didPause() OVERRIDE; | 108 virtual void didPause() OVERRIDE; |
109 void disable(); | 109 void disable(); |
110 | 110 |
111 void descriptionForDOMEvent(Node* target, int breakpointType, bool insertion
, JSONObject* description); | 111 void descriptionForDOMEvent(Node* target, int breakpointType, bool insertion
, JSONObject* description); |
112 void updateSubtreeBreakpoints(Node*, uint32_t rootMask, bool set); | 112 void updateSubtreeBreakpoints(Node*, uint32_t rootMask, bool set); |
113 bool hasBreakpoint(Node*, int type); | 113 bool hasBreakpoint(Node*, int type); |
114 void discardBindings(); | |
115 void setBreakpoint(ErrorString*, const String& eventName); | 114 void setBreakpoint(ErrorString*, const String& eventName); |
116 void removeBreakpoint(ErrorString*, const String& eventName); | 115 void removeBreakpoint(ErrorString*, const String& eventName); |
117 | 116 |
118 void clear(); | 117 void clear(); |
119 | 118 |
120 InspectorDOMAgent* m_domAgent; | 119 InspectorDOMAgent* m_domAgent; |
121 InspectorDebuggerAgent* m_debuggerAgent; | 120 InspectorDebuggerAgent* m_debuggerAgent; |
122 HashMap<Node*, uint32_t> m_domBreakpoints; | 121 HashMap<Node*, uint32_t> m_domBreakpoints; |
123 bool m_pauseInNextEventListener; | 122 bool m_pauseInNextEventListener; |
124 }; | 123 }; |
125 | 124 |
126 } // namespace WebCore | 125 } // namespace WebCore |
127 | 126 |
128 | 127 |
129 #endif // !defined(InspectorDOMDebuggerAgent_h) | 128 #endif // !defined(InspectorDOMDebuggerAgent_h) |
OLD | NEW |