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

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

Issue 1097693003: queryCommandSupported() should return 'true' for cut/copy/paste editing commands (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 8 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 f3b0e856a0b69830cb25e45ff78ac562b547b03b..21c433b5b1d030183869306d85bcc196753fd944 100644
--- a/Source/core/editing/Editor.h
+++ b/Source/core/editing/Editor.h
@@ -129,7 +129,7 @@ public:
bool execute(const String& parameter = String(), Event* triggeringEvent = nullptr) const;
bool execute(Event* triggeringEvent) const;
- bool isSupported() const;
+ bool isSupported(bool enabled = false) const;
dcheng 2015/04/20 17:09:03 I don't really understand why we added this defaul
Abhijeet Kandalkar Slow 2015/04/21 14:14:33 current implementation of isSupported() check whet
bool isEnabled(Event* triggeringEvent = nullptr) const;
TriState state(Event* triggeringEvent = nullptr) const;
« no previous file with comments | « LayoutTests/editing/execCommand/overtype-support-expected.txt ('k') | Source/core/editing/EditorCommand.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698