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

Side by Side Diff: Source/core/html/parser/XSSAuditor.h

Issue 1291723004: Remove all support for <applet> handling in Chrome. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 5 years, 3 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/html/parser/HTMLTreeBuilder.cpp ('k') | Source/core/html/parser/XSSAuditor.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) 2011 Adam Barth. All Rights Reserved. 2 * Copyright (C) 2011 Adam Barth. 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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 AllowSameOriginHref 90 AllowSameOriginHref
91 }; 91 };
92 92
93 bool filterStartToken(const FilterTokenRequest&); 93 bool filterStartToken(const FilterTokenRequest&);
94 void filterEndToken(const FilterTokenRequest&); 94 void filterEndToken(const FilterTokenRequest&);
95 bool filterCharacterToken(const FilterTokenRequest&); 95 bool filterCharacterToken(const FilterTokenRequest&);
96 bool filterScriptToken(const FilterTokenRequest&); 96 bool filterScriptToken(const FilterTokenRequest&);
97 bool filterObjectToken(const FilterTokenRequest&); 97 bool filterObjectToken(const FilterTokenRequest&);
98 bool filterParamToken(const FilterTokenRequest&); 98 bool filterParamToken(const FilterTokenRequest&);
99 bool filterEmbedToken(const FilterTokenRequest&); 99 bool filterEmbedToken(const FilterTokenRequest&);
100 bool filterAppletToken(const FilterTokenRequest&);
101 bool filterFrameToken(const FilterTokenRequest&); 100 bool filterFrameToken(const FilterTokenRequest&);
102 bool filterMetaToken(const FilterTokenRequest&); 101 bool filterMetaToken(const FilterTokenRequest&);
103 bool filterBaseToken(const FilterTokenRequest&); 102 bool filterBaseToken(const FilterTokenRequest&);
104 bool filterFormToken(const FilterTokenRequest&); 103 bool filterFormToken(const FilterTokenRequest&);
105 bool filterInputToken(const FilterTokenRequest&); 104 bool filterInputToken(const FilterTokenRequest&);
106 bool filterButtonToken(const FilterTokenRequest&); 105 bool filterButtonToken(const FilterTokenRequest&);
107 bool filterLinkToken(const FilterTokenRequest&); 106 bool filterLinkToken(const FilterTokenRequest&);
108 107
109 bool eraseDangerousAttributesIfInjected(const FilterTokenRequest&); 108 bool eraseDangerousAttributesIfInjected(const FilterTokenRequest&);
110 bool eraseAttributeIfInjected(const FilterTokenRequest&, const QualifiedName &, const String& replacementValue = String(), TruncationKind = NormalAttributeTr uncation, HrefRestriction = ProhibitSameOriginHref); 109 bool eraseAttributeIfInjected(const FilterTokenRequest&, const QualifiedName &, const String& replacementValue = String(), TruncationKind = NormalAttributeTr uncation, HrefRestriction = ProhibitSameOriginHref);
(...skipping 21 matching lines...) Expand all
132 131
133 State m_state; 132 State m_state;
134 bool m_scriptTagFoundInRequest; 133 bool m_scriptTagFoundInRequest;
135 unsigned m_scriptTagNestingLevel; 134 unsigned m_scriptTagNestingLevel;
136 WTF::TextEncoding m_encoding; 135 WTF::TextEncoding m_encoding;
137 }; 136 };
138 137
139 } 138 }
140 139
141 #endif 140 #endif
OLDNEW
« no previous file with comments | « Source/core/html/parser/HTMLTreeBuilder.cpp ('k') | Source/core/html/parser/XSSAuditor.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698