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

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

Issue 64643009: Remove duplicated headers from core/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 7 years 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) 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 15 matching lines...) Expand all
26 #include "core/inspector/InspectorStyleSheet.h" 26 #include "core/inspector/InspectorStyleSheet.h"
27 27
28 #include "CSSPropertyNames.h" 28 #include "CSSPropertyNames.h"
29 #include "HTMLNames.h" 29 #include "HTMLNames.h"
30 #include "SVGNames.h" 30 #include "SVGNames.h"
31 #include "bindings/v8/ExceptionState.h" 31 #include "bindings/v8/ExceptionState.h"
32 #include "bindings/v8/ExceptionStatePlaceholder.h" 32 #include "bindings/v8/ExceptionStatePlaceholder.h"
33 #include "core/css/CSSKeyframesRule.h" 33 #include "core/css/CSSKeyframesRule.h"
34 #include "core/css/CSSMediaRule.h" 34 #include "core/css/CSSMediaRule.h"
35 #include "core/css/CSSParser.h" 35 #include "core/css/CSSParser.h"
36 #include "core/css/CSSPropertySourceData.h"
37 #include "core/css/CSSRule.h" 36 #include "core/css/CSSRule.h"
38 #include "core/css/CSSRuleList.h" 37 #include "core/css/CSSRuleList.h"
39 #include "core/css/CSSStyleRule.h" 38 #include "core/css/CSSStyleRule.h"
40 #include "core/css/CSSStyleSheet.h" 39 #include "core/css/CSSStyleSheet.h"
41 #include "core/css/CSSSupportsRule.h" 40 #include "core/css/CSSSupportsRule.h"
42 #include "core/css/StylePropertySet.h" 41 #include "core/css/StylePropertySet.h"
43 #include "core/css/StyleRule.h" 42 #include "core/css/StyleRule.h"
44 #include "core/css/StyleSheetContents.h" 43 #include "core/css/StyleSheetContents.h"
45 #include "core/dom/Document.h" 44 #include "core/dom/Document.h"
46 #include "core/dom/Element.h" 45 #include "core/dom/Element.h"
47 #include "core/dom/Node.h" 46 #include "core/dom/Node.h"
48 #include "core/html/parser/HTMLParserIdioms.h" 47 #include "core/html/parser/HTMLParserIdioms.h"
49 #include "core/inspector/ContentSearchUtils.h" 48 #include "core/inspector/ContentSearchUtils.h"
50 #include "core/inspector/InspectorCSSAgent.h" 49 #include "core/inspector/InspectorCSSAgent.h"
51 #include "core/inspector/InspectorPageAgent.h" 50 #include "core/inspector/InspectorPageAgent.h"
52 #include "core/inspector/InspectorResourceAgent.h" 51 #include "core/inspector/InspectorResourceAgent.h"
53 #include "core/page/Page.h" 52 #include "core/page/Page.h"
54 #include "core/page/PageConsole.h" 53 #include "core/page/PageConsole.h"
55 #include "core/platform/text/RegularExpression.h" 54 #include "core/platform/text/RegularExpression.h"
56 #include "platform/JSONValues.h"
57 #include "wtf/OwnPtr.h" 55 #include "wtf/OwnPtr.h"
58 #include "wtf/PassOwnPtr.h" 56 #include "wtf/PassOwnPtr.h"
59 #include "wtf/Vector.h"
60 #include "wtf/text/StringBuilder.h" 57 #include "wtf/text/StringBuilder.h"
61 #include "wtf/text/TextPosition.h" 58 #include "wtf/text/TextPosition.h"
62 59
63 using WebCore::TypeBuilder::Array; 60 using WebCore::TypeBuilder::Array;
64 using WebCore::RuleSourceDataList; 61 using WebCore::RuleSourceDataList;
65 using WebCore::CSSRuleSourceData; 62 using WebCore::CSSRuleSourceData;
66 63
67 class ParsedStyleSheet { 64 class ParsedStyleSheet {
68 WTF_MAKE_FAST_ALLOCATED; 65 WTF_MAKE_FAST_ALLOCATED;
69 public: 66 public:
(...skipping 1736 matching lines...) Expand 10 before | Expand all | Expand 10 after
1806 1803
1807 RefPtr<MutableStylePropertySet> tempDeclaration = MutableStylePropertySet::c reate(); 1804 RefPtr<MutableStylePropertySet> tempDeclaration = MutableStylePropertySet::c reate();
1808 RuleSourceDataList ruleSourceDataResult; 1805 RuleSourceDataList ruleSourceDataResult;
1809 StyleSheetHandler handler(m_styleText, &m_element->document(), m_element->do cument().elementSheet()->contents(), &ruleSourceDataResult); 1806 StyleSheetHandler handler(m_styleText, &m_element->document(), m_element->do cument().elementSheet()->contents(), &ruleSourceDataResult);
1810 createCSSParser(&m_element->document())->parseDeclaration(tempDeclaration.ge t(), m_styleText, &handler, m_element->document().elementSheet()->contents()); 1807 createCSSParser(&m_element->document())->parseDeclaration(tempDeclaration.ge t(), m_styleText, &handler, m_element->document().elementSheet()->contents());
1811 return ruleSourceDataResult.first().release(); 1808 return ruleSourceDataResult.first().release();
1812 } 1809 }
1813 1810
1814 } // namespace WebCore 1811 } // namespace WebCore
1815 1812
OLDNEW
« no previous file with comments | « Source/core/inspector/InspectorResourceAgent.cpp ('k') | Source/core/inspector/InspectorTimelineAgent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698