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

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

Issue 401523004: Break on window close when the inspector is open (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: use InspectorTest.startDebuggerTest Created 6 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 /* 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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 void didRemoveTimer(ExecutionContext*, int timerId); 88 void didRemoveTimer(ExecutionContext*, int timerId);
89 void willFireTimer(ExecutionContext*, int timerId); 89 void willFireTimer(ExecutionContext*, int timerId);
90 void didRequestAnimationFrame(Document*, int callbackId); 90 void didRequestAnimationFrame(Document*, int callbackId);
91 void didCancelAnimationFrame(Document*, int callbackId); 91 void didCancelAnimationFrame(Document*, int callbackId);
92 void willFireAnimationFrame(Document*, int callbackId); 92 void willFireAnimationFrame(Document*, int callbackId);
93 void willHandleEvent(EventTarget*, Event*, EventListener*, bool useCapture); 93 void willHandleEvent(EventTarget*, Event*, EventListener*, bool useCapture);
94 void didFireWebGLError(const String& errorName); 94 void didFireWebGLError(const String& errorName);
95 void didFireWebGLWarning(); 95 void didFireWebGLWarning();
96 void didFireWebGLErrorOrWarning(const String& message); 96 void didFireWebGLErrorOrWarning(const String& message);
97 void willExecuteCustomElementCallback(Element*); 97 void willExecuteCustomElementCallback(Element*);
98 void willCloseWindow();
98 99
99 void didProcessTask(); 100 void didProcessTask();
100 101
101 virtual void clearFrontend() OVERRIDE; 102 virtual void clearFrontend() OVERRIDE;
102 virtual void discardAgent() OVERRIDE; 103 virtual void discardAgent() OVERRIDE;
103 104
104 private: 105 private:
105 InspectorDOMDebuggerAgent(InspectorDOMAgent*, InspectorDebuggerAgent*); 106 InspectorDOMDebuggerAgent(InspectorDOMAgent*, InspectorDebuggerAgent*);
106 107
107 void pauseOnNativeEventIfNeeded(PassRefPtr<JSONObject> eventData, bool synch ronous); 108 void pauseOnNativeEventIfNeeded(PassRefPtr<JSONObject> eventData, bool synch ronous);
(...skipping 21 matching lines...) Expand all
129 InspectorDOMAgent* m_domAgent; 130 InspectorDOMAgent* m_domAgent;
130 InspectorDebuggerAgent* m_debuggerAgent; 131 InspectorDebuggerAgent* m_debuggerAgent;
131 HashMap<Node*, uint32_t> m_domBreakpoints; 132 HashMap<Node*, uint32_t> m_domBreakpoints;
132 bool m_pauseInNextEventListener; 133 bool m_pauseInNextEventListener;
133 }; 134 };
134 135
135 } // namespace WebCore 136 } // namespace WebCore
136 137
137 138
138 #endif // !defined(InspectorDOMDebuggerAgent_h) 139 #endif // !defined(InspectorDOMDebuggerAgent_h)
OLDNEW
« no previous file with comments | « Source/core/frame/LocalDOMWindow.cpp ('k') | Source/core/inspector/InspectorDOMDebuggerAgent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698