summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webframe.h
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/glue/webframe.h')
-rw-r--r--webkit/glue/webframe.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/webkit/glue/webframe.h b/webkit/glue/webframe.h
index 60052dc..212bcab 100644
--- a/webkit/glue/webframe.h
+++ b/webkit/glue/webframe.h
@@ -323,6 +323,11 @@ class WebFrame : public base::RefCounted<WebFrame> {
virtual bool ExecuteCoreCommandByName(const std::string& name,
const std::string& value) = 0;
+ // Checks whether a webkit editor command is currently enabled. This
+ // method is exposed in order to implement
+ // javascript:layoutTestController.isCommandEnabled()
+ virtual bool IsCoreCommandEnabled(const std::string& name) = 0;
+
// Adds a message to the frame's console.
virtual void AddMessageToConsole(const std::wstring& msg,
ConsoleMessageLevel level) = 0;