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

Side by Side Diff: Source/core/dom/ScriptElement.h

Issue 22887044: [oilpan] Make the oilpan branch build on Mac. (Closed) Base URL: svn://svn.chromium.org/blink/branches/oilpan
Patch Set: Add FIXME. Created 7 years, 4 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/dom/NodeRenderingTraversal.h ('k') | Source/core/dom/TextEvent.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) 2008 Nikolas Zimmermann <zimmermann@kde.org> 2 * Copyright (C) 2008 Nikolas Zimmermann <zimmermann@kde.org>
3 * 3 *
4 * This library is free software; you can redistribute it and/or 4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public 5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either 6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version. 7 * version 2 of the License, or (at your option) any later version.
8 * 8 *
9 * This library is distributed in the hope that it will be useful, 9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 17 matching lines...) Expand all
28 28
29 namespace WebCore { 29 namespace WebCore {
30 30
31 class CachedScript; 31 class CachedScript;
32 class ContainerNode; 32 class ContainerNode;
33 class Element; 33 class Element;
34 class ScriptElement; 34 class ScriptElement;
35 class ScriptSourceCode; 35 class ScriptSourceCode;
36 36
37 class ScriptElement : private CachedResourceClient { 37 class ScriptElement : private CachedResourceClient {
38 WTF_MAKE_FAST_ALLOCATED;
39 public: 38 public:
40 ScriptElement(Element*, bool createdByParser, bool isEvaluated); 39 ScriptElement(Element*, bool createdByParser, bool isEvaluated);
41 virtual ~ScriptElement(); 40 virtual ~ScriptElement();
42 41
43 Element* element() const { return m_element; } 42 Element* element() const { return m_element; }
44 43
45 enum LegacyTypeSupport { DisallowLegacyTypeInTypeAttribute, AllowLegacyTypeI nTypeAttribute }; 44 enum LegacyTypeSupport { DisallowLegacyTypeInTypeAttribute, AllowLegacyTypeI nTypeAttribute };
46 bool prepareScript(const TextPosition& scriptStartPosition = TextPosition::m inimumPosition(), LegacyTypeSupport = DisallowLegacyTypeInTypeAttribute); 45 bool prepareScript(const TextPosition& scriptStartPosition = TextPosition::m inimumPosition(), LegacyTypeSupport = DisallowLegacyTypeInTypeAttribute);
47 46
48 String scriptCharset() const { return m_characterEncoding; } 47 String scriptCharset() const { return m_characterEncoding; }
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 bool m_requestUsesAccessControl : 1; 106 bool m_requestUsesAccessControl : 1;
108 String m_characterEncoding; 107 String m_characterEncoding;
109 String m_fallbackCharacterEncoding; 108 String m_fallbackCharacterEncoding;
110 }; 109 };
111 110
112 ScriptElement* toScriptElementIfPossible(Element*); 111 ScriptElement* toScriptElementIfPossible(Element*);
113 112
114 } 113 }
115 114
116 #endif 115 #endif
OLDNEW
« no previous file with comments | « Source/core/dom/NodeRenderingTraversal.h ('k') | Source/core/dom/TextEvent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698