OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:parserContentPolicy
(Results
1 - 13
of
13
) sorted by null
/external/chromium_org/third_party/WebKit/Source/core/dom/
ParserContentPolicy.h
31
enum
ParserContentPolicy
{
38
static inline bool scriptingContentIsAllowed(
ParserContentPolicy
parserContentPolicy
)
40
return
parserContentPolicy
== AllowScriptingContent ||
parserContentPolicy
== AllowScriptingContentAndDoNotMarkAlreadyStarted;
43
static inline
ParserContentPolicy
disallowScriptingContent(
ParserContentPolicy
parserContentPolicy
)
45
if (!scriptingContentIsAllowed(
parserContentPolicy
))
46
return
parserContentPolicy
;
[
all
...]
ScriptableDocumentParser.cpp
34
ScriptableDocumentParser::ScriptableDocumentParser(Document* document,
ParserContentPolicy
parserContentPolicy
)
37
, m_parserContentPolicy(
parserContentPolicy
)
DocumentFragment.cpp
75
void DocumentFragment::parseHTML(const String& source, Element* contextElement,
ParserContentPolicy
parserContentPolicy
)
77
HTMLDocumentParser::parseDocumentFragment(source, this, contextElement,
parserContentPolicy
);
80
bool DocumentFragment::parseXML(const String& source, Element* contextElement,
ParserContentPolicy
parserContentPolicy
)
82
return XMLDocumentParser::parseDocumentFragment(source, this, contextElement,
parserContentPolicy
);
ScriptableDocumentParser.h
30
#include "core/dom/
ParserContentPolicy
.h"
54
ParserContentPolicy
parserContentPolicy
() { return m_parserContentPolicy; }
57
explicit ScriptableDocumentParser(Document*,
ParserContentPolicy
= AllowScriptingContent);
64
ParserContentPolicy
m_parserContentPolicy;
/external/chromium_org/third_party/WebKit/Source/core/html/parser/
HTMLTreeBuilder.h
56
static PassOwnPtr<HTMLTreeBuilder> create(HTMLDocumentParser* parser, HTMLDocument* document,
ParserContentPolicy
parserContentPolicy
, bool reportErrors, const HTMLParserOptions& options)
58
return adoptPtr(new HTMLTreeBuilder(parser, document,
parserContentPolicy
, reportErrors, options));
60
static PassOwnPtr<HTMLTreeBuilder> create(HTMLDocumentParser* parser, DocumentFragment* fragment, Element* contextElement,
ParserContentPolicy
parserContentPolicy
, const HTMLParserOptions& options)
62
return adoptPtr(new HTMLTreeBuilder(parser, fragment, contextElement,
parserContentPolicy
, options));
118
HTMLTreeBuilder(HTMLDocumentParser*, HTMLDocument*,
ParserContentPolicy
, bool reportErrors, const HTMLParserOptions&);
119
HTMLTreeBuilder(HTMLDocumentParser*, DocumentFragment*, Element* contextElement,
ParserContentPolicy
, const HTMLParserOptions&);
HTMLDocumentParser.h
29
#include "core/dom/
ParserContentPolicy
.h"
79
static void parseDocumentFragment(const String&, DocumentFragment*, Element* contextElement,
ParserContentPolicy
= AllowScriptingContent);
108
HTMLDocumentParser(DocumentFragment*, Element* contextElement,
ParserContentPolicy
);
115
static PassRefPtr<HTMLDocumentParser> create(DocumentFragment* fragment, Element* contextElement,
ParserContentPolicy
parserContentPolicy
)
117
return adoptRef(new HTMLDocumentParser(fragment, contextElement,
parserContentPolicy
));
HTMLDocumentParser.cpp
79
, m_treeBuilder(HTMLTreeBuilder::create(this, document,
parserContentPolicy
(), reportErrors, m_options))
94
HTMLDocumentParser::HTMLDocumentParser(DocumentFragment* fragment, Element* contextElement,
ParserContentPolicy
parserContentPolicy
)
95
: ScriptableDocumentParser(&fragment->document(),
parserContentPolicy
)
99
, m_treeBuilder(HTMLTreeBuilder::create(this, fragment, contextElement, this->
parserContentPolicy
(), m_options))
248
ASSERT(scriptingContentIsAllowed(
parserContentPolicy
()));
[
all
...]
HTMLConstructionSite.cpp
60
static inline void setAttributes(Element* element, AtomicHTMLToken* token,
ParserContentPolicy
parserContentPolicy
)
62
if (!scriptingContentIsAllowed(
parserContentPolicy
))
314
HTMLConstructionSite::HTMLConstructionSite(Document* document,
ParserContentPolicy
parserContentPolicy
)
317
, m_parserContentPolicy(
parserContentPolicy
)
325
HTMLConstructionSite::HTMLConstructionSite(DocumentFragment* fragment,
ParserContentPolicy
parserContentPolicy
)
328
, m_parserContentPolicy(
parserContentPolicy
)
[
all
...]
HTMLConstructionSite.h
30
#include "core/dom/
ParserContentPolicy
.h"
95
HTMLConstructionSite(Document*,
ParserContentPolicy
);
96
HTMLConstructionSite(DocumentFragment*,
ParserContentPolicy
);
184
ParserContentPolicy
parserContentPolicy
() { return m_parserContentPolicy; }
288
ParserContentPolicy
m_parserContentPolicy;
HTMLTreeBuilder.cpp
276
HTMLTreeBuilder::HTMLTreeBuilder(HTMLDocumentParser* parser, HTMLDocument* document,
ParserContentPolicy
parserContentPolicy
, bool, const HTMLParserOptions& options)
281
, m_tree(document,
parserContentPolicy
)
293
HTMLTreeBuilder::HTMLTreeBuilder(HTMLDocumentParser* parser, DocumentFragment* fragment, Element* contextElement,
ParserContentPolicy
parserContentPolicy
, const HTMLParserOptions& options)
299
, m_tree(fragment,
parserContentPolicy
)
805
if (!pluginContentIsAllowed(m_tree.
parserContentPolicy
()))
[
all
...]
/external/chromium_org/third_party/WebKit/Source/core/xml/parser/
XMLDocumentParser.h
28
#include "core/dom/
ParserContentPolicy
.h"
73
static PassRefPtr<XMLDocumentParser> create(DocumentFragment* fragment, Element* element,
ParserContentPolicy
parserContentPolicy
)
75
return adoptRef(new XMLDocumentParser(fragment, element,
parserContentPolicy
));
88
static bool parseDocumentFragment(const String&, DocumentFragment*, Element* parent = 0,
ParserContentPolicy
= AllowScriptingContent);
105
XMLDocumentParser(DocumentFragment*, Element*,
ParserContentPolicy
);
XMLDocumentParser.cpp
497
bool XMLDocumentParser::parseDocumentFragment(const String& chunk, DocumentFragment* fragment, Element* contextElement,
ParserContentPolicy
parserContentPolicy
)
510
RefPtr<XMLDocumentParser> parser = XMLDocumentParser::create(fragment, contextElement,
parserContentPolicy
);
549
static inline void setAttributes(Element* element, Vector<Attribute>& attributeVector,
ParserContentPolicy
parserContentPolicy
)
551
if (!scriptingContentIsAllowed(
parserContentPolicy
))
788
XMLDocumentParser::XMLDocumentParser(DocumentFragment* fragment, Element* parentElement,
ParserContentPolicy
parserContentPolicy
)
789
: ScriptableDocumentParser(&fragment->document(),
parserContentPolicy
)
978
setAttributes(newElement.get(), prefixedAttributes,
parserContentPolicy
());
[
all
...]
/external/chromium_org/third_party/WebKit/Source/core/editing/
markup.cpp
641
PassRefPtr<DocumentFragment> createFragmentFromMarkup(Document& document, const String& markup, const String& baseURL,
ParserContentPolicy
parserContentPolicy
)
647
fragment->parseHTML(markup, fakeBody.get(),
parserContentPolicy
);
695
const String& baseURL,
ParserContentPolicy
parserContentPolicy
)
706
RefPtr<DocumentFragment> taggedFragment = createFragmentFromMarkup(document, taggedMarkup.toString(), baseURL,
parserContentPolicy
);
[
all
...]
Completed in 216 milliseconds