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

Side by Side Diff: Source/WebCore/inspector/InstrumentingAgents.h

Issue 11366107: Merge 133052 - Web Inspector: frame chooser does not work on subsequent inspector open. (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1312/
Patch Set: Created 8 years, 1 month 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 class InspectorConsoleAgent; 43 class InspectorConsoleAgent;
44 class InspectorDOMAgent; 44 class InspectorDOMAgent;
45 class InspectorDOMDebuggerAgent; 45 class InspectorDOMDebuggerAgent;
46 class InspectorDOMStorageAgent; 46 class InspectorDOMStorageAgent;
47 class InspectorDatabaseAgent; 47 class InspectorDatabaseAgent;
48 class InspectorDebuggerAgent; 48 class InspectorDebuggerAgent;
49 class InspectorFileSystemAgent; 49 class InspectorFileSystemAgent;
50 class InspectorPageAgent; 50 class InspectorPageAgent;
51 class InspectorProfilerAgent; 51 class InspectorProfilerAgent;
52 class InspectorResourceAgent; 52 class InspectorResourceAgent;
53 class InspectorRuntimeAgent;
54 class InspectorTimelineAgent; 53 class InspectorTimelineAgent;
55 class InspectorWorkerAgent; 54 class InspectorWorkerAgent;
56 class Page; 55 class Page;
57 class PageRuntimeAgent; 56 class PageRuntimeAgent;
58 class WorkerContext; 57 class WorkerContext;
58 class WorkerRuntimeAgent;
59 59
60 class InstrumentingAgents { 60 class InstrumentingAgents {
61 WTF_MAKE_NONCOPYABLE(InstrumentingAgents); 61 WTF_MAKE_NONCOPYABLE(InstrumentingAgents);
62 WTF_MAKE_FAST_ALLOCATED; 62 WTF_MAKE_FAST_ALLOCATED;
63 public: 63 public:
64 InstrumentingAgents() 64 InstrumentingAgents()
65 : m_inspectorAgent(0) 65 : m_inspectorAgent(0)
66 , m_inspectorPageAgent(0) 66 , m_inspectorPageAgent(0)
67 , m_inspectorCSSAgent(0) 67 , m_inspectorCSSAgent(0)
68 , m_inspectorConsoleAgent(0) 68 , m_inspectorConsoleAgent(0)
69 , m_inspectorDOMAgent(0) 69 , m_inspectorDOMAgent(0)
70 , m_inspectorResourceAgent(0) 70 , m_inspectorResourceAgent(0)
71 , m_inspectorRuntimeAgent(0)
72 , m_pageRuntimeAgent(0) 71 , m_pageRuntimeAgent(0)
72 , m_workerRuntimeAgent(0)
73 , m_inspectorTimelineAgent(0) 73 , m_inspectorTimelineAgent(0)
74 , m_inspectorDOMStorageAgent(0) 74 , m_inspectorDOMStorageAgent(0)
75 #if ENABLE(SQL_DATABASE) 75 #if ENABLE(SQL_DATABASE)
76 , m_inspectorDatabaseAgent(0) 76 , m_inspectorDatabaseAgent(0)
77 #endif 77 #endif
78 #if ENABLE(FILE_SYSTEM) 78 #if ENABLE(FILE_SYSTEM)
79 , m_inspectorFileSystemAgent(0) 79 , m_inspectorFileSystemAgent(0)
80 #endif 80 #endif
81 , m_inspectorApplicationCacheAgent(0) 81 , m_inspectorApplicationCacheAgent(0)
82 #if ENABLE(JAVASCRIPT_DEBUGGER) 82 #if ENABLE(JAVASCRIPT_DEBUGGER)
(...skipping 19 matching lines...) Expand all
102 102
103 InspectorConsoleAgent* inspectorConsoleAgent() const { return m_inspectorCon soleAgent; } 103 InspectorConsoleAgent* inspectorConsoleAgent() const { return m_inspectorCon soleAgent; }
104 void setInspectorConsoleAgent(InspectorConsoleAgent* agent) { m_inspectorCon soleAgent = agent; } 104 void setInspectorConsoleAgent(InspectorConsoleAgent* agent) { m_inspectorCon soleAgent = agent; }
105 105
106 InspectorDOMAgent* inspectorDOMAgent() const { return m_inspectorDOMAgent; } 106 InspectorDOMAgent* inspectorDOMAgent() const { return m_inspectorDOMAgent; }
107 void setInspectorDOMAgent(InspectorDOMAgent* agent) { m_inspectorDOMAgent = agent; } 107 void setInspectorDOMAgent(InspectorDOMAgent* agent) { m_inspectorDOMAgent = agent; }
108 108
109 InspectorResourceAgent* inspectorResourceAgent() const { return m_inspectorR esourceAgent; } 109 InspectorResourceAgent* inspectorResourceAgent() const { return m_inspectorR esourceAgent; }
110 void setInspectorResourceAgent(InspectorResourceAgent* agent) { m_inspectorR esourceAgent = agent; } 110 void setInspectorResourceAgent(InspectorResourceAgent* agent) { m_inspectorR esourceAgent = agent; }
111 111
112 InspectorRuntimeAgent* inspectorRuntimeAgent() const { return m_inspectorRun timeAgent; }
113 void setInspectorRuntimeAgent(InspectorRuntimeAgent* agent) { m_inspectorRun timeAgent = agent; }
114
115 PageRuntimeAgent* pageRuntimeAgent() const { return m_pageRuntimeAgent; } 112 PageRuntimeAgent* pageRuntimeAgent() const { return m_pageRuntimeAgent; }
116 void setPageRuntimeAgent(PageRuntimeAgent* agent) { m_pageRuntimeAgent = age nt; } 113 void setPageRuntimeAgent(PageRuntimeAgent* agent) { m_pageRuntimeAgent = age nt; }
117 114
115 WorkerRuntimeAgent* workerRuntimeAgent() const { return m_workerRuntimeAgent ; }
116 void setWorkerRuntimeAgent(WorkerRuntimeAgent* agent) { m_workerRuntimeAgent = agent; }
117
118 InspectorTimelineAgent* inspectorTimelineAgent() const { return m_inspectorT imelineAgent; } 118 InspectorTimelineAgent* inspectorTimelineAgent() const { return m_inspectorT imelineAgent; }
119 void setInspectorTimelineAgent(InspectorTimelineAgent* agent) { m_inspectorT imelineAgent = agent; } 119 void setInspectorTimelineAgent(InspectorTimelineAgent* agent) { m_inspectorT imelineAgent = agent; }
120 120
121 InspectorDOMStorageAgent* inspectorDOMStorageAgent() const { return m_inspec torDOMStorageAgent; } 121 InspectorDOMStorageAgent* inspectorDOMStorageAgent() const { return m_inspec torDOMStorageAgent; }
122 void setInspectorDOMStorageAgent(InspectorDOMStorageAgent* agent) { m_inspec torDOMStorageAgent = agent; } 122 void setInspectorDOMStorageAgent(InspectorDOMStorageAgent* agent) { m_inspec torDOMStorageAgent = agent; }
123 123
124 #if ENABLE(SQL_DATABASE) 124 #if ENABLE(SQL_DATABASE)
125 InspectorDatabaseAgent* inspectorDatabaseAgent() const { return m_inspectorD atabaseAgent; } 125 InspectorDatabaseAgent* inspectorDatabaseAgent() const { return m_inspectorD atabaseAgent; }
126 void setInspectorDatabaseAgent(InspectorDatabaseAgent* agent) { m_inspectorD atabaseAgent = agent; } 126 void setInspectorDatabaseAgent(InspectorDatabaseAgent* agent) { m_inspectorD atabaseAgent = agent; }
127 #endif 127 #endif
(...skipping 25 matching lines...) Expand all
153 InspectorCanvasAgent* inspectorCanvasAgent() const { return m_inspectorCanva sAgent; } 153 InspectorCanvasAgent* inspectorCanvasAgent() const { return m_inspectorCanva sAgent; }
154 void setInspectorCanvasAgent(InspectorCanvasAgent* agent) { m_inspectorCanva sAgent = agent; } 154 void setInspectorCanvasAgent(InspectorCanvasAgent* agent) { m_inspectorCanva sAgent = agent; }
155 155
156 private: 156 private:
157 InspectorAgent* m_inspectorAgent; 157 InspectorAgent* m_inspectorAgent;
158 InspectorPageAgent* m_inspectorPageAgent; 158 InspectorPageAgent* m_inspectorPageAgent;
159 InspectorCSSAgent* m_inspectorCSSAgent; 159 InspectorCSSAgent* m_inspectorCSSAgent;
160 InspectorConsoleAgent* m_inspectorConsoleAgent; 160 InspectorConsoleAgent* m_inspectorConsoleAgent;
161 InspectorDOMAgent* m_inspectorDOMAgent; 161 InspectorDOMAgent* m_inspectorDOMAgent;
162 InspectorResourceAgent* m_inspectorResourceAgent; 162 InspectorResourceAgent* m_inspectorResourceAgent;
163 InspectorRuntimeAgent* m_inspectorRuntimeAgent;
164 PageRuntimeAgent* m_pageRuntimeAgent; 163 PageRuntimeAgent* m_pageRuntimeAgent;
164 WorkerRuntimeAgent* m_workerRuntimeAgent;
165 InspectorTimelineAgent* m_inspectorTimelineAgent; 165 InspectorTimelineAgent* m_inspectorTimelineAgent;
166 InspectorDOMStorageAgent* m_inspectorDOMStorageAgent; 166 InspectorDOMStorageAgent* m_inspectorDOMStorageAgent;
167 #if ENABLE(SQL_DATABASE) 167 #if ENABLE(SQL_DATABASE)
168 InspectorDatabaseAgent* m_inspectorDatabaseAgent; 168 InspectorDatabaseAgent* m_inspectorDatabaseAgent;
169 #endif 169 #endif
170 #if ENABLE(FILE_SYSTEM) 170 #if ENABLE(FILE_SYSTEM)
171 InspectorFileSystemAgent* m_inspectorFileSystemAgent; 171 InspectorFileSystemAgent* m_inspectorFileSystemAgent;
172 #endif 172 #endif
173 InspectorApplicationCacheAgent* m_inspectorApplicationCacheAgent; 173 InspectorApplicationCacheAgent* m_inspectorApplicationCacheAgent;
174 #if ENABLE(JAVASCRIPT_DEBUGGER) 174 #if ENABLE(JAVASCRIPT_DEBUGGER)
175 InspectorDebuggerAgent* m_inspectorDebuggerAgent; 175 InspectorDebuggerAgent* m_inspectorDebuggerAgent;
176 InspectorDOMDebuggerAgent* m_inspectorDOMDebuggerAgent; 176 InspectorDOMDebuggerAgent* m_inspectorDOMDebuggerAgent;
177 InspectorProfilerAgent* m_inspectorProfilerAgent; 177 InspectorProfilerAgent* m_inspectorProfilerAgent;
178 #endif 178 #endif
179 #if ENABLE(WORKERS) 179 #if ENABLE(WORKERS)
180 InspectorWorkerAgent* m_inspectorWorkerAgent; 180 InspectorWorkerAgent* m_inspectorWorkerAgent;
181 #endif 181 #endif
182 InspectorCanvasAgent* m_inspectorCanvasAgent; 182 InspectorCanvasAgent* m_inspectorCanvasAgent;
183 }; 183 };
184 184
185 InstrumentingAgents* instrumentationForPage(Page*); 185 InstrumentingAgents* instrumentationForPage(Page*);
186 #if ENABLE(WORKERS) 186 #if ENABLE(WORKERS)
187 InstrumentingAgents* instrumentationForWorkerContext(WorkerContext*); 187 InstrumentingAgents* instrumentationForWorkerContext(WorkerContext*);
188 #endif 188 #endif
189 189
190 } 190 }
191 191
192 #endif // !defined(InstrumentingAgents_h) 192 #endif // !defined(InstrumentingAgents_h)
OLDNEW
« no previous file with comments | « Source/WebCore/inspector/InspectorRuntimeAgent.cpp ('k') | Source/WebCore/inspector/PageRuntimeAgent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698