Index: chrome/renderer/extensions/automation_internal_custom_bindings.h |
diff --git a/chrome/renderer/extensions/automation_internal_custom_bindings.h b/chrome/renderer/extensions/automation_internal_custom_bindings.h |
index ffa7085e3eac934f0b2a9264afce51a55b121286..1bc8a795daa7a631cf7bf71cffbc3134e78c2fb9 100644 |
--- a/chrome/renderer/extensions/automation_internal_custom_bindings.h |
+++ b/chrome/renderer/extensions/automation_internal_custom_bindings.h |
@@ -7,10 +7,16 @@ |
#include "base/compiler_specific.h" |
#include "extensions/renderer/object_backed_native_handler.h" |
+#include "ipc/ipc_message.h" |
+#include "ui/accessibility/ax_tree.h" |
#include "v8/include/v8.h" |
+struct ExtensionMsg_AccessibilityEventParams; |
+ |
namespace extensions { |
+class AutomationMessageFilter; |
+ |
// The native component of custom bindings for the chrome.automationInternal |
// API. |
class AutomationInternalCustomBindings : public ObjectBackedNativeHandler { |
@@ -19,6 +25,8 @@ class AutomationInternalCustomBindings : public ObjectBackedNativeHandler { |
~AutomationInternalCustomBindings() override; |
+ bool OnMessageReceived(const IPC::Message& message); |
+ |
private: |
// Returns whether this extension has the "interact" permission set (either |
// explicitly or implicitly after manifest parsing). |
@@ -28,6 +36,15 @@ class AutomationInternalCustomBindings : public ObjectBackedNativeHandler { |
// chrome.automation namespace. |
void GetSchemaAdditions(const v8::FunctionCallbackInfo<v8::Value>& args); |
+ // Get the routing ID for the extension. |
+ void GetRoutingID(const v8::FunctionCallbackInfo<v8::Value>& args); |
+ |
+ // Handle accessibility events from the browser process. |
+ void OnAccessibilityEvent( |
+ const ExtensionMsg_AccessibilityEventParams& params); |
+ |
+ scoped_refptr<AutomationMessageFilter> message_filter_; |
+ |
DISALLOW_COPY_AND_ASSIGN(AutomationInternalCustomBindings); |
}; |