Index: chrome/browser/extensions/api/input/input.h |
diff --git a/chrome/browser/extensions/api/input/input.h b/chrome/browser/extensions/api/input/input.h |
index 7f1a99c8dd4f8e1d70d0da1d2c718b8e226f3bc1..703c34ca8d0c733668e3d30b8f205a5d71dc72fd 100644 |
--- a/chrome/browser/extensions/api/input/input.h |
+++ b/chrome/browser/extensions/api/input/input.h |
@@ -1,4 +1,4 @@ |
-// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
+// Copyright 2012 The Chromium Authors. All rights reserved. |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
@@ -37,6 +37,19 @@ class MoveCursorFunction : public SyncExtensionFunction { |
virtual bool RunImpl() OVERRIDE; |
}; |
+class SendKeyEventFunction : public SyncExtensionFunction { |
+ public: |
+ DECLARE_EXTENSION_FUNCTION( |
+ "virtualKeyboardPrivate.sendKeyEvent", |
+ VIRTUALKEYBOARDPRIVATE_SENDKEYEVENT); |
+ |
+ protected: |
+ virtual ~SendKeyEventFunction() {} |
+ |
+ // ExtensionFunction: |
+ virtual bool RunImpl() OVERRIDE; |
+}; |
+ |
class InputAPI : public ProfileKeyedAPI { |
public: |
explicit InputAPI(Profile* profile); |