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

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

Issue 334713006: Use stricter typing for NodeLists throughout the code base (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 6 years, 6 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/InspectorCSSAgent.h ('k') | Source/core/inspector/InspectorDOMAgent.cpp » ('j') | 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) 2010, Google Inc. All rights reserved. 2 * Copyright (C) 2010, 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 30 matching lines...) Expand all
41 #include "core/css/CSSStyleSheet.h" 41 #include "core/css/CSSStyleSheet.h"
42 #include "core/css/MediaList.h" 42 #include "core/css/MediaList.h"
43 #include "core/css/MediaQuery.h" 43 #include "core/css/MediaQuery.h"
44 #include "core/css/StylePropertySet.h" 44 #include "core/css/StylePropertySet.h"
45 #include "core/css/StyleRule.h" 45 #include "core/css/StyleRule.h"
46 #include "core/css/StyleSheet.h" 46 #include "core/css/StyleSheet.h"
47 #include "core/css/StyleSheetContents.h" 47 #include "core/css/StyleSheetContents.h"
48 #include "core/css/StyleSheetList.h" 48 #include "core/css/StyleSheetList.h"
49 #include "core/css/resolver/StyleResolver.h" 49 #include "core/css/resolver/StyleResolver.h"
50 #include "core/dom/Node.h" 50 #include "core/dom/Node.h"
51 #include "core/dom/NodeList.h"
52 #include "core/fetch/CSSStyleSheetResource.h" 51 #include "core/fetch/CSSStyleSheetResource.h"
53 #include "core/fetch/ResourceClient.h" 52 #include "core/fetch/ResourceClient.h"
54 #include "core/fetch/ResourceFetcher.h" 53 #include "core/fetch/ResourceFetcher.h"
55 #include "core/fetch/StyleSheetResourceClient.h" 54 #include "core/fetch/StyleSheetResourceClient.h"
56 #include "core/frame/LocalFrame.h" 55 #include "core/frame/LocalFrame.h"
57 #include "core/html/HTMLHeadElement.h" 56 #include "core/html/HTMLHeadElement.h"
58 #include "core/inspector/InspectorHistory.h" 57 #include "core/inspector/InspectorHistory.h"
59 #include "core/inspector/InspectorPageAgent.h" 58 #include "core/inspector/InspectorPageAgent.h"
60 #include "core/inspector/InspectorResourceAgent.h" 59 #include "core/inspector/InspectorResourceAgent.h"
61 #include "core/inspector/InspectorState.h" 60 #include "core/inspector/InspectorState.h"
(...skipping 1384 matching lines...) Expand 10 before | Expand all | Expand 10 after
1446 documentsToChange.add(element->ownerDocument()); 1445 documentsToChange.add(element->ownerDocument());
1447 } 1446 }
1448 1447
1449 m_nodeIdToForcedPseudoState.clear(); 1448 m_nodeIdToForcedPseudoState.clear();
1450 for (HashSet<Document*>::iterator it = documentsToChange.begin(), end = docu mentsToChange.end(); it != end; ++it) 1449 for (HashSet<Document*>::iterator it = documentsToChange.begin(), end = docu mentsToChange.end(); it != end; ++it)
1451 (*it)->setNeedsStyleRecalc(SubtreeStyleChange); 1450 (*it)->setNeedsStyleRecalc(SubtreeStyleChange);
1452 } 1451 }
1453 1452
1454 } // namespace WebCore 1453 } // namespace WebCore
1455 1454
OLDNEW
« no previous file with comments | « Source/core/inspector/InspectorCSSAgent.h ('k') | Source/core/inspector/InspectorDOMAgent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698