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

Side by Side Diff: chrome/common/extensions/api/omnibox.json

Issue 12996003: Dynamically generate a heading for Extension Docs API pages (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Minor changes Created 7 years, 7 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 [ 5 [
6 { 6 {
7 "namespace": "omnibox", 7 "namespace": "omnibox",
8 "description": "The omnibox API allows you to register a keyword with Google Chrome's address bar, which is also known as the omnibox.",
8 "types": [ 9 "types": [
9 { 10 {
10 "id": "SuggestResult", 11 "id": "SuggestResult",
11 "type": "object", 12 "type": "object",
12 "description": "A suggest result.", 13 "description": "A suggest result.",
13 "properties": { 14 "properties": {
14 "content": { 15 "content": {
15 "type": "string", 16 "type": "string",
16 "minLength": 1, 17 "minLength": 1,
17 "description": "The text that is put into the URL bar, and that is s ent to the extension when the user chooses this entry. This field must be blank for $ref:setDefaultSuggestion." 18 "description": "The text that is put into the URL bar, and that is s ent to the extension when the user chooses this entry. This field must be blank for $ref:setDefaultSuggestion."
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 }, 139 },
139 { 140 {
140 "name": "onInputCancelled", 141 "name": "onInputCancelled",
141 "type": "function", 142 "type": "function",
142 "description": "User has ended the keyword input session without accepti ng the input.", 143 "description": "User has ended the keyword input session without accepti ng the input.",
143 "parameters": [] 144 "parameters": []
144 } 145 }
145 ] 146 ]
146 } 147 }
147 ] 148 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698