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

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

Issue 14821010: DevTools: Do not unbind stylesheets in multiframe documents (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add test files left behind Created 7 years, 7 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
« no previous file with comments | « Source/core/inspector/InspectorInstrumentation.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 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 25 matching lines...) Expand all
36 namespace InspectorInstrumentation { 36 namespace InspectorInstrumentation {
37 37
38 void didClearWindowObjectInWorldImpl(InstrumentingAgents*, Frame*, DOMWrapperWor ld*); 38 void didClearWindowObjectInWorldImpl(InstrumentingAgents*, Frame*, DOMWrapperWor ld*);
39 void willInsertDOMNodeImpl(InstrumentingAgents*, Node* parent); 39 void willInsertDOMNodeImpl(InstrumentingAgents*, Node* parent);
40 void didInsertDOMNodeImpl(InstrumentingAgents*, Node*); 40 void didInsertDOMNodeImpl(InstrumentingAgents*, Node*);
41 void willModifyDOMAttrImpl(InstrumentingAgents*, Element*, const AtomicString& o ldValue, const AtomicString& newValue); 41 void willModifyDOMAttrImpl(InstrumentingAgents*, Element*, const AtomicString& o ldValue, const AtomicString& newValue);
42 void didModifyDOMAttrImpl(InstrumentingAgents*, Element*, const AtomicString& na me, const AtomicString& value); 42 void didModifyDOMAttrImpl(InstrumentingAgents*, Element*, const AtomicString& na me, const AtomicString& value);
43 void didRemoveDOMAttrImpl(InstrumentingAgents*, Element*, const AtomicString& na me); 43 void didRemoveDOMAttrImpl(InstrumentingAgents*, Element*, const AtomicString& na me);
44 void characterDataModifiedImpl(InstrumentingAgents*, CharacterData*); 44 void characterDataModifiedImpl(InstrumentingAgents*, CharacterData*);
45 void didInvalidateStyleAttrImpl(InstrumentingAgents*, Node*); 45 void didInvalidateStyleAttrImpl(InstrumentingAgents*, Node*);
46 void activeStyleSheetsUpdatedImpl(InstrumentingAgents*, const Vector<RefPtr<Styl eSheet> >&); 46 void activeStyleSheetsUpdatedImpl(InstrumentingAgents*, Document*, const Vector< RefPtr<StyleSheet> >&);
47 void frameWindowDiscardedImpl(InstrumentingAgents*, DOMWindow*); 47 void frameWindowDiscardedImpl(InstrumentingAgents*, DOMWindow*);
48 void mediaQueryResultChangedImpl(InstrumentingAgents*); 48 void mediaQueryResultChangedImpl(InstrumentingAgents*);
49 void didCreateNamedFlowImpl(InstrumentingAgents*, Document*, NamedFlow*); 49 void didCreateNamedFlowImpl(InstrumentingAgents*, Document*, NamedFlow*);
50 void willRemoveNamedFlowImpl(InstrumentingAgents*, Document*, NamedFlow*); 50 void willRemoveNamedFlowImpl(InstrumentingAgents*, Document*, NamedFlow*);
51 void didUpdateRegionLayoutImpl(InstrumentingAgents*, Document*, NamedFlow*); 51 void didUpdateRegionLayoutImpl(InstrumentingAgents*, Document*, NamedFlow*);
52 void willSendXMLHttpRequestImpl(InstrumentingAgents*, const String& url); 52 void willSendXMLHttpRequestImpl(InstrumentingAgents*, const String& url);
53 void didScheduleResourceRequestImpl(InstrumentingAgents*, Document*, const Strin g& url); 53 void didScheduleResourceRequestImpl(InstrumentingAgents*, Document*, const Strin g& url);
54 void didInstallTimerImpl(InstrumentingAgents*, ScriptExecutionContext*, int time rId, int timeout, bool singleShot); 54 void didInstallTimerImpl(InstrumentingAgents*, ScriptExecutionContext*, int time rId, int timeout, bool singleShot);
55 void didRemoveTimerImpl(InstrumentingAgents*, ScriptExecutionContext*, int timer Id); 55 void didRemoveTimerImpl(InstrumentingAgents*, ScriptExecutionContext*, int timer Id);
56 InspectorInstrumentationCookie willCallFunctionImpl(InstrumentingAgents*, Script ExecutionContext*, const String& scriptName, int scriptLine); 56 InspectorInstrumentationCookie willCallFunctionImpl(InstrumentingAgents*, Script ExecutionContext*, const String& scriptName, int scriptLine);
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 { 197 {
198 FAST_RETURN_IF_NO_FRONTENDS(void()); 198 FAST_RETURN_IF_NO_FRONTENDS(void());
199 if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForDocumen t(document)) 199 if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForDocumen t(document))
200 didInvalidateStyleAttrImpl(instrumentingAgents, node); 200 didInvalidateStyleAttrImpl(instrumentingAgents, node);
201 } 201 }
202 202
203 inline void activeStyleSheetsUpdated(Document* document, const Vector<RefPtr<Sty leSheet> >& newSheets) 203 inline void activeStyleSheetsUpdated(Document* document, const Vector<RefPtr<Sty leSheet> >& newSheets)
204 { 204 {
205 FAST_RETURN_IF_NO_FRONTENDS(void()); 205 FAST_RETURN_IF_NO_FRONTENDS(void());
206 if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForDocumen t(document)) 206 if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForDocumen t(document))
207 activeStyleSheetsUpdatedImpl(instrumentingAgents, newSheets); 207 activeStyleSheetsUpdatedImpl(instrumentingAgents, document, newSheets);
208 } 208 }
209 209
210 inline void frameWindowDiscarded(Frame* frame, DOMWindow* domWindow) 210 inline void frameWindowDiscarded(Frame* frame, DOMWindow* domWindow)
211 { 211 {
212 if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForFrame(f rame)) 212 if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForFrame(f rame))
213 frameWindowDiscardedImpl(instrumentingAgents, domWindow); 213 frameWindowDiscardedImpl(instrumentingAgents, domWindow);
214 } 214 }
215 215
216 inline void mediaQueryResultChanged(Document* document) 216 inline void mediaQueryResultChanged(Document* document)
217 { 217 {
(...skipping 660 matching lines...) Expand 10 before | Expand all | Expand 10 after
878 { 878 {
879 if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForPage(pa ge)) 879 if (InstrumentingAgents* instrumentingAgents = instrumentingAgentsForPage(pa ge))
880 pseudoElementDestroyedImpl(instrumentingAgents, pseudoElement); 880 pseudoElementDestroyedImpl(instrumentingAgents, pseudoElement);
881 } 881 }
882 882
883 } // namespace InspectorInstrumentation 883 } // namespace InspectorInstrumentation
884 884
885 } // namespace WebCore 885 } // namespace WebCore
886 886
887 #endif // !defined(InspectorInstrumentation_inl_h) 887 #endif // !defined(InspectorInstrumentation_inl_h)
OLDNEW
« no previous file with comments | « Source/core/inspector/InspectorInstrumentation.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698