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

Unified Diff: third_party/chrome/idl/experimental_input_virtual_keyboard.json

Issue 12261015: Import chrome idl into third_party (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 10 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: third_party/chrome/idl/experimental_input_virtual_keyboard.json
diff --git a/third_party/chrome/idl/experimental_input_virtual_keyboard.json b/third_party/chrome/idl/experimental_input_virtual_keyboard.json
new file mode 100644
index 0000000000000000000000000000000000000000..2aea6ca501d2ccb855917ce71e53d0e747247b66
--- /dev/null
+++ b/third_party/chrome/idl/experimental_input_virtual_keyboard.json
@@ -0,0 +1,60 @@
+// Copyright (c) 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.
+
+[
+ {
+ "namespace": "experimental.input.virtualKeyboard",
+ "nodoc": true,
+ "types": [],
+ "functions": [
+ {
+ "name": "sendKeyboardEvent",
+ "type": "function",
+ "description": "Sends a keyboard event to Chrome.",
+ "parameters": [
+ { "type": "object",
+ "name": "event",
+ "properties": {
+ "type": {
+ "type": "string",
+ "description": "One of 'keyup' or 'keydown'."
+ },
+ "keyIdentifier": {
+ "type": "string",
+ "description": "See http://www.w3.org/TR/2003/NOTE-DOM-Level-3-Events-20031107/keyset.html#KeySet-Set"
+ },
+ "altKey": {
+ "type": "boolean",
+ "optional": true,
+ "description": "Whether or not the ALT key is pressed."
+ },
+ "ctrlKey": {
+ "type": "boolean",
+ "optional": true,
+ "description": "Whether or not the CTRL key is pressed."
+ },
+ "metaKey": {
+ "type": "boolean",
+ "optional": true,
+ "description": "Whether or not the META key is pressed."
+ },
+ "shiftKey": {
+ "type": "boolean",
+ "optional": true,
+ "description": "Whether or not the SHIFT key is pressed."
+ }
+ },
+ "description": "The keyboard event to be sent."
+ },
+ { "type": "function",
+ "name": "callback",
+ "optional": true,
+ "description": "This function is called when the event processing is completed.",
+ "parameters": []
+ }
+ ]
+ }
+ ]
+ }
+]
« no previous file with comments | « third_party/chrome/idl/experimental_infobars.json ('k') | third_party/chrome/idl/experimental_media_galleries.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698