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

Side by Side Diff: Source/core/inspector/InspectorInstrumentation.cpp

Issue 14320027: DevTools: Track CSSStyleSheetHeaders in the front-end real time (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Patch for trybots (with [Slow]) Created 7 years, 8 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 | Annotate | Revision Log
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 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 } 223 }
224 224
225 void InspectorInstrumentation::didInvalidateStyleAttrImpl(InstrumentingAgents* i nstrumentingAgents, Node* node) 225 void InspectorInstrumentation::didInvalidateStyleAttrImpl(InstrumentingAgents* i nstrumentingAgents, Node* node)
226 { 226 {
227 if (InspectorDOMAgent* domAgent = instrumentingAgents->inspectorDOMAgent()) 227 if (InspectorDOMAgent* domAgent = instrumentingAgents->inspectorDOMAgent())
228 domAgent->didInvalidateStyleAttr(node); 228 domAgent->didInvalidateStyleAttr(node);
229 if (InspectorDOMDebuggerAgent* domDebuggerAgent = instrumentingAgents->inspe ctorDOMDebuggerAgent()) 229 if (InspectorDOMDebuggerAgent* domDebuggerAgent = instrumentingAgents->inspe ctorDOMDebuggerAgent())
230 domDebuggerAgent->didInvalidateStyleAttr(node); 230 domDebuggerAgent->didInvalidateStyleAttr(node);
231 } 231 }
232 232
233 void InspectorInstrumentation::activeStyleSheetsUpdatedImpl(InstrumentingAgents* instrumentingAgents, const Vector<RefPtr<StyleSheet> >& newSheets)
234 {
235 if (InspectorCSSAgent* cssAgent = instrumentingAgents->inspectorCSSAgent())
236 cssAgent->activeStyleSheetsUpdated(newSheets);
237 }
238
233 void InspectorInstrumentation::frameWindowDiscardedImpl(InstrumentingAgents* ins trumentingAgents, DOMWindow* window) 239 void InspectorInstrumentation::frameWindowDiscardedImpl(InstrumentingAgents* ins trumentingAgents, DOMWindow* window)
234 { 240 {
235 if (InspectorConsoleAgent* consoleAgent = instrumentingAgents->inspectorCons oleAgent()) 241 if (InspectorConsoleAgent* consoleAgent = instrumentingAgents->inspectorCons oleAgent())
236 consoleAgent->frameWindowDiscarded(window); 242 consoleAgent->frameWindowDiscarded(window);
237 } 243 }
238 244
239 void InspectorInstrumentation::mediaQueryResultChangedImpl(InstrumentingAgents* instrumentingAgents) 245 void InspectorInstrumentation::mediaQueryResultChangedImpl(InstrumentingAgents* instrumentingAgents)
240 { 246 {
241 if (InspectorCSSAgent* cssAgent = instrumentingAgents->inspectorCSSAgent()) 247 if (InspectorCSSAgent* cssAgent = instrumentingAgents->inspectorCSSAgent())
242 cssAgent->mediaQueryResultChanged(); 248 cssAgent->mediaQueryResultChanged();
(...skipping 1099 matching lines...) Expand 10 before | Expand all | Expand 10 after
1342 const char BeginFrame[] = "BeginFrame"; 1348 const char BeginFrame[] = "BeginFrame";
1343 }; 1349 };
1344 1350
1345 namespace InstrumentationEventArguments { 1351 namespace InstrumentationEventArguments {
1346 const char LayerId[] = "layerId"; 1352 const char LayerId[] = "layerId";
1347 const char PageId[] = "pageId"; 1353 const char PageId[] = "pageId";
1348 }; 1354 };
1349 1355
1350 } // namespace WebCore 1356 } // namespace WebCore
1351 1357
OLDNEW
« no previous file with comments | « Source/core/inspector/InspectorInstrumentation.h ('k') | Source/core/inspector/InspectorStyleSheet.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698