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

Unified Diff: Source/core/dom/Document.h

Issue 1155353002: Throw DOMException when invoked Document::execCommand on non-{X,}HTML documents (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: revert accidental edit 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
« no previous file with comments | « LayoutTests/editing/execCommand/non-html-document-expected.txt ('k') | Source/core/dom/Document.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Document.h
diff --git a/Source/core/dom/Document.h b/Source/core/dom/Document.h
index 6ac39d3a5c3f6c87567ba660f75f360767efae1c..246c197cb39f940ee64831e7fae55a7085154939 100644
--- a/Source/core/dom/Document.h
+++ b/Source/core/dom/Document.h
@@ -779,12 +779,12 @@ public:
DocumentMarkerController& markers() const { return *m_markers; }
- bool execCommand(const String& command, bool showUI, const String& value);
- bool queryCommandEnabled(const String& command);
- bool queryCommandIndeterm(const String& command);
- bool queryCommandState(const String& command);
- bool queryCommandSupported(const String& command);
- String queryCommandValue(const String& command);
+ bool execCommand(const String& command, bool showUI, const String& value, ExceptionState&);
+ bool queryCommandEnabled(const String& command, ExceptionState&);
+ bool queryCommandIndeterm(const String& command, ExceptionState&);
+ bool queryCommandState(const String& command, ExceptionState&);
+ bool queryCommandSupported(const String& command, ExceptionState&);
+ String queryCommandValue(const String& command, ExceptionState&);
KURL openSearchDescriptionURL();
« no previous file with comments | « LayoutTests/editing/execCommand/non-html-document-expected.txt ('k') | Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698