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 4cdf3fa1da6bb7c55a63b1014a0a1b42bc9dc6f4..c168cc99e9d983703831c4f3fd58573d1bc6e9a8 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. |
@@ -26,6 +26,19 @@ class InsertTextInputFunction : public SyncExtensionFunction { |
virtual bool RunImpl() OVERRIDE; |
}; |
+class DispatchKeyEventFunction : public SyncExtensionFunction { |
+ public: |
+ DECLARE_EXTENSION_FUNCTION( |
+ "experimental.input.virtualKeyboard.dispatchKeyEvent", |
+ EXPERIMENTAL_INPUT_VIRTUALKEYBOARD_DISPATCHKEYEVENT); |
+ |
+ protected: |
+ virtual ~DispatchKeyEventFunction() {} |
+ |
+ // ExtensionFunction: |
+ virtual bool RunImpl() OVERRIDE; |
+}; |
+ |
class InputAPI : public ProfileKeyedAPI { |
public: |
explicit InputAPI(Profile* profile); |