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

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

Issue 25447002: Move JSONValues.cpp/.h to Source/platform/ (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 2 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) 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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 #include "core/dom/Document.h" 46 #include "core/dom/Document.h"
47 #include "core/dom/Element.h" 47 #include "core/dom/Element.h"
48 #include "core/dom/Node.h" 48 #include "core/dom/Node.h"
49 #include "core/html/parser/HTMLParserIdioms.h" 49 #include "core/html/parser/HTMLParserIdioms.h"
50 #include "core/inspector/ContentSearchUtils.h" 50 #include "core/inspector/ContentSearchUtils.h"
51 #include "core/inspector/InspectorCSSAgent.h" 51 #include "core/inspector/InspectorCSSAgent.h"
52 #include "core/inspector/InspectorPageAgent.h" 52 #include "core/inspector/InspectorPageAgent.h"
53 #include "core/inspector/InspectorResourceAgent.h" 53 #include "core/inspector/InspectorResourceAgent.h"
54 #include "core/page/Page.h" 54 #include "core/page/Page.h"
55 #include "core/page/PageConsole.h" 55 #include "core/page/PageConsole.h"
56 #include "core/platform/JSONValues.h"
57 #include "core/platform/text/RegularExpression.h" 56 #include "core/platform/text/RegularExpression.h"
57 #include "platform/JSONValues.h"
58 #include "wtf/OwnPtr.h" 58 #include "wtf/OwnPtr.h"
59 #include "wtf/PassOwnPtr.h" 59 #include "wtf/PassOwnPtr.h"
60 #include "wtf/Vector.h" 60 #include "wtf/Vector.h"
61 #include "wtf/text/StringBuilder.h" 61 #include "wtf/text/StringBuilder.h"
62 #include "wtf/text/TextPosition.h" 62 #include "wtf/text/TextPosition.h"
63 63
64 using WebCore::TypeBuilder::Array; 64 using WebCore::TypeBuilder::Array;
65 using WebCore::RuleSourceDataList; 65 using WebCore::RuleSourceDataList;
66 using WebCore::CSSRuleSourceData; 66 using WebCore::CSSRuleSourceData;
67 67
(...skipping 1748 matching lines...) Expand 10 before | Expand all | Expand 10 after
1816 1816
1817 RefPtr<MutableStylePropertySet> tempDeclaration = MutableStylePropertySet::c reate(); 1817 RefPtr<MutableStylePropertySet> tempDeclaration = MutableStylePropertySet::c reate();
1818 RuleSourceDataList ruleSourceDataResult; 1818 RuleSourceDataList ruleSourceDataResult;
1819 StyleSheetHandler handler(m_styleText, &m_element->document(), m_element->do cument().elementSheet()->contents(), &ruleSourceDataResult); 1819 StyleSheetHandler handler(m_styleText, &m_element->document(), m_element->do cument().elementSheet()->contents(), &ruleSourceDataResult);
1820 createCSSParser(&m_element->document())->parseDeclaration(tempDeclaration.ge t(), m_styleText, &handler, m_element->document().elementSheet()->contents()); 1820 createCSSParser(&m_element->document())->parseDeclaration(tempDeclaration.ge t(), m_styleText, &handler, m_element->document().elementSheet()->contents());
1821 return ruleSourceDataResult.first().release(); 1821 return ruleSourceDataResult.first().release();
1822 } 1822 }
1823 1823
1824 } // namespace WebCore 1824 } // namespace WebCore
1825 1825
OLDNEW
« no previous file with comments | « Source/core/inspector/InspectorStyleSheet.h ('k') | Source/core/inspector/InspectorTimelineAgent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698