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

Unified Diff: Source/core/editing/Editor.h

Issue 1171223004: Sanitize SVG animation attributes which could set JavaScript URL values. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: Source/core/editing/Editor.h
diff --git a/Source/core/editing/Editor.h b/Source/core/editing/Editor.h
index cf19d07618dc93502659713202a1c39fdc92c860..24b21bd65df42208d27b42bb55fbab0208f7788e 100644
--- a/Source/core/editing/Editor.h
+++ b/Source/core/editing/Editor.h
@@ -42,6 +42,7 @@
namespace blink {
class CompositeEditCommand;
+class DummyPageHolder;
class EditCommandComposition;
class EditorClient;
class EditorInternalCommand;
@@ -279,6 +280,9 @@ private:
SpellChecker& spellChecker() const;
bool handleEditingKeyboardEvent(KeyboardEvent*);
+
+ // contentAfterPastingHTML is a helper function for unit tests.
+ friend String contentAfterPastingHTML(DummyPageHolder*, const char*);
};
inline void Editor::setStartNewKillRingSequence(bool flag)

Powered by Google App Engine
This is Rietveld 408576698