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

Unified Diff: chrome/common/extensions/docs/server2/test_data/object_level_availability/tabs.py

Issue 354073004: Docserver: Add template support for object level availability (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 6 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: chrome/common/extensions/docs/server2/test_data/object_level_availability/tabs.py
diff --git a/chrome/common/extensions/docs/server2/test_data/object_level_availability/tabs.py b/chrome/common/extensions/docs/server2/test_data/object_level_availability/tabs.py
index 310d6b0d97576ed0182b09e07b4e0b1f65009a5f..158dea71db8c13b6a579a6bb1bbcf542b365299f 100644
--- a/chrome/common/extensions/docs/server2/test_data/object_level_availability/tabs.py
+++ b/chrome/common/extensions/docs/server2/test_data/object_level_availability/tabs.py
@@ -13,7 +13,8 @@ TABS_SCHEMA_BRANCHES = MoveAllTo(CHROME_EXTENSIONS, {
'docs': {
'templates': {
'json': {
- 'api_availabilities.json': '{}'
+ 'api_availabilities.json': '{}',
+ 'intro_tables.json': '{}'
}
}
},
@@ -26,27 +27,56 @@ TABS_SCHEMA_BRANCHES = MoveAllTo(CHROME_EXTENSIONS, {
'types': [
{
'id': 'Tab',
+ 'type': 'any',
'properties': {
- 'url': {},
- 'index': {},
- 'selected': {},
- 'id': {},
- 'windowId': {}
+ 'url': {
+ 'type': 'any'
+ },
+ 'index': {
+ 'type': 'any'
+ },
+ 'selected': {
+ 'type': 'any'
+ },
+ 'id': {
+ 'type': 'any'
+ },
+ 'windowId': {
+ 'type': 'any'
+ }
}
},
{
+ 'id': 'InlinedType',
+ 'type': 'any',
+ 'inline_doc': True
+ },
+ {
'id': 'InjectDetails',
+ 'type': 'any',
'properties': {
- 'allFrames': {},
- 'code': {},
- 'file': {}
+ 'allFrames': {
+ 'type': 'any'
+ },
+ 'code': {
+ 'type': 'any'
+ },
+ 'file': {
+ 'type':'any'
+ }
}
}
],
'properties': {
- 'fakeTabsProperty1': {},
- 'fakeTabsProperty2': {},
- 'fakeTabsProperty3': {}
+ 'fakeTabsProperty1': {
+ 'type': 'any'
+ },
+ 'fakeTabsProperty2': {
+ 'type': 'any'
+ },
+ 'fakeTabsProperty3': {
+ 'type': 'any'
+ }
},
'functions': [
{
@@ -54,9 +84,11 @@ TABS_SCHEMA_BRANCHES = MoveAllTo(CHROME_EXTENSIONS, {
'parameters': [
{
'name': 'callback',
+ 'type': 'function',
'parameters': [
{
- 'name': 'tab'
+ 'name': 'tab',
+ 'type': 'any'
}
]
}
@@ -67,14 +99,17 @@ TABS_SCHEMA_BRANCHES = MoveAllTo(CHROME_EXTENSIONS, {
'parameters': [
{
'name': 'callback',
+ 'type': 'function',
'parameters': [
{
- 'name': 'tab'
+ 'name': 'tab',
+ 'type': 'any'
}
]
},
{
- 'name': 'tabId'
+ 'name': 'tabId',
+ 'type': 'any'
}
]
}
@@ -82,30 +117,44 @@ TABS_SCHEMA_BRANCHES = MoveAllTo(CHROME_EXTENSIONS, {
'events': [
{
'name': 'onActivated',
+ 'type': 'event',
'parameters': [
{
'name': 'activeInfo',
+ 'type': 'any',
'properties': {
- 'tabId': {},
- 'windowId': {}
+ 'tabId': {
+ 'type': 'any'
+ },
+ 'windowId': {
+ 'type': 'any'
+ }
}
}
]
},
{
'name': 'onUpdated',
+ 'type': 'event',
'parameters': [
{
- 'name': 'tabId'
+ 'name': 'tabId',
+ 'type': 'any'
},
{
- 'name': 'tab'
+ 'name': 'tab',
+ 'type': 'any'
},
{
'name': 'changeInfo',
+ 'type': 'any',
'properties': {
- 'pinned': {},
- 'status': {}
+ 'pinned': {
+ 'type': 'any'
+ },
+ 'status': {
+ 'type': 'any'
+ }
}
}
]
« no previous file with comments | « chrome/common/extensions/docs/server2/schema_util.py ('k') | chrome/common/extensions/docs/static/css/out/site.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698