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

Unified Diff: third_party/chrome/tools/test/enums.json

Issue 12300042: Update idlsync.py to pull in dependencies required for chrome api generation. (Closed) Base URL: git://github.com/dart-lang/bleeding_edge.git@master
Patch Set: From another checkout 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/tools/test/enums.json
diff --git a/third_party/chrome/tools/test/enums.json b/third_party/chrome/tools/test/enums.json
deleted file mode 100644
index 6769b1965ede902f06403da97f5d4f565ddc7cc1..0000000000000000000000000000000000000000
--- a/third_party/chrome/tools/test/enums.json
+++ /dev/null
@@ -1,212 +0,0 @@
-[
- {
- "namespace": "enums",
- "types": [
- {
- "id": "Enumeration",
- "type": "string",
- "enum": ["one", "two", "three"]
- },
- {
- "id": "EnumType",
- "type": "object",
- "properties": {
- "type": {
- "type": "string",
- "enum": ["one", "two", "three"]
- }
- }
- },
- {
- "id": "HasEnumeration",
- "type": "object",
- "properties": {
- "enumeration": {
- "$ref": "Enumeration"
- },
- "optional_enumeration": {
- "$ref": "Enumeration",
- "optional": true
- }
- }
- },
- {
- "id": "OptionalEnumType",
- "type": "object",
- "properties": {
- "type": {
- "type": "string",
- "enum": ["one", "two", "three"],
- "optional": true
- }
- }
- }
- ],
- "functions": [
- {
- "name": "takesEnum",
- "type": "function",
- "description": "Takes an enum as its parameter.",
- "parameters": [
- {
- "name": "state",
- "type": "string",
- "enum": ["foo", "bar", "baz"]
- },
- {
- "name": "callback",
- "type": "function",
- "parameters": []
- }
- ]
- },
- {
- "name": "takesEnumAsType",
- "type": "function",
- "description": "Takes an enum type as its parameter.",
- "parameters": [
- {
- "name": "enumeration",
- "$ref": "Enumeration"
- },
- {
- "name": "callback",
- "type": "function",
- "parameters": []
- }
- ]
- },
- {
- "name": "returnsEnum",
- "type": "function",
- "description": "Returns an enum through the callback",
- "parameters": [
- {
- "name": "callback",
- "type": "function",
- "parameters": [
- {
- "name": "state",
- "type": "string",
- "enum": ["foo", "bar", "baz"]
- }
- ]
- }
- ]
- },
- {
- "name": "returnsEnumAsType",
- "type": "function",
- "description": "Returns an enum through the callback",
- "parameters": [
- {
- "name": "callback",
- "type": "function",
- "parameters": [
- {
- "name": "enumeration",
- "$ref": "Enumeration"
- }
- ]
- }
- ]
- },
- {
- "name": "returnsTwoEnums",
- "type": "function",
- "description": "Returns two enums through the callback",
- "parameters": [
- {
- "name": "callback",
- "type": "function",
- "parameters": [
- {
- "name": "firstState",
- "type": "string",
- "enum": ["foo", "bar", "baz"]
- },
- {
- "name": "secondState",
- "type": "string",
- "enum": ["spam", "ham", "eggs"]
- }
- ]
- }
- ]
- },
- {
- "name": "takesOptionalEnum",
- "type": "function",
- "description": "Takes an enum as its parameter.",
- "parameters": [
- {
- "name": "state",
- "type": "string",
- "enum": ["foo", "bar", "baz"],
- "optional": true
- },
- {
- "name": "callback",
- "type": "function",
- "parameters": []
- }
- ]
- },
- {
- "name": "takesMultipleOptionalEnums",
- "type": "function",
- "description": "Takes two enums as parameters.",
- "parameters": [
- {
- "name": "state",
- "type": "string",
- "enum": ["foo", "bar", "baz"],
- "optional": true
- },
- {
- "name": "type",
- "type": "string",
- "enum": ["foo", "ding", "dong"],
- "optional": true
- },
- {
- "name": "callback",
- "type": "function",
- "parameters": []
- }
- ]
- }
- ],
- "events": [
- {
- "name": "onEnumFired",
- "type": "function",
- "description": "Fired when an enum is ready.",
- "parameters": [
- {
- "name": "someEnum",
- "type": "string",
- "enum": ["foo", "bar", "baz"]
- }
- ]
- },
- {
- "name": "onTwoEnumsFired",
- "type": "function",
- "description": "Fired when two enums are ready.",
- "parameters": [
- {
- "name": "firstEnum",
- "type": "string",
- "enum": ["foo", "bar", "baz"]
- },
- {
- "name": "secondEnum",
- "type": "string",
- "enum": ["spam", "ham", "eggs"]
- }
- ]
- }
- ]
- }
-]
« no previous file with comments | « third_party/chrome/tools/test/dependency_tester.json ('k') | third_party/chrome/tools/test/font_settings.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698